mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karl Kiniger <karl.kiniger@med.ge.com>
To: linux-kernel@vger.kernel.org
Subject: per block device cache use adjustable?
Date: Thu, 10 Oct 2013 18:25:35 +0200	[thread overview]
Message-ID: <20131010162535.GA12986@kipc2.localdomain> (raw)

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.


                 reply	other threads:[~2013-10-10 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131010162535.GA12986@kipc2.localdomain \
    --to=karl.kiniger@med.ge.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®