Re: [PATCH v2 2/3] loop: Select I/O scheduler 'none' from inside add_disk()

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

 



On 8/3/21 10:35 PM, Christoph Hellwig wrote:
On Tue, Aug 03, 2021 at 11:23:03AM -0700, Bart Van Assche wrote:
We noticed that the user interface of Android devices becomes very slow
under memory pressure. This is because Android uses the zram driver on top
of the loop driver for swapping,

Sorry, but that is just amazingly stupid.  If you really want to swap
to compressed files introduce that support in the swap code instead of
coming up with dumb driver stacks from hell.

Hi Christoph,

That's an interesting suggestion. We can look into adding compression support in the swap code.

Independent of the use case of this patch, is it acceptable to change the default I/O scheduler of loop devices from mq-deadline into none (patches 1 and 2 of this series)?

Thanks,

Bart.





[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