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

   Á¶È¸ 3040   Ãßõ 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 692/5686
2015-12   1507654   ¹é¸Þ°¡
2014-05   4971369   Á¤ÀºÁØ1
2015-03   5814   °Ü¿ï³ª¹«
2017-05   4235   SF¸Í±¸
2019-10   3489   gowork
2007-11   5265   ÀÌÁ¾¿ø
2015-03   3726   ¼Ò³â½Ã´ë
2018-08   3883   ÇູÇϼ¼
2007-11   5138   ÃÖ¿ø½Ä
2016-06   6360   ȸ·ÎÀïÀÌ
2016-06   4431   audacity
2019-10   2785   ºñ´©±Í½Å
2022-07   2233   ¼ÛÁøÇö
2022-08   1758   ¹é·æ
03-19   1372   ÇϴóʸÓ
2011-06   9343   ½ºÄ«ÀÌ
2005-03   6591   ½Å±âÁ¤
2007-12   5343   ¹®°æÀ±
2011-06   5436   ±è°Ç¿ì
2017-05   4667   Â÷Æò¼®
2015-04   7980   hsj6024
2018-08   4937   ÅëÅë9