[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] slow performance on XUP V2P



Deli,

	Given:
Calibrating delay loop... 2.98 BogoMIPS

	I'd suspect you've not enabled DCACHE/ICACHE....

	Bret

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of Deli Geng (David)
Sent: Monday, December 05, 2005 5:42 AM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] slow performance on XUP V2P

Hi, 

I got a uClinux/MB up and running on the XUP V2P board. However, I feel the system is rather slow. The ping to the network interface is like,

Reply from 192.168.1.103: bytes=32 time=8ms TTL=64
Reply from 192.168.1.103: bytes=32 time=8ms TTL=64
Reply from 192.168.1.103: bytes=32 time=8ms TTL=64
Reply from 192.168.1.103: bytes=32 time=8ms TTL=64

which I think it should be less than 1ms.

Also, when I type "ls", it takes seconds to response. But the file system runs from RAM, how comes the delay?

I wondered if I made any mistake in the configuration or the uClinux/MB is normally such slow.

Cheers

Deli

PS. The boot log

Linux version 2.4.31-uc0 (deli@aipc43) (gcc version 2.95.3-4 Xilinx EDK 6.3 Build EDK_Gmm.12.2) #47 Mon Dec 5 12:04:37 GMT 2005
On node 0 totalpages: 131072
zone(0): 131072 pages.
zone(1): 0 pages.
zone(2): 0 pages.
CPU: MICROBLAZE
Kernel command line: ŸõÝä€âL€âl€zñü
Console: xmbserial on UARTLite
Calibrating delay loop... 2.98 BogoMIPS
Memory: 512MB = 512MB total
Memory: 516440KB available (1137K code, 1049K data, 44K init)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Microblaze UARTlite serial driver version 1.00
ttyS0 at 0x40600000 (irq = 2) is a Microblaze UARTlite
Starting kswapd
xgpio #0 at 0x40020000 mapped to 0x40020000
xgpio #1 at 0x40040000 mapped to 0x40040000
xgpio #2 at 0x40000000 mapped to 0x40000000
Xilinx GPIO registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
eth0: using sgDMA mode.
eth0: Xilinx EMAC #0 at 0x40C00000 mapped to 0x40C00000, irq=1
eth0: id 2.0h; block id 7, type 1
uclinux[mtd]: RAM probe address=0x801574e4 size=0xcc000
uclinux[mtd]: root filesystem index=0
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 131072 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 44K
Mounting proc: 
Mounting var: 
Populating /var: 
Running local start scripts.
Remounting / (rw): 
Mounting /etc/config: 
Populating /etc/config: 
flatfsd: Nonexistent or bad flatfs (-48), creating new one...
flatfsd: Failed to write flatfs (-48): No such device
flatfsd: Created 3 configuration files (822 bytes)
Setting hostname: 
Setting up interface lo: 
Starting DHCP client: 
Starting thttpd: 
Jan  1 00:01:20 dhcpcd[37]: infinite IP address lease time. Exiting
 
uclinux-auto login:


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/