mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread Rafael Beims
Hello all, I'm working with an MPC880 board that is supposed to run linux-2.6.32. After some work, I could get the kernel up and running, mounting a rootfs via NFS. The problem that I'm facing now is that when I try to run any process (may be an ls, cat, or whatever), the response of the process is

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread Wolfgang Denk
Dear Rafael Beims, In message you wrote: > > I'm working with an MPC880 board that is supposed to run linux-2.6.32. After > some work, I could get the kernel up and running, mounting a rootfs via > NFS. 2.6.32 is pretty old. Is there any specific reason for not using a recent kernel version?

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread Rafael Beims
Hello Mr. Denk As I already posted, the patch that was posted before seems to have solved the problem. Anyway, some answers follow: On Wed, Jan 5, 2011 at 4:35 PM, Wolfgang Denk wrote: > > Dear Rafael Beims, > > In message you > wrote: > > > > I'm working with an MPC880 board that is supposed

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread michael
Hi On 01/05/2011 07:43 PM, Rafael Beims wrote: Wow! That was fast! I applied the patch and it worked very well. Now I can use the commands normally. I will be doing more tests in the next days, but it seems that my problem is solved. Is this patch already mainstream in newer kernel versions?

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread michael
Hi On 01/05/2011 07:35 PM, Wolfgang Denk wrote: Dear Rafael Beims, In message you wrote: I'm working with an MPC880 board that is supposed to run linux-2.6.32. After some work, I could get the kernel up and running, mounting a rootfs via NFS. 2.6.32 is pretty old. Is there any specific rea

Fwd: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread Rafael Beims
I forgot to copy the list, sorry... -- Forwarded message -- From: Rafael Beims Date: Wed, Jan 5, 2011 at 4:43 PM Subject: Re: mpc880 linux-2.6.32 slow running processes To: michael Wow! That was fast! I applied the patch and it worked very well. Now I can use the commands

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread michael
Hi On 01/05/2011 07:09 PM, Rafael Beims wrote: Hello all, I'm working with an MPC880 board that is supposed to run linux-2.6.32. After some work, I could get the kernel up and running, mounting a rootfs via NFS. The problem that I'm facing now is that when I try to run any process (may be an ls,

Re: mpc880 linux-2.6.32 slow running processes

2011-01-05 Thread Scott Wood
On Wed, 5 Jan 2011 19:23:33 +0100 michael wrote: > diff --git a/arch/powerpc/include/asm/pte-8xx.h > b/arch/powerpc/include/asm/pte-8xx.h > index dd5ea95..cb67076 100644 > --- a/arch/powerpc/include/asm/pte-8xx.h > +++ b/arch/powerpc/include/asm/pte-8xx.h > @@ -32,7 +32,7 @@ > #define _PAGE_FIL

Re: mpc880 linux-2.6.32 slow running processes

2011-01-06 Thread michael
Hi On 01/06/2011 12:42 AM, Scott Wood wrote: On Wed, 5 Jan 2011 19:23:33 +0100 michael wrote: diff --git a/arch/powerpc/include/asm/pte-8xx.h b/arch/powerpc/include/asm/pte-8xx.h index dd5ea95..cb67076 100644 --- a/arch/powerpc/include/asm/pte-8xx.h +++ b/arch/powerpc/include/asm/pte-8xx.h @

Re: mpc880 linux-2.6.32 slow running processes

2011-01-06 Thread Joakim Tjernlund
>>> + /* On 8xx, cache control instructions (particularly >>> + * "dcbst" from flush_dcache_icache) fault as write >>> + * operation if there is an unpopulated TLB entry >>> + * for the address in question. To workaround that, >>> + * we invalidate the TLB here, thus avoiding dcbst >>> +

Re: mpc880 linux-2.6.32 slow running processes

2011-01-07 Thread Rafael Beims
On Thu, Jan 6, 2011 at 2:52 PM, Joakim Tjernlund wrote: > > The 8xx tlbil_va should not be needed in recent 2.6 after I fixed the 8xx TLB > code > to workaround the dcbst bug there instead. See > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=0a2ab51ffb8dfdf51402

Re: mpc880 linux-2.6.32 slow running processes

2011-01-08 Thread Joakim Tjernlund
Rafael Beims wrote on 2011/01/07 11:00:56: > > On Thu, Jan 6, 2011 at 2:52 PM, Joakim Tjernlund > wrote: > > > > > The 8xx tlbil_va should not be needed in recent 2.6 after I fixed the 8xx > > TLB code > > to workaround the dcbst bug there instead. See > > http://git.kernel.org/?p=linux/kernel/g

Re: mpc880 linux-2.6.32 slow running processes

2011-01-10 Thread Rafael Beims
> > Once you have tested it and it works, please send a patch to remove the 8xx > workaround. > Make sure Scott is cc:ed > > I tested linux-2.6.33 on my ppc880 board today, and even without the slowdown.patch applied, the board runs processes with good performance. It really seems that the proble

Re: mpc880 linux-2.6.32 slow running processes

2011-01-10 Thread Joakim Tjernlund
Rafael Beims wrote on 2011/01/10 17:35:38: > > > > Once you have tested it and it works, please send a patch to remove the 8xx > > workaround. > > Make sure Scott is cc:ed > > > > > > I tested linux-2.6.33 on my ppc880 board today, and even without the > slowdown.patch applied, the board runs pro

Re: mpc880 linux-2.6.32 slow running processes

2011-01-11 Thread Joakim Tjernlund
> Sent by: linuxppc-dev-bounces+joakim.tjernlund=transmode...@lists.ozlabs.org > > Rafael Beims wrote on 2011/01/10 17:35:38: > > > > > > Once you have tested it and it works, please send a patch to remove the > > > 8xx workaround. > > > Make sure Scott is cc:ed > > > > > > > > > > I tested linux

Re: mpc880 linux-2.6.32 slow running processes

2011-01-20 Thread Heiko Schocher
Hello Joakim, Joakim Tjernlund wrote: >> Sent by: linuxppc-dev-bounces+joakim.tjernlund=transmode...@lists.ozlabs.org >> >> Rafael Beims wrote on 2011/01/10 17:35:38: Once you have tested it and it works, please send a patch to remove the 8xx workaround. Make sure Scott is cc:ed >

Re: mpc880 linux-2.6.32 slow running processes

2011-01-22 Thread Joakim Tjernlund
Heiko Schocher wrote on 2011/01/21 07:53:02: > Hello Joakim, > > Joakim Tjernlund wrote: > >> Sent by: > >> linuxppc-dev-bounces+joakim.tjernlund=transmode...@lists.ozlabs.org > >> > >> Rafael Beims wrote on 2011/01/10 17:35:38: > Once you have tested it and it works, please send a patch to