All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Stable Linux kernel 2.6 for MPC8XX
@ 2006-03-08 14:29 Fillod Stephane
  2006-03-10  7:22 ` David Jander
  0 siblings, 1 reply; 11+ messages in thread
From: Fillod Stephane @ 2006-03-08 14:29 UTC (permalink / raw)
  To: Laurent Lagrange, linuxppc-embedded

>I would want to use a linux kernel 2.6 on a custom MPC8xx board.
>Which stable kernel release must or can I use ?

http://www.denx.de/wiki/bin/view/Know/Linux24vs26

--=20
SF

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Stable Linux kernel 2.6 for MPC8XX
@ 2006-03-14  8:34 Wolfgang Grandegger
  2006-03-14 14:46 ` David Jander
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Grandegger @ 2006-03-14  8:34 UTC (permalink / raw)
  To: David Jander, linuxppc-embedded



> On Friday 10 March 2006 16:33, Wolfgang Denk wrote:
> > > I believe most of those observations and measurements are not valid
> > > anymore. Kernel 2.6 for 8xx has come a long way since this article was
> > > written. It might have been true back then, but it surely isn't
anymore.
> >
> > So did you actually run any benchmarks? Specilations on what might be
> > or should be are not really helpful.
> 
> Of course I did. Otherwise I wouldn't say this.
> 
> Here's some benchmark data from nbench (sorry didn't try lmbench yet):
> 
> The same ELDK (version 3.1.1) for both kernels, running on exactly the
same 
> board (MPC852T 100MHz, with 32Mbyte SDRAM and 32Mbyte Flash running
from NFS 
> root). I removed some FPU benchmarks, as they are pretty meaningless
for this 
> board and take an ethernity otherwise.
> 
> Results for Kernel 2.4.25 (Denx CVS from around sept-oct or so, 2005):
> 
> TEST                : Iterations/sec.  : Old Index   : New Index
>                     :                  : Pentium 90* : AMD K6/233*
> --------------------:------------------:-------------:------------
> NUMERIC SORT        :          30.438  :       0.78  :       0.26
> STRING SORT         :          1.5842  :       0.71  :       0.11
> BITFIELD            :      7.9506e+06  :       1.36  :       0.28
> FP EMULATION        :           3.258  :       1.56  :       0.36
> IDEA                :          108.89  :       1.67  :       0.49
> HUFFMAN             :          26.281  :       0.73  :       0.23
> LU DECOMPOSITION    :         0.32765  :       0.02  :       0.01
> ==========================ORIGINAL BYTEMARK
RESULTS==========================
> INTEGER INDEX       : 1.052
> FLOATING-POINT INDEX: 0.257
> 
> 
> Now the results for 2.6.14 (Denx git released 2.6.14):
> 
> TEST                : Iterations/sec.  : Old Index   : New Index
>                     :                  : Pentium 90* : AMD K6/233*
> --------------------:------------------:-------------:------------
> NUMERIC SORT        :          32.654  :       0.84  :       0.28
> STRING SORT         :          1.7408  :       0.78  :       0.12
> BITFIELD            :      8.3466e+06  :       1.43  :       0.30
> FP EMULATION        :           3.506  :       1.68  :       0.39
> IDEA                :           115.3  :       1.76  :       0.52
> HUFFMAN             :          27.855  :       0.77  :       0.25
> LU DECOMPOSITION    :         0.35932  :       0.02  :       0.01
> ==========================ORIGINAL BYTEMARK
RESULTS==========================
> INTEGER INDEX       : 1.115
> FLOATING-POINT INDEX: 0.265
> 
> 
> I don't know why, but while everyone still says 2.6 is slower, I am 
> consistently getting results that seem to prove the opposite. Why?
> Is the TLB/cache stuff better optimized for 8xx in 2.6?
> IMHO it is quite a difference.

Could you please provide more information on the kernel configuration
e.g. the .config files and the size of the kernel images? 

Thanks.

Wolfgang.


> Btw, I also wrote different small "speed-measurement" tools (to measure 
> loop-speed, memory throughput for different block sizes, etc...) and
they all 
> show aproximately the same increase.
> I was careful to strip both kernels of all unnecessary drivers and
features 
> that could hamper performance. If you wish I could try to dig up the
.config 
> files for you, but I am not sure I'll find them anymore (I did this when 
> 2.6.14 was just released).
> 
> Greetings,
> 
> -- 
> David Jander
> Protonic Holland.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Minor bug in file irq.h
@ 2006-02-28  8:50 Laurent Lagrange
  2006-03-08 14:32 ` Stable Linux kernel 2.6 for MPC8XX Laurent Lagrange
  0 siblings, 1 reply; 11+ messages in thread
From: Laurent Lagrange @ 2006-02-28  8:50 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

I use a Linux 2.6.9 on MPC85xx.

In the ./linux/include/asm-ppc/irq.h file, I encountered a problem with the
timer3 interrupt definition :
#define     SIU_INT_TIMER3          ((uint)0x0e+CPM_IRQ_OFFSET)

This definition generates a compilation error  because is interpreted as
something like
((uint)0x0(e+CPM_IRQ_OFFSET)) ie 0x0 exponent  + CPM_IRQ_OFFSET.

To work around just parenthesis or add a space character between 'e' and '+'
#define     SIU_INT_TIMER3          ((uint)0x0e +CPM_IRQ_OFFSET)

Laurent

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

end of thread, other threads:[~2006-03-14 14:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 14:29 Stable Linux kernel 2.6 for MPC8XX Fillod Stephane
2006-03-10  7:22 ` David Jander
2006-03-10 13:16   ` Dan Malek
2006-03-10 15:33   ` Wolfgang Denk
2006-03-14  7:50     ` David Jander
2006-03-14 11:56       ` Carlos Mitidieri
2006-03-14 14:01       ` Dan Malek
2006-03-14 14:58         ` David Jander
  -- strict thread matches above, loose matches on Subject: below --
2006-03-14  8:34 Wolfgang Grandegger
2006-03-14 14:46 ` David Jander
2006-02-28  8:50 Minor bug in file irq.h Laurent Lagrange
2006-03-08 14:32 ` Stable Linux kernel 2.6 for MPC8XX Laurent Lagrange

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.