[스토리지] bonnie++ - 리눅스 스토리지 성능 측정 툴
안녕하세요.
리눅스에서 스토리지 I/O (파일 I/O) 성능을 측정할 수 있는 툴 중 하나인 bonnie++를 소개합니다.
bonnie++은 다수의 파일/디렉토리를 생성하여 I/O 성능을 측정할 수 있는 툴 입니다.
1. 설치
(출처 - https://linoxide.com/file-system/install-test-filesystem-performance-bonnie)
(1) apt-get 으로 설치 (Ubuntu, 데비안 등)
# apt-get install bonnie++
(2) 소스 컴파일하여 설치 (레드햇, 페도라 등)
# wget http://www.coker.com.au/bonnie++/bonnie++-1.03e.tgz
# tar zxvf bonnie++-1.03e.tgz
# cd bonnie++-1.03e.tgz
# ./configure
# make
# make install
2. 사용법
(1) Usage
bonnie++ [-d scratch-dir] [-c concurrency] [-s size(MiB)[:chunk-size(b)]]
[-n number-to-stat[:max-size[:min-size][:num-directories[:chunk-size]]]]
[-m machine-name] [-r ram-size-in-MiB]
[-x number-of-tests] [-u uid-to-use:gid-to-use] [-g gid-to-use]
[-q] [-f] [-b] [-p processes | -y] [-z seed | -Z random-file]
[-D]