[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Error when processing wget
Hi Qichen,
Qichen Huang wrote:
> Here is the result of my measurement:
> using 100MHz uclinux/microblaze (ML403, virtex4):
> 10mbps, top speed 843KB/s, average speed to download a file (2 or 10
> Mbyte) varies from 330KB/s to 775KB/s.
> 100mbps, top speed 820KB/s, ave. speed varies from 294KB/s to 682KB/s.
That doesn't sound right. Are you using the SGDMA or FIFO mode for the ethernet
MAC?
The block size used in the transfer can have a huge impact. I've not
experimented with wget, but I know with tftp using larger block sizes gave up to
10X bandwidth improvements.
Also, have you confirmed it's not some local network issue? I've had problems
in the past with embedded systems sitting on corporate networks, being hammered
by broadcast packets.
The cleanest way to test this stuff is to put a 2nd network card in your PC,
hang a 100mbit switch off that, and put your embedded systems off that switch.
With consumer networking gear so cheap it is a small price to pay for
predictability in the lab.
Regards,
John
___________________________
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/