per block device cache use adjustable?
From: Karl Kiniger
Date: Thu Oct 10 2013 - 12:31:59 EST
Using a 4.7 GB 4x DVD+RW I did:
(Fedora 19, x86_64, 4GB RAM)
mkudffs /dev/sr0
mount /dev/sr0 /dvd0
dd if=some-4gb-file of=/dvd0/bigfile.bin
After a few seconds ls -l /dvd0/bigfile.bin displayed 600 MB which
means that more than 30 seconds are kept in RAM.
Is it possible to limit the write cache to a sane value
for this specific device? (perhaps a few seconds at 2..3 MB/sec
write speed)
Thanks in advance for anything helpful,
Karl
PS: dd oflag=direct helps of course but I would like to have
a tuning knob to play with to get optimal performance in my
situation.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/