Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-07 Thread Jens Axboe
On 12/7/22 6:09 AM, Yu Kuai wrote: > Hi, > > 在 2022/12/07 11:15, Ming Lei 写道: >> On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: >>> Hi, >>> >>> 在 2022/12/07 2:15, Gulam Mohamed 写道: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to

Re: [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-07 Thread Jens Axboe
On 12/6/22 11:15?AM, Gulam Mohamed wrote: > Use ktime to change the granularity of IO accounting in block layer from > milli-seconds to nano-seconds to get the proper latency values for the > devices whose latency is in micro-seconds. After changing the granularity > to nano-seconds the iostat

Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-07 Thread Yu Kuai
Hi, 在 2022/12/07 11:15, Ming Lei 写道: On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: Hi, 在 2022/12/07 2:15, Gulam Mohamed 写道: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to nano-seconds to get the proper latency values for the devices whose

Re: [dm-devel] [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-06 Thread Ming Lei
On Wed, Dec 07, 2022 at 10:19:08AM +0800, Yu Kuai wrote: > Hi, > > 在 2022/12/07 2:15, Gulam Mohamed 写道: > > Use ktime to change the granularity of IO accounting in block layer from > > milli-seconds to nano-seconds to get the proper latency values for the > > devices whose latency is in

Re: [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-06 Thread Yu Kuai
Hi, 在 2022/12/07 2:15, Gulam Mohamed 写道: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to nano-seconds to get the proper latency values for the devices whose latency is in micro-seconds. After changing the granularity to nano-seconds the iostat command,

Re: [RFC] block: Change the granularity of io ticks from ms to ns

2022-12-06 Thread Paul Menzel
Dear Gulam, Thank you for the patch. Am 06.12.22 um 19:15 schrieb Gulam Mohamed: Use ktime to change the granularity of IO accounting in block layer from milli-seconds to nano-seconds to get the proper latency values for the devices whose latency is in micro-seconds. After changing the

[RFC] block: Change the granularity of io ticks from ms to ns

2022-12-06 Thread Gulam Mohamed
Use ktime to change the granularity of IO accounting in block layer from milli-seconds to nano-seconds to get the proper latency values for the devices whose latency is in micro-seconds. After changing the granularity to nano-seconds the iostat command, which was showing incorrect values for