All of lore.kernel.org
 help / color / mirror / Atom feed
* How to improve performance of 2.6 kernel
@ 2005-10-17 11:29 kernel coder
  2005-10-17 12:36 ` Stuart Longland
  2005-10-17 16:07 ` Ralf Baechle
  0 siblings, 2 replies; 12+ messages in thread
From: kernel coder @ 2005-10-17 11:29 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

Hi,

I have just ported linux kernel 2.6.10 for MIPS4Kc-core board.Before
porting 2.6 kernel ,2.4.20 was running on this board. When I took
benchmarks for both the kernels for comparison, I found out that
linux-2.4.20 was giving much better results than linux-2.6.10. The
specs for the board are as follows:

--------------------------------------------------------------
133MHz MIPS4kc
32MB 133Mhz SDRAM
Cache Size: 16KB
Timer interrupt is set to 100 interrupts/sec
The hard disk attached to the board had ultraDMA 5 capability
--------------------------------------------------------------

I am also attaching the benchmarks I took for both the kernels. Is
there any way I can improve 2.6's performance? Thanks.

[-- Attachment #2: Comparison 2.4.20, 2.4.32-rc-1, 2.6.10(11th Oct-2005).xls --]
[-- Type: application/vnd.ms-excel, Size: 110592 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Fwd: How to improve performance of 2.6 kernel
@ 2005-10-19 18:12 ` Mitchell, Earl
  0 siblings, 0 replies; 12+ messages in thread
From: Mitchell, Earl @ 2005-10-19 18:12 UTC (permalink / raw)
  To: Ralf Baechle, kernel coder; +Cc: linux-mips


If you are looking at network performance ...
A while back I briefly looked at this and it
looked like the per packet processing time had
gone up significantly between 2.4.20 and
2.6.x. Problem was not NAPI which switches
from interrupt to polling mode when you get a burst 
of packets. I actually traced a single packet from Rx 
to Tx. Unfortunately I didn't save my data and did 
not isolate where increased time was being spent. 

-earlm

> -----Original Message-----
> From: linux-mips-bounce@linux-mips.org
> [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of Ralf Baechle
> Sent: Wednesday, October 19, 2005 8:54 AM
> To: kernel coder
> Cc: linux-mips@linux-mips.org
> Subject: Re: Fwd: How to improve performance of 2.6 kernel
> 
> 
> On Wed, Oct 19, 2005 at 10:55:01AM +0500, kernel coder wrote:
> 
> > I did lmbench benchmarks tests... and the results i got were pretty
> > weird.. I am attaching the jpegs :) of the graphs i made in 
> MS Excel.
> 
> We're happy with cold, raw ASCII numbers :)
> 
> > Btw, I have implemented NAPI in both 2.4.20 and 2.6.10. I ported the
> > code to linux-2.6 in order to increase the board's 
> efficiency but I'm
> > quite dissapointed with the results so far :(.
> 
> NAPI is doing it's job which is keeping a system responsive 
> under extreme
> loads very well.  The pre-NAPI behaviour was simply locking 
> up thus making
> systems easily DOS-able.  NAPI is not meant to improve 
> latency; it isn't
> meant but frequently mistaken to.
> 
>   Ralf
> 
> 

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

end of thread, other threads:[~2005-10-20  9:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-17 11:29 How to improve performance of 2.6 kernel kernel coder
2005-10-17 12:36 ` Stuart Longland
2005-10-17 15:19   ` Kevin D. Kissell
2005-10-17 15:19     ` Kevin D. Kissell
2005-10-17 16:38     ` Dan Malek
2005-10-17 16:38       ` Dan Malek
2005-10-19  5:55       ` Fwd: " kernel coder
2005-10-19 15:53         ` Ralf Baechle
2005-10-17 16:07 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2005-10-19 18:12 Fwd: " Mitchell, Earl
2005-10-19 18:12 ` Mitchell, Earl
2005-10-20  9:36 ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.