CentOS iozone »ç¿ë¹æ¹ý Áú¹® µå¸³´Ï´Ù.

   Á¶È¸ 2997   Ãßõ 0    

 안녕하세요.

CentOS 7.X 버전 사용 중 입니다.

iozone 이용해서, 스토리지에서 할당받은 볼륨에 대해 I/O 성능 테스트를 진행하려 합니다.

내장 디스크가 아닌 스토리지에서 할당받은 볼륨 성능을 테스트 하려고 하는데, 어떤 방식으로 진행해야 내장디스크가 아닌

스토리지 볼륨 성능을 볼 수 있을까요?

할당받은 볼륨으로 LVM 구성해서, 해당 LVM으로 특정 디렉토리 마운트 시킨 후 그 디렉토리에 결과 파일을 떨구게 하면 스토리지 볼륨 성능이 체크되는건가요? 그리고, file_list 안에 임의로 정의한 테스트 파일들은 성능 체크 후 자동으로 삭제가 되는건가요?

제가 사용한 명령어는 아래와 같습니다. 

# iozone -R -r 8k -t 24 -s 512m –i 0 –i 2 -b 결과파일.xls -F `cat file_list`


답변 부탁 드립니다.


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
Âü°íÇϼ¼¿ä..

# /opt/iozone/bin/iozone -r 4k -s 1g -i 0 -i 1 -i 2 -t 4 -F /home/test1 /home/test2 /home/test3 /home/test4

<Options>
-r #  record size in Kb
-s #  file size in Kb
        or -s #k .. size in Kb
        or -s #m .. size in Mb
        or -s #g .. size in Gb
-i #  Test to run (0=write/rewrite, 1=read/re-read, 2=random-read/write
                3=Read-backwards, 4=Re-write-record, 5=stride-read, 6=fwrite/re-fwrite
                7=fread/Re-fread, 8=random_mix, 9=pwrite/Re-pwrite, 10=pread/Re-pread
                11=pwritev/Re-pwritev, 12=preadv/Re-preadv)
-t #  Number of threads or processes to use in throughput test
-F  filenames  for each process/thread in throughput test


<Test>
[root@localhost ~]# /opt/iozone/bin/iozone -r 4k -s 1g -i 0 -i 1 -i 2 -t 4 -F /home/test1 /home/test2 /home/test3 /home/test4 |tee -a /root/iozone_results.csv
        Iozone: Performance Test of File I/O
                Version $Revision: 3.392 $
                Compiled for 32 bit mode.
                Build: linux

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                    Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                    Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                    Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                    Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                    Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                    Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer.
                    Ben England.

        Run began: Fri May 13 19:43:37 2011

        Record Size 4 KB
        File size set to 1048576 KB
        Command line used: /opt/iozone/bin/iozone -r 4k -s 1g -i 0 -i 1 -i 2 -t 4 -F /home/test1 /home/test2 /home/test3 /home/test4
        Output is in Kbytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 Kbytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
        Throughput test with 4 processes
        Each process writes a 1048576 Kbyte file in 4 Kbyte records

        Children see throughput for  4 initial writers  =  771805.56 KB/sec
        Parent sees throughput for  4 initial writers  =  107574.88 KB/sec
        Min throughput per process                      =  190875.83 KB/sec
        Max throughput per process                      =  195267.73 KB/sec
        Avg throughput per process                      =  192951.39 KB/sec
        Min xfer                                        = 1025000.00 KB

        Children see throughput for  4 rewriters        = 3391796.25 KB/sec
        Parent sees throughput for  4 rewriters        =  96797.89 KB/sec
        Min throughput per process                      =  822673.38 KB/sec
        Max throughput per process                      =  877410.69 KB/sec
        Avg throughput per process                      =  847949.06 KB/sec
        Min xfer                                        =  982416.00 KB

        Children see throughput for  4 readers          = 9511954.75 KB/sec
        Parent sees throughput for  4 readers          = 9368402.40 KB/sec
        Min throughput per process                      = 2354177.50 KB/sec
        Max throughput per process                      = 2391132.25 KB/sec
        Avg throughput per process                      = 2377988.69 KB/sec
        Min xfer                                        = 1032408.00 KB

        Children see throughput for 4 re-readers        = 8499812.38 KB/sec
        Parent sees throughput for 4 re-readers        = 8407168.03 KB/sec
        Min throughput per process                      = 2058757.38 KB/sec
        Max throughput per process                      = 2208727.75 KB/sec
        Avg throughput per process                      = 2124953.09 KB/sec
        Min xfer                                        =  977360.00 KB

        Children see throughput for 4 random readers    = 6872505.62 KB/sec
        Parent sees throughput for 4 random readers    = 6819204.89 KB/sec
        Min throughput per process                      = 1676897.25 KB/sec
        Max throughput per process                      = 1746703.88 KB/sec
        Avg throughput per process                      = 1718126.41 KB/sec
        Min xfer                                        = 1008352.00 KB

        Children see throughput for 4 random writers    = 3327669.69 KB/sec
        Parent sees throughput for 4 random writers    =  12103.21 KB/sec
        Min throughput per process                      =  785086.81 KB/sec
        Max throughput per process                      =  865329.56 KB/sec
        Avg throughput per process                      =  831917.42 KB/sec
        Min xfer                                        =  951340.00 KB



iozone test complete.


** csv ÆÄÀÏ·Î ÀúÀåÇÏ·Á¸é...
# /opt/iozone/bin/iozone ~~~~~ | tee -a /tmp/iozone_results.csv
     
±¸½ÊÆò 2021-07
´äº¯ °¨»çÇÕ´Ï´Ù. Ȥ½Ã ±×·³ -F ¿É¼Ç µÚ¿¡ ¿À´Â Å×½ºÆ® ÆÄÀÏ °æ·Î¸¦ ½ºÅ丮Áö º¼·ýÀ¸·Î ÇÒ´ç¹ÞÀº ÆÄÀϽýºÅÛ °æ·Î·Î Àâ¾ÆÁÖ¸é, ½ºÅ丮Áö º¼·ýÀÌ Å×½ºÆ® µÇ´Â°É±î¿ä?


QnA
Á¦¸ñPage 684/5678
2015-12   1477309   ¹é¸Þ°¡
2014-05   4940428   Á¤ÀºÁØ1
2003-08   9685   ¾ç½Âö
2011-07   9684   ¹Î¼ºÀÏ
2010-08   9684   ¾Æ¸§´Ù¿î³ëÀ»
2003-09   9683   ±èÁ¤°­
2004-01   9683   ÃÖ¾ÈÁø
2003-04   9683   ¼Û»óº´
2003-07   9682   Çö±âȯ
2009-11   9682   ¹®º´Ã¤
2009-05   9682   ±Ù¼º°¡ÀÌ
2003-04   9682   ±èöÁø
2010-02   9682   Lute
2004-01   9681   À̼ö¹Î
2004-12   9681   ±è±¤ÁÖ
2003-11   9680   ±è±â¹ü(dc3v)
2002-12   9680   À¯¿µ±Ù
2017-02   9680   ¸Å¾²TM
2004-02   9679   Â÷Æò¼®
2003-12   9679   ÃÖâÇö
2015-06   9679   ¹«¾Æ
2003-12   9679   ±è±¤Áß