Re: Formats for log files

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

 



On 2012-02-20 19:57, Jens Axboe wrote:
> On 2012-02-20 18:17, Bill Hooper (whooper) wrote:
>>> -----Original Message-----
>>> From: fio-owner@xxxxxxxxxxxxxxx [mailto:fio-owner@xxxxxxxxxxxxxxx] On
>>> Behalf Of Jens Axboe
>>> Sent: Monday, February 20, 2012 1:08 AM
>>> To: Josh Carter
>>> Cc: fio@xxxxxxxxxxxxxxx; Bill Hooper (whooper)
>>> Subject: Re: Formats for log files
>>>
>>> On 02/16/2012 08:46 PM, Josh Carter wrote:
>>>> Hi Bill,
>>>>
>>>> Looking at the code, I believe you're correct, the bandwidth logging
>>>> for mixed loads isn't right. While read and write logs are kept
>>>> separate, only one direction's log will get flushed on each interval.
>>>> Instead, fio should flush both directions.
>>>>
>>>> I'm attaching a patch. Jens: could you take a look at this? I've
>>>> tested both mixed and single-direction workloads, seems to work fine.
>>>
>>> Patch looks good, applied. Thanks!
>>>
>>> --
>>> Jens Axboe
>>>
>>> --
>>> 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
>>
>> I did test the patch from Josh and it appears to work correctly. I
>> noticed that the issue also exists in the iops and latency logging. I
>> was able to use the code Josh provided to correct the iops logging. I
>> did not spend any time attempting to correct the latency logging
>> issue, although I suspect the fix is similar to the others. Could
>> someone take a deeper look into this?
> 
> Can you send what you have? I can fix up the rest.

I committed a fix for the IOPS logging. The latency logging is per-IO,
so it should work fine as-is.

-- 
Jens Axboe

--
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