Understanding cpu% in fio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

  Could you kindly help me understand the cpu% reported in FIO output.

  I'm using a dat file with the following global parameters.

[global]
buffered=1
bs=128k
iodepth=16
numjobs=1
group_reporting=1
size=2000m
rw=read
runtime=180
time_based

  and in the result I get something like this

  cpu          : usr=0.08%, sys=98.63%, ctx=46607, majf=0, minf=768

  and I monitor the system level utilization using vmstat and they
point to different values ( lesser values).

  Looking at the code I see that fio does cpu% as cpu_time( from
rusage) / total elapsed time. In the above case I have 128 jobfiles
running. Does fio add the cpu_time of all threads and then divide by
elapsed time ( ~180s) ? Kindly correct me if I'm wrong.

Thanks.

~Puvi
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux