Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: 9263-ek ethernet performace
PostPosted: Tue May 20, 2008 8:21 pm 
Offline

Joined: Tue May 20, 2008 7:17 pm
Posts: 3
What kind of ethernet performance should I expect from the AT91SAM9263-EK board? I'm trying to mount my rootfs over NFS and the speed is painfully slow.

I've booted off a jffs2 filesystem and the system is quite fast. I then mounted a directory with NFS and tried to copy a file over and again, the speed was terrible. Using wget to download a large file over HTTP is also very slow.

Basically, I'm blaming slow ethernet speeds.

Does anyone know if I can get more speed out of this thing? I'm using Linux 2.6.24. Could the default kernel config from linux4sam.org be missing any useful TCP/IP settings?

Thanks.


Top
 Profile  
 
 Post subject: Re: 9263-ek ethernet performace
PostPosted: Wed May 21, 2008 12:56 am 
Offline

Joined: Thu Apr 19, 2007 10:15 pm
Posts: 204
Location: USA
sicon-st wrote:
Basically, I'm blaming slow ethernet speeds.


What speed is your network?
How slow is a ping to another host?
Should be less than a millisec for 1 hop at 100 mbps.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 07, 2008 8:15 pm 
Offline

Joined: Fri May 30, 2008 5:34 pm
Posts: 18
I've got an AT91SAM9G20-based board that's running Timesys' spin of 2.6.25. I have my root filesystem mounted via NFS on a Fedora 8 box, and just built netperf for both x86 and ARM so I could find out what kind of performance I'm getting through the macb driver.

Running the server on the ARM and the client on the x86, the TCP stream test shows 70-75Mbps on a 100Mbps direct connection. Running the server on the x86 and the client on the ARM, the same TCP stream test shows 30-40Mbps on the same link. The TX side of the macb driver seems to be a little lame compared to the RX side.

Back in 2.6.22, there was a kernel option called MACB_TX_SRAM that would put the transmit blocks in SRAM, instead of letting the kernel allocate SDRAM space for them. That option has disappeared in 2.6.24, but might need to make a comeback. If I can find time to work on it, I'll see if I can get the MACB_TX_SRAM patch to work again.


Top
 Profile  
 
 Post subject: Re: 9263-ek ethernet performace
PostPosted: Wed Sep 24, 2008 6:54 pm 
Offline

Joined: Sun May 20, 2007 5:11 am
Posts: 23
Location: Vancouver, BC, Canada
We still seem to be having TX problems as well. Can you let us know if you manage to patch the 2.6.24 kernel for the SRAM buffer ? Thanks

Gertjan


Top
 Profile  
 
 Post subject: Re: 9263-ek ethernet performace
PostPosted: Thu Oct 23, 2008 4:16 am 
Offline

Joined: Fri May 30, 2008 5:34 pm
Posts: 18
I apologize... I'm not receiving notices from the forum when people reply to my messages, so I didn't know you had asked about the TX_SRAM option. I've had so many other details to work out on my g20 board that I never got back to looking at the MACB driver.

But I did see over on the Linux board that you've already done the patch yourself, without much benefit. I guess the new (non-SRAM) driver code is just more efficient than the old code, so you get the same performance without having to dedicate the SRAM to the network driver. That's probably a good thing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: