Re: what is the unit for usr_cpu and sys_cpu in fio3.16? Inbox x

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

 



Hi,

Thanks for the quick response.

In the trial run where I got values "sys_cpu": 1.560156 and "usr_cpu":
0.420997, the total run time was 10mins, so does it mean that fio used
about ~2% CPU (or 12 seconds) - user and system combined?

Is it 2% of one single Core? Or 2% of all the CPU available?

Regards,
Shridhar


On Fri, 10 Apr 2020 at 00:27, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
>
> Hi,
>
> On Fri, 10 Apr 2020 at 04:34, Shridhar Sahukar
> <shridhar.sahukar2@xxxxxxxxx> wrote:
> >
> > Hello,
> >
> > I have a bunch of benchmark results from fio-3.16 in json format and I
> > am unable to find the units for sys_cpu and usr_cpu fields.
> >
> > For example, the output shows
> >
> > "sys_cpu": 1.560156
> > "usr_cpu": 0.420997
> >
> > Is this in seconds?
>
> No it should be a percentage (of the total run time). From
> https://github.com/axboe/fio/blob/839f607b5771081e96942977a1ff9f1b24b77bca/stat.c#L1089
> :
>
> usr_cpu = (double) ts->usr_time * 100 / runt;
>
> --
> Sitsofe | http://sucs.org/~sits/



[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