public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Aaron Lehmann <aaronl@vitelus.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ATAPI CD-R lags system to hell burning in DAO mode; but not in TAO
Date: Wed, 31 Jul 2002 14:05:30 -0700	[thread overview]
Message-ID: <3D48511A.C31443A3@zip.com.au> (raw)
In-Reply-To: 20020731203008.GA27702@vitelus.com

Aaron Lehmann wrote:
> 
> I've got a Teac CD-W524E 24x CD-R writer, and ever since I got it
> several months ago I have had the somewhat annoying issue that burning
> a cd Disc-At-Once makes the system unusable during the burn. The X
> cursor jerks, repaints take forever, etc. This problem doesn't occur
> when burning Track-At-Once - I'm unable to notice any significant
> increase in system latency when using that mode.
> 

This is presumably because the machine is full of memory which
is dirty against a slooow device.

You can work around this by reducing the dirty memory thresholds:

akpm-1:/home/akpm> cat /proc/sys/vm/bdflush
30      64      64      256     30000   3000    60      0       0

Make the "30" and "60" smaller.  10 and 20 perhaps.

Better: change the application to fsync() the data every few
megabytes, or open O_SYNC.

-

  reply	other threads:[~2002-07-31 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31 20:30 ATAPI CD-R lags system to hell burning in DAO mode; but not in TAO Aaron Lehmann
2002-07-31 21:05 ` Andrew Morton [this message]
2002-07-31 22:59   ` Aaron Lehmann
2002-07-31 21:45 ` DervishD
2002-08-02 13:52 ` Anssi Saari

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=3D48511A.C31443A3@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=aaronl@vitelus.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