public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.10-ac10-preempt lmbench output.
@ 2001-10-10  0:36 safemode
  2001-10-10  1:18 ` Andrea Arcangeli
  2001-10-10  5:25 ` Justin A
  0 siblings, 2 replies; 34+ messages in thread
From: safemode @ 2001-10-10  0:36 UTC (permalink / raw)
  To: Robert Love; +Cc: linux-kernel

I'm very pleased so far with ac10 with the preempt patch.  Much better than 
2.4.9-ac18-preempt, which is what i was using.  I'm just going to put up some 
output from lmbench to see if anyone who is running the non-preempt version 
is seeing better or worse timings and scores.   Perhaps the improvement is 
all in my head due to me moving my atapi devices off of the promise card 
(since you're not supposed to put any on it) and now everything is generally 
running faster despite the kernel being used.  Heh.  so here they are 

ftp://ftp.bitmover.com/lmbench/LMbench2.tgz
(top of README says lmbench 2alpha8)
compiled without any changes to the Makefile (gcc 2.95.4)

Simple syscall: 0.3226 microseconds
Simple read: 0.8185 microseconds
Simple write: 0.5791 microseconds
Simple stat: 3.7546 microseconds
Simple open/close: 5.6581 microseconds
lat_fs (ext2)
0k      1000    36770   123993
1k      1000    15526   74383
4k      1000    15202   73692
10k     1000    9124    51972
FIFO latency: 8.0457 microseconds
Signal handler installation: 0.932 microseconds
Signal handler overhead: 2.852 microseconds
Protection fault: 0.761 microseconds
Pipe latency: 7.9139 microseconds
Pagefaults on /something.avi: 13098 usecs
Process fork+exit: 249.6818 microseconds
Process fork+execve: 298.0000 microseconds
Process fork+/bin/sh -c: 7883.0000 microseconds
AF_UNIX sock stream latency: 11.0054 microseconds
Select on 200 tcp fd's: 62.7955 microseconds
Select on 200 fd's: 18.5960 microseconds
Fcntl lock latency: 7.3516 microseconds
lat_ctx on an Eterm process
"size=0k ovr=2.82
"size=1024k ovr=301.96

That's all from lmbench2.  Anyone without the preempt patch using the same 
kernel care to compare? I'm very pleased.  
Heavily io bound processes (dbench 32)  still causes something as light as an 
mp3 player to skip, though.   That probably wont be fixed intil 2.5, since 
you need to have preemption in the vm and the rest of the kernel.  

^ permalink raw reply	[flat|nested] 34+ messages in thread
[parent not found: <200110100036.UAA128640@ufl.edu>]
* Re: 2.4.10-ac10-preempt lmbench output.
@ 2001-10-10  3:57 Dieter Nützel
  0 siblings, 0 replies; 34+ messages in thread
From: Dieter Nützel @ 2001-10-10  3:57 UTC (permalink / raw)
  To: Andrea Arcangeli, Robert Love, Andrew Morton; +Cc: Linux Kernel List

On Tue, Oct 10, 2001 at 03:06, Andrea Arcangeli wrote:
> On Tue, Oct 09, 2001 at 10:37:56PM -0400, Robert Love wrote:
> > On Tue, 2001-10-09 at 22:30, Andrea Arcangeli wrote:
> > > As said it's very very unlikely that preemption points can fix xmms
> > > skips anyways, the worst scheduler latency is always of the order of the
> > > msecs, to generate skips you need a latency of seconds.

[...]
> The point is that to avoid dropouts dbench must take say 40% of the cpu
> and xmms another 40% of the cpu. Then the 10msec doesn't matter. If each
> one takes 50% of cpu exactly you can run in dropouts anyways because of
> scheduler imprecisions.

I get the dropouts (2~3 sec) after dbench 32 is running for 9~10 seconds.
I've tried with RT artds and nice -20 mpg123.

Kernel: 2.4.11-pre6 + 00_vm-1 + preempt

Only solution:
I have to copy the test MPG3 file into /dev/shm.

CPU (1 GHz Athlon II) is ~75% idle during the hiccup.
The dbench processes are mostly in wait_page/wait_cache if I remember right.
So I think that you are right it is a file IO wait (latency) problem.

Please hurry up with your read/write copy-user paths lowlatency patches ;-)

> So again: the preemptive patch cannot make any difference, except for
> the read/write copy-user paths that originally Ingo fixed ages ago in
> 2.2, and that I also later fixed in all -aa 2.2 and 2.4 and that are
> also fixed in the lowlatency patches from Andrew (but in the
> generic_file_read/write rather than in copy-user, to possible avoid some
> overhead for short copy users, but the end result for an xmms user is
> exactly the same).

Andrew have you a current version of your lowlatency patches handy?

Robert you are running a dual PIII system, right?
Could that be the ground why you aren't see the hiccup with your nice preempt 
patch? Are you running ReiserFS or EXT2/3?

Thanks,
	Dieter


^ permalink raw reply	[flat|nested] 34+ messages in thread
[parent not found: <200110100358.f9A3wSB17421@zero.tech9.net>]
[parent not found: <20011010035818.A556B1E760@Cantor.suse.de>]
[parent not found: <200110100358.NAA17519@isis.its.uow.edu.au>]

end of thread, other threads:[~2001-10-14  6:18 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-10  0:36 2.4.10-ac10-preempt lmbench output safemode
2001-10-10  1:18 ` Andrea Arcangeli
2001-10-10  2:09   ` safemode
2001-10-10  2:10   ` Robert Love
2001-10-10  2:51     ` Andrea Arcangeli
     [not found]   ` <20011010020935.50DEF1E756@Cantor.suse.de>
2001-10-10  2:30     ` Andrea Arcangeli
2001-10-10  2:37       ` Robert Love
2001-10-10  3:06         ` Andrea Arcangeli
2001-10-10  3:24           ` Robert Love
2001-10-10  4:03             ` Andrea Arcangeli
2001-10-12 13:22         ` Pavel Machek
2001-10-13 20:42           ` Mike Fedyk
2001-10-13 23:21           ` Robert Love
2001-10-14  6:18             ` Pavel Machek
2001-10-10  5:25 ` Justin A
2001-10-10 19:42   ` Buffers, dbench and latency Roger Larsson
     [not found] <200110100036.UAA128640@ufl.edu>
2001-10-10  2:02 ` 2.4.10-ac10-preempt lmbench output Robert Love
  -- strict thread matches above, loose matches on Subject: below --
2001-10-10  3:57 Dieter Nützel
     [not found] <200110100358.f9A3wSB17421@zero.tech9.net>
2001-10-10  4:02 ` Robert Love
2001-10-10  4:04   ` Robert Love
2001-10-10  4:27   ` Andrea Arcangeli
     [not found] <20011010035818.A556B1E760@Cantor.suse.de>
2001-10-10  4:23 ` Andrea Arcangeli
2001-10-10  4:42   ` Dieter Nützel
     [not found]   ` <20011010044242.82D131E768@Cantor.suse.de>
2001-10-10  4:48     ` Andrea Arcangeli
     [not found] <200110100358.NAA17519@isis.its.uow.edu.au>
2001-10-10  5:13 ` Andrew Morton
2001-10-10  5:26   ` Andrea Arcangeli
2001-10-10 11:41     ` safemode
2001-10-10 12:00       ` safemode
     [not found]       ` <20011010120009.851921E7C9@Cantor.suse.de>
2001-10-10 13:36         ` Andrea Arcangeli
2001-10-10 15:37           ` Dieter Nützel
2001-10-10 20:10             ` Justin A
2001-10-10 23:42           ` safemode
2001-10-11  0:30             ` Mike Fedyk
2001-10-10 18:14   ` george anzinger

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