Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Benno Senoner <sbenno@gardena.net>
To: linux-sound@vger.kernel.org
Subject: Re: Streaming disk I/O kills file buffering and makes Linux unusable
Date: Mon, 23 Aug 1999 20:50:32 +0000	[thread overview]
Message-ID: <marc-linux-sound-93544143220589@msgid-missing> (raw)
In-Reply-To: <marc-linux-sound-93541443318803@msgid-missing>

On Mon, 23 Aug 1999, Andrea Arcangeli wrote:
> On Mon, 23 Aug 1999, Benno Senoner wrote:
> 
> >No , I'm not saying that there is a bug, I'm saying that the
> >filebuffering works very well in almost all cases , except of reading large
> >files from disk continuously.
> 
> Could you check `vmstat 1` and verify if you have continous
> swapin/swapout? (I bet yes) If I am right then you'll probably want to
> apply this my patch and try again and notice the performance difference
> with eyes.
> 
> 	ftp://ftp.suse.com/pub/people/andrea/kernel-patches/my-2.2.12-final3/no-swapout-2.2.10-B
> 
> Andrea

No , have very little swapin/swapouts (only occasionally) when clicking on the
xterm icon. 
Since I run on a 256MB RAM box, I have to wait 30-40sec for the xterm
executable disappearing from buffers ( since I stream about 5MB/sec).
After this time when I must wait up to 5-6sec from clicking to the icon to the
actual launch of the xterm.
Of course this is because the disk is under high load , and loads the
executable slowly, but if I I click on the icon again after only a few secs
(instead of waiting 30-40secs) the 2nd xterm starts up almost immediately since
it's still cached,  200MB filebuffer buffer/5MB/sec = takes about 40secs to fill
all buffers.

Browsing the web while runnig the streaming app, becomes frustrating because 
you have no caching at all while working on a very slow disk (due to disk I/O).
IMHO with direct I/O the rest of the system will remain quite snappy.

regards,
Benno.

  parent reply	other threads:[~1999-08-23 20:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-23 13:20 Streaming disk I/O kills file buffering and makes Linux unusable Benno Senoner
1999-08-23 17:06 ` Peter Monta
1999-08-23 17:25 ` Linus Torvalds
1999-08-23 17:42 ` Peter Monta
1999-08-23 18:06 ` Benno Senoner
1999-08-23 18:32 ` Alan Cox
1999-08-23 18:39 ` Chuck Lever
1999-08-23 19:25 ` Andrea Arcangeli
1999-08-23 20:20 ` Benno Senoner
1999-08-23 20:50 ` Benno Senoner [this message]
1999-08-23 20:51 ` Benno Senoner
1999-08-23 21:01 ` Andrea Arcangeli
1999-08-24  0:48 ` Dave Mielke
1999-08-24  7:37 ` Gerard Roudier
1999-08-24  7:56 ` Gerard Roudier

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=marc-linux-sound-93544143220589@msgid-missing \
    --to=sbenno@gardena.net \
    --cc=linux-sound@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