KernelAdiutor icon indicating copy to clipboard operation
KernelAdiutor copied to clipboard

Read-Ahead buffer values not applied on boot

Open CactusPie opened this issue 8 years ago • 0 comments

I found a small bug. I changed the values of read-ahead buffers to 256 for the internal storage and 2048 for the sd card. I made the settings apply on boot, so the following entries appeared on the "Apply on boot" list:

io: echo '256' > /sys/block/mmcblk0/queue/read_ahead_kb
io: echo '2048' > /sys/block/mmcblk1/queue/read_ahead_kb

But the values are not correctly applied, I checked both in the Kernel Adiutor UI and manually:

$ cat /sys/block/mmcblk0/queue/read_ahead_kb
128
$ cat /sys/block/mmcblk1/queue/read_ahead_kb
256

Changing the values manually by using sliders works fine, just applying them on boot doesn't.

CactusPie avatar Mar 28 '17 16:03 CactusPie