linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Linux 2.4.21 Embedded PPC 405 on Xilinx Virtex II pro is glacially slow
@ 2006-01-12  2:17 andrew.l.bomber
  2006-01-12  4:53 ` Frank
  0 siblings, 1 reply; 2+ messages in thread
From: andrew.l.bomber @ 2006-01-12  2:17 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: mullenp


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

Hello,

I am running 2.4.21 on an embedded PPC 405 system, 125 MHz clock, 32 MB
SDRAM. It currently only has a UART and ttys00 is its console. It is
running the busy box monolithic binaries.  It is so slow that I have to
be cautious not to overrun the 16 byte UART 16550 input buffer. Has
anyone run into this problem before? Any ideas what might cause this or
how to troubleshoot it. I am kind of new to Linux and PPC.
 <<hypertermCaptureBBprompt.txt>> 
Thanks,

Andrew


[-- Attachment #1.2: Type: text/html, Size: 1290 bytes --]

[-- Attachment #2: hypertermCaptureBBprompt.txt --]
[-- Type: text/plain, Size: 3746 bytes --]


loaded at:     00400000 005EA1E4                                
board data at: 005E713C 005E7154                                
relocated to:  00405624 0040563C                                
zimage at:     00405B44 00456755                                
initrd at:     00457000 005E68E3                                
avail ram:     005EB000 02000000                                

Linux/PPC load: console=ttyS0,115200 root=/dev/ram0                                                   
Uncompressing Linux...done.                           
Now booting the kernel                      
id mach(): done               
MMU:enter         
MMU:hw init           
MMU:mapin         
MMU:mapin_ram done                  
MMU:setio         
MMU:exit        
Linux version 2.4.26 (pm@mars) (gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)) #9                                                                               
Sun Jan 8 16:42:35 PST 2006                           
setup_arch: enter                 
setup_arch: bootmem                   
Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. (source@mvista.com)                                                                                

arch: exit          
On node 0 totalpages: 8192                          
zone(0): 8192 pages.                    
zone(1): 0 pages.                 
zone(2): 0 pages.                 
Kernel command line: console=ttyS0,115200 root=/dev/ram0                                                        
Xilinx INTC #0 at 0x81010000 mapped to 0xFDFFE000                                                 
Calibrating delay loop... 399.76 BogoMIPS                                         
Memory: 29948k available (596k kernel code, 196k data, 36k init, 0k highmem)                                                                            
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)                                                             
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)                                                            
Mount cache hash table entries: 512 (order: 0, 4096 bytes)                                                          
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)                                                            
Page-cache hash table entries: 8192 (order: 3,                                               
POSIX conformance testing by UNIFIX                                   

Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xfdfff003 (irq = 31) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1598k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 36k init


BusyBox v0.60.5 (2005.03.07-10:03+0000) Built-in shell (msh)
Enter 'help' for a list of built-in commands.

# killall xinetd
# ls
bin   dev   etc   ftp   home  lib   proc  sbin  tmp   usr   var
# ttyS: 1 input overrun(s)
wch
# echo "hello worrld"
hello worrld
#ps
  PID TTY     Uid        Size State Command
    1         root       1832   S   init       
    2         root          0   S   [keventd]
    3         root          0   S   [ksoftirqd_CPU0]
    4         root          0   S   [kswapd]
    5         root          0   S   [bdflush]
    6         root          0   S   [kupdated]
   15 ttyS0   root       1880   S   -sh 
   19 ttyS0   root       1940   R   ps 
# top -b -n 1
top: not found

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

* Re: Linux 2.4.21 Embedded PPC 405 on Xilinx Virtex II pro is glacially slow
  2006-01-12  2:17 Linux 2.4.21 Embedded PPC 405 on Xilinx Virtex II pro is glacially slow andrew.l.bomber
@ 2006-01-12  4:53 ` Frank
  0 siblings, 0 replies; 2+ messages in thread
From: Frank @ 2006-01-12  4:53 UTC (permalink / raw)
  To: andrew.l.bomber, linuxppc-dev; +Cc: mullenp



--- andrew.l.bomber@maxtek.com wrote:

> Hello,
> 
> I am running 2.4.21 on an embedded PPC 405 system, 125 MHz
> clock, 32 MB
> SDRAM. It currently only has a UART and ttys00 is its console.
> It is
> running the busy box monolithic binaries.  It is so slow that
> I have to
> be cautious not to overrun the 16 byte UART 16550 input
> buffer. Has
> anyone run into this problem before? Any ideas what might
> cause this or
> how to troubleshoot it. I am kind of new to Linux and PPC.
>  <<hypertermCaptureBBprompt.txt>> 
> Thanks,
> 
> Andrew
> 
> > 
> loaded at:     00400000 005EA1E4                              
>  
> board data at: 005E713C 005E7154                              
>  
> relocated to:  00405624 0040563C                              
>  
> zimage at:     00405B44 00456755                              
>  
> initrd at:     00457000 005E68E3                              
>  
> avail ram:     005EB000 02000000                              
>  
> 
> Linux/PPC load: console=ttyS0,115200 root=/dev/ram0           
>                                        
> Uncompressing Linux...done.                           
> Now booting the kernel                      
> id mach(): done               
> MMU:enter         
> MMU:hw init           
> MMU:mapin         
> MMU:mapin_ram done                  
> MMU:setio         
> MMU:exit        
> Linux version 2.4.26 (pm@mars) (gcc version 3.3.3 (DENX ELDK
> 3.1.1 3.3.3-9)) #9                                            
>                                   
> Sun Jan 8 16:42:35 PST 2006                           
> setup_arch: enter                 
> setup_arch: bootmem                   
> Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc.
> (source@mvista.com)                                           
>                                     
> 
> arch: exit          
> On node 0 totalpages: 8192                          
> zone(0): 8192 pages.                    
> zone(1): 0 pages.                 
> zone(2): 0 pages.                 
> Kernel command line: console=ttyS0,115200 root=/dev/ram0      
>                                                  
> Xilinx INTC #0 at 0x81010000 mapped to 0xFDFFE000             
>                                    
> Calibrating delay loop... 399.76 BogoMIPS                     
>                    
> Memory: 29948k available (596k kernel code, 196k data, 36k
> init, 0k highmem)                                             
>                               
> Dentry cache hash table entries: 4096 (order: 3, 32768 bytes) 
>                                                            
> Inode cache hash table entries: 2048 (order: 2, 16384 bytes)  
>                                                          
> Mount cache hash table entries: 512 (order: 0, 4096 bytes)    
>                                                      
> Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)  
>                                                          
> Page-cache hash table entries: 8192 (order: 3,                
>                               
> POSIX conformance testing by UNIFIX                           
>        
> 
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Starting kswapd
> Serial driver version 5.05c (2001-07-08) with no serial
> options enabled
> ttyS00 at 0xfdfff003 (irq = 31) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024
> blocksize
> loop: loaded (max 8 devices)
> RAMDISK: Compressed image found at block 0
> Freeing initrd memory: 1598k freed
> VFS: Mounted root (ext2 filesystem) readonly.
> Freeing unused kernel memory: 36k init
> 
> 
> BusyBox v0.60.5 (2005.03.07-10:03+0000) Built-in shell (msh)
> Enter 'help' for a list of built-in commands.
> 
> # killall xinetd
> # ls
> bin   dev   etc   ftp   home  lib   proc  sbin  tmp   usr  
> var
> # ttyS: 1 input overrun(s)
> wch
> # echo "hello worrld"
> hello worrld
> #ps
>   PID TTY     Uid        Size State Command
>     1         root       1832   S   init       
>     2         root          0   S   [keventd]
>     3         root          0   S   [ksoftirqd_CPU0]
>     4         root          0   S   [kswapd]
>     5         root          0   S   [bdflush]
>     6         root          0   S   [kupdated]
>    15 ttyS0   root       1880   S   -sh 
>    19 ttyS0   root       1940   R   ps 
> # top -b -n 1
> top: not found>
_______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

You might try cat'ing /proc/interrupts and see if something else
is sharing your uart interrupt...


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-01-12  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12  2:17 Linux 2.4.21 Embedded PPC 405 on Xilinx Virtex II pro is glacially slow andrew.l.bomber
2006-01-12  4:53 ` Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).