Re: [PATCH v2 3/3] loop: Add the default_queue_depth kernel module parameter

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

 






On 8/3/2021 11:07 PM, Greg KH wrote:
On Tue, Aug 03, 2021 at 11:23:04AM -0700, Bart Van Assche wrote:
Recent versions of Android use the zram driver on top of the loop driver.
There is a mismatch between the default loop driver queue depth (128) and
the queue depth of the storage device in my test setup (32). That mismatch
results in write latencies that are higher than necessary. Address this
issue by making the default loop driver queue depth configurable. Compared
to configuring the queue depth by writing into the nr_requests sysfs
attribute, this approach does not involve calling synchronize_rcu() to
modify the queue depth.

Reviewed-by: Ming Lei<ming.lei@xxxxxxxxxx>
Cc: Tetsuo Handa<penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Cc: Christoph Hellwig<hch@xxxxxx>
Cc: Martijn Coenen<maco@xxxxxxxxxxx>
Cc: Jaegeuk Kim<jaegeuk@xxxxxxxxxx>
Signed-off-by: Bart Van Assche<bvanassche@xxxxxxx>

If I remember correct I've sent patch based on the similar concept that is not entirely different than this one.


--
-ck



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux