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

   Á¶È¸ 2993   Ãßõ 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 605/5677
2015-12   1474210   ¹é¸Þ°¡
2014-05   4937234   Á¤ÀºÁØ1
2021-11   1784   inquisitive
2021-11   3022   python
2021-11   1771   ¿å½ÉÀïe
2021-11   1946   Çã¼¼
2021-11   2388   audacity
2021-11   1831   cho609495
2021-11   1830   audacity
2021-11   2072   ¿ì¹¶
2021-11   1691   ¹Ú¹®Çü
2021-11   2218   startserver
2021-11   2001   ´ÙÀ̾îÆ®Áß
2021-11   1978   ³×ÀÌÃÄ
2021-11   2531   audacity
2021-11   3113   °­Ã¢È£
2021-11   3074   pluser
2021-11   1858   ³ª¿ä
2021-11   5523   ¹«¾Æ
2021-11   2570   ´©ºñ³²
2021-11   2309   ¹ÎÁöÆÄÆÄ
2021-11   1782   Psychophysi¡¦