2016-09-25 6 views
0

Ich verwende fio für Speicher-Benchmarking und fio2gnuplot zum Zeichnen von Graphen, jedes Mal, wenn ich einen Test durchführe und Logfiles von iops untersuche, ist zweite Spalte immer 1, was iops-Wert ist und aufgrund dieser Graphen nur eine gerade Linie senkrecht zu Y ist Achse. Was macht keinen Sinn. Ich habe verschiedene iodepths, ioengines ausprobiert aber keine Verwendung.am verwende ich irgendwelche Parameter (Optionen) falsch?wie fio iops logfiles interpretiert werden?

Folgendes ist mein Jobfile.

[global] 

enter code here 

rw=randwrite 
size=128m 
thread=1 
iodepth=2 
ioengine=libaio 
per_job_logs=0 
directory=/home/fio 



[job_512] 
write_bw_log=logfiles_libaio/fio-test_512 
write_iops_log=logfiles_libaio/fio-test_512 
write_lat_log=logfiles_libaio/fio-test_512 
bs=512b 

und das ist das Logfile

1, 1, 0, 512 
2, 1, 1, 512 
18, 1, 1, 512 
19, 1, 0, 512 
31, 1, 1, 512 
53, 1, 1, 512 
55, 1, 1, 512 
56, 1, 0, 512 
59, 1, 1, 512 
63, 1, 1, 512 

Antwort

1

Nach fio Handbuch (Mann FIO), unter "FIO Dateiformate", heißt es:

Fio supports a variety of log file formats, for logging latencies, bandwidth, and IOPS. The logs 
    share a common format, which looks like this: 

    time (msec), value, data direction, offset 

    Time for the log entry is always in milliseconds. The value logged depends on the type of log, it 
    will be one of the following: 


    Latency log 
      Value is in latency in usecs 
    Bandwidth log 
      Value is in KB/sec 
    IOPS log 
      Value is in IOPS 

    Data direction is one of the following: 


    0  IO is a READ 
    1  IO is a WRITE 
    2  IO is a TRIM 

Aber ich denke, das 'Offset' sollte 'IO-Größe' sein.

Also, in Ihrer Bandbreite Fall, es ist:

timestamp(ms), bandwidth(KB/sec), R/W, size 
Verwandte Themen