[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 10 Oct 2013 18:25:35 +0200
From: Karl Kiniger <karl.kiniger@....ge.com>
To: linux-kernel@...r.kernel.org
Subject: per block device cache use adjustable?
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists