Hi Mikhail,
My steps are almost same as yours. The context switches number(csw) seems
related with the file size if other configurations are same. My previous data
is with 4KB file(csw: ~90k). With 100KB file(csw: ~40k), 1MB file(csw: ~5k).
Which kernel version are you using? I think if it's po
Hi!
Looks like this small fix doesn't work in case when the total size of the
file is less than the size of the buffer and it was partly read.
In my case the size of the file is 16384 bytes and only one page of the
file was in page cache. This patch produces size = 8192 bytes
for my case and the ne