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

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



The XUPV2P design is an intentionally simple design so that folks new to
Microblaze uclinux have the easiest time getting their first system up and
running.  Sounds like that you have the system operational which is very
good.  There are many choices to increase system performance.

Vasanth Asokan wrote this recently:
"The following things have made a big difference in similar designs -

1. Having a large I and D-cache (>= 16K)
2. Using MCH caches with multi-channel memory controllers instead of OPB
caches.
3. Turning on the hardware multiplier and barrel shifter on MicroBlaze.
4. Enabling scatter-gather DMA
5. Use zero-copy sendfile API for transmitting packets

1 to 3 are general tips for improving the performance of any MicroBlaze
system. Other things that can help squeeze out the last bit of
performance -

1. Lock critical functions into BRAM if available
2. Increase the optimization level of the kernel and user code
3. Turn off assertions in the Xilinx drivers (Add -DNDEBUG)

As far as I know, there is no clean automated way to do the last 3 steps
right now, but you can get by with hacking linker scripts and Makefiles."

Paul

P.S. John Williams: Looks like the email archive is not working again... 
:-(

Quoting "Deli Geng (David)" <deli.geng@xxxxxxxxxxxx>:
> 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
>
___________________________
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/