mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* per block device cache use adjustable?
@ 2013-10-10 16:25 Karl Kiniger
  0 siblings, 0 replies; only message in thread
From: Karl Kiniger @ 2013-10-10 16:25 UTC (permalink / raw)
  To: linux-kernel

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-10 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10 16:25 per block device cache use adjustable? Karl Kiniger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®