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

Re: [microblaze-uclinux] Re: speeding up ethernet transmission



Hi Jim,

jim bo wrote:
> Oops.  I meant 3600 bytes/s, not bits/s.  Still very slow.  I'm
> writing an app today to try out UDP.  That should speed it up a bit.

I tried a little test, transferring a 10Mbyte file of zeros via tftp:

# time tftp -g -r bigzero.bin -l /dev/null g435-9029 

real    1m 34.01s 

user    0m 2.21s 

sys     1m 31.29s

Then a rough correction to counter for data copy overhead:

# time dd if=/dev/zero of=/dev/null bs=1024 count=10k 

10240+0 records in 

10240+0 records out 

real    0m 9.26s 

user    0m 0.10s 

sys     0m 9.14s

gives an approximate time of 80 seconds for 80 Mbits, or around 
1Mbit/sec  - not a racehorse but certainly faster than the result you 
are reporting.

What board are you using?  Do you have i/d caches enabled, etc?

Cheers,

John


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