public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.1 slower than 2.4, smp/scsi/sw-raid/reiserfs
@ 2004-02-03  6:55 Samium Gromoff
  2004-02-03  7:07 ` Andrew Morton
  2004-02-03  7:13 ` Nick Piggin
  0 siblings, 2 replies; 32+ messages in thread
From: Samium Gromoff @ 2004-02-03  6:55 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, philip


> > The machine is a dual P3 450MHz, 512MB, aic7xxx, 2 disk RAID-0 and                   
> >  ReiserFS.  It's a few years old and has always run Linux, most                      
> >  recently 2.4.24.  I decided to try 2.6.1 and the performance is                     
> >  disappointing.                                                                      
>                                                                                        
> 2.6 has a few performance problems under heavy pageout at present.  Nick               
> Piggin has some patches which largely fix it up.                                       

I`m sorry, but this is misguiding. 2.6 does not have a few performance
problems under heavy pageout.

It`s more like _systematical_ _performance_ _degradation_ increasing with
the pageout rate. The more the box pages out the more 2.6 lags behind 2.4.

What i`m trying to say is that even light paging is affected. And light
paging is warranted when you run, say, KDE on 128M ram.

Go measure the X desktop startup time on a 48M/64M boxen--even light paging
causes 2.6 to be just sloower. Also the vm thrashing point is much much earlier.

Ask Roger Luethi for details.

regards, Samium Gromoff



^ permalink raw reply	[flat|nested] 32+ messages in thread
* 2.6.1 slower than 2.4, smp/scsi/sw-raid/reiserfs
@ 2004-02-01 21:34 Philip Martin
  2004-02-01 23:11 ` Andrew Morton
  2004-02-03  3:46 ` Andrew Morton
  0 siblings, 2 replies; 32+ messages in thread
From: Philip Martin @ 2004-02-01 21:34 UTC (permalink / raw)
  To: linux-kernel

The machine is a dual P3 450MHz, 512MB, aic7xxx, 2 disk RAID-0 and
ReiserFS.  It's a few years old and has always run Linux, most
recently 2.4.24.  I decided to try 2.6.1 and the performance is
disappointing.

My test is a software build of about 200 source files (written in C)
that I usually build using "nice make -j4".  Timing the build on
2.4.24 I typically get something like

242.27user 81.06system 2:44.18elapsed 196%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1742270major+1942279minor)pagefaults 0swaps

and on 2.6.1 I get

244.08user 116.33system 3:27.40elapsed 173%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3763670minor)pagefaults 0swaps

The results are repeatable.  The user CPU is about the same for the
two kernels, but on 2.6.1 the elapsed time is much greater, as is the
system CPU.  I note a big difference in the pagefaults between 2.4 and
2.6 but I don't know what to make of it.

Comparing /proc/scsi/aic7xxx/0 before and after the build I see
another difference, the "Commands Queued" to the RAID disks are much
greater for 2.6 than 2.4

          disk0   disk2
2.4
before:    8459    4766
after:    13798    7351

2.6
before:   21287    8555
after:    40491   15995

(The root partition is also on disk0 and that's not part of the RAID
array; I guess that's why disk0 has higher numbers than disk2.)

The machine has another disk that is not part of the RAID array, it's
a slower disk but I think the build is CPU bound anyway.  I put an
ext2 filesystem on this extra disk, and then used that for my trial
build with the rest of the system, gcc, as, ld, etc. still coming from
RAID array.  On 2.4 the time for the ext2 build is essentially the
same as for the RAID build, the difference is within the normal
variation between builds.  On 2.6 the ext2 build takes

244.43user 111.75system 3:16.42elapsed 181%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+3757151minor)pagefaults 0swaps

Although the CPU used is about the same as the RAID build the elapsed
time is less, so there is some improvement but it is still worse than
2.4.24.

-- 
Philip Martin

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

end of thread, other threads:[~2004-02-14  0:11 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-03  6:55 2.6.1 slower than 2.4, smp/scsi/sw-raid/reiserfs Samium Gromoff
2004-02-03  7:07 ` Andrew Morton
2004-02-03  7:52   ` Samium Gromoff
2004-02-03  7:57     ` Nick Piggin
2004-02-03 15:58       ` Valdis.Kletnieks
2004-02-03  7:13 ` Nick Piggin
  -- strict thread matches above, loose matches on Subject: below --
2004-02-01 21:34 Philip Martin
2004-02-01 23:11 ` Andrew Morton
2004-02-01 23:42   ` Philip Martin
2004-02-01 23:52   ` Nick Piggin
2004-02-02  0:51     ` Philip Martin
2004-02-02  5:15       ` Nick Piggin
2004-02-02  8:58         ` Nick Piggin
2004-02-02 18:36           ` Philip Martin
2004-02-02 23:36             ` Nick Piggin
2004-02-02 23:49               ` Andrew Morton
2004-02-03  1:01                 ` Philip Martin
2004-02-03  3:02                   ` Nick Piggin
2004-02-03 16:44                     ` Philip Martin
2004-02-03  0:34               ` Philip Martin
2004-02-03  3:52                 ` Nick Piggin
2004-02-02 18:08         ` Philip Martin
2004-02-03  3:46 ` Andrew Morton
2004-02-03 16:46   ` Philip Martin
2004-02-03 21:29     ` Andrew Morton
2004-02-03 21:53       ` Philip Martin
2004-02-04  5:48         ` Nick Piggin
2004-02-04 17:50           ` Philip Martin
2004-02-04 23:38             ` Philip Martin
2004-02-05  2:49               ` Nick Piggin
2004-02-05 14:27                 ` Philip Martin
2004-02-14  0:10       ` Philip Martin

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