public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Abysmal interactive performance on 2.4.linus
@ 2001-11-12 19:55 Frank de Lange
  2001-11-12 20:05 ` Jeff Garzik
  2001-11-12 20:06 ` Martin Josefsson
  0 siblings, 2 replies; 14+ messages in thread
From: Frank de Lange @ 2001-11-12 19:55 UTC (permalink / raw)
  To: linux-kernel

On a 768 MB SMP box (2x466 MHz Celeron), I see some weird problems with
interactive performance on 2.4.15pre{1,2}. A good example of this is the
following scenario:

 - copy a large file (eg. an iso image file) to a directory on the same
   (reiserfs in this case) filesystem, or...
 - do a filesystem comparison between a CD and the original file (with cmp
   /mnt/cdrom/<filename> /mnt/reiserfs/1/data/<original_file_location>, using a
   PLEXTOR Model: CD-ROM PX-40TS SCSI CD-ROM drive),

 - and THEN (while the copy or comparison runs) try any simple command (like
   'ls /mnt/reiserfs/1/data' or 'top' or anything else...). 

Response time is abysmal, a simple 'ls /some/dir' takes tens of seconds to
start. Once the command is running, performance is normal. Try this when a
cdrecord session is running and you'll get a buffer underrun.

The box has 768 MB of RAM, 512 MB of swap. There is no significant load on the
system (according to an already running copy of top) neither before nor during
the test. Try tab-completing a command in a terminal, and that terminal freezes
for tens of seconds, usually until after the file system load has gone down.

In a few words, heavy filesystem activity seems to wreak havoc on the system.
Not by loading the CPU (it hardly breaks out a sweat at 178% idle (SMP...)).

Turning off swap (swapoff -a) does not change the observed behaviour.

Anyone else seen something like this?

-- 
  WWWWW      _______________________
 ## o o\    /     Frank de Lange     \
 }#   \|   /                          \
  ##---# _/     <Hacker for Hire>      \
   ####   \      +31-320-252965        /
           \ lkml-frank@unternet.org  /
            -------------------------
 [ "Omnis enim res, quae dando non deficit, dum habetur
    et non datur, nondum habetur, quomodo habenda est."  ]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Abysmal interactive performance on 2.4.linus
@ 2001-11-12 21:16 Frank de Lange
  0 siblings, 0 replies; 14+ messages in thread
From: Frank de Lange @ 2001-11-12 21:16 UTC (permalink / raw)
  To: linux-kernel

Also sprach Jeff Garzik:
>Can you try 2.4.13ac6 (not 7/8), and 2.2.20, and post a comparison?

Well, as the system is partly reiserfs-based, 2.2.20 is a bit difficult. I've
run the -ac series before trying the 'linus' kernels, and noticed similar
performance problems (but not as severe). I don't have any hard numbers yet,
will try to get some if at all possible (it would be like comparing apples to
reiserfs-oranges).

 [ given the nature of the problem - weird delays during file system activity -
   those numbers will be more or less meaningless. This is not a matter of
   'better' performance on a given hardware platform, but one of 'abysmal'
   performance versus 'normal' performance. It doesn't really matter how long
   the observed delays are, the problem lies in the fact that those delays are
   there in the first place... ]

-- 
  WWWWW      _______________________
 ## o o\    /     Frank de Lange     \
 }#   \|   /                          \
  ##---# _/     <Hacker for Hire>      \
   ####   \      +31-320-252965        /
           \    frank@unternet.org    /
            -------------------------
 [ "Omnis enim res, quae dando non deficit, dum habetur
    et non datur, nondum habetur, quomodo habenda est."  ]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2001-11-21 13:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-12 19:55 Abysmal interactive performance on 2.4.linus Frank de Lange
2001-11-12 20:05 ` Jeff Garzik
2001-11-12 22:22   ` mike@morpheus
2001-11-12 22:56   ` Frank de Lange
2001-11-12 23:21     ` Mike Fedyk
2001-11-12 23:27       ` Martin Josefsson
2001-11-12 23:42         ` Mike Fedyk
2001-11-12 23:28     ` Jason Lunz
2001-11-13  6:45     ` Oktay Akbal
2001-11-21  8:51     ` Hans Reiser
2001-11-21  9:12       ` Frank de Lange
2001-11-21 12:49       ` Yury Yu. Rupasov
2001-11-12 20:06 ` Martin Josefsson
  -- strict thread matches above, loose matches on Subject: below --
2001-11-12 21:16 Frank de Lange

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