Re: [PATCH] blk-mq: Improvements to the hybrid polling sleep time calculation

2017-08-29 Thread Stephen Bates
>> From: Stephen Bates >> >> Hybrid polling currently uses half the average completion time as an >> estimate of how long to poll for. We can improve upon this by noting >> that polling before the minimum completion time makes no sense. Add a >> sysfs entry to use this fact to improve CPU utiliza

Re: [PATCH] blk-mq: Improvements to the hybrid polling sleep time calculation

2017-08-22 Thread Jens Axboe
On 08/21/2017 08:35 AM, sba...@raithlin.com wrote: > From: Stephen Bates > > Hybrid polling currently uses half the average completion time as an > estimate of how long to poll for. We can improve upon this by noting > that polling before the minimum completion time makes no sense. Add a > sysfs

[PATCH] blk-mq: Improvements to the hybrid polling sleep time calculation

2017-08-21 Thread sbates
From: Stephen Bates Hybrid polling currently uses half the average completion time as an estimate of how long to poll for. We can improve upon this by noting that polling before the minimum completion time makes no sense. Add a sysfs entry to use this fact to improve CPU utilization in certain ca