RE: ML403 gigabit ethernet bandwidth - 2.6 kernel

2 messages, 2 authors, 2007-06-23 · open the first message on its own page

RE: ML403 gigabit ethernet bandwidth - 2.6 kernel

From: Mohammad Sadegh Sadri <hidden>
Date: 2007-06-23 19:08:30

Dear Ming,

Really thanks for reply,

about thresholds and waitbound OK! I'll adjust them in adapter.c ,

but what about enabling jumbo frames? should I do any thing special to enable Jumbo fram support? 

we were thinking that it is enabled by default. Is it?

thanks




----------------------------------------
From: eemingliu@hotmail.com
To: mamsadegh@hotmail.com; akonovalov@ru.mvista.com; linuxppc-embedded@ozlabs.org; grant.likely@secretlab.ca
Subject: RE: ML403 gigabit ethernet bandwidth - 2.6 kernel
Date: Sat, 23 Jun 2007 18:48:19 +0000

Dear Mohammad,
There are some parameters which could be adjusted to improve the 
performance. They are: TX and RX_Threshold TX and RX_waitbound. In my 
system, we use TX_Threshold=16 and Rx_Threshold=8 and both waitbound=1.

Also Jumbo frame of 8982 could be enable.

Try those hints and share your improvement with us.

BR
Ming
quoted
From: Mohammad Sadegh Sadri 
To: Andrei Konovalov , Linux PPC Linux 
PPC, Grant Likely 
quoted
Subject: ML403 gigabit ethernet bandwidth - 2.6 kernel 
Date: Sat, 23 Jun 2007 12:19:12 +0000


Dear all,

Recently we did a set of tests on performance of virtex 4FX hard TEMAC 
module using ML403
quoted
we studied all of the posts here carefully: these are the system 
characteristics;
quoted
Board : ML403
EDK    : EDK9.1SP2
Hard TEMAC version and PLTEMAC version are both 3.0.a
PPC clock frequency :  300MHz
Kernel : 2.6.21-rc7 , downloaded from grant's git tree some thing near one 
week ago
quoted
DMA type: 3 (sg dma)
DRE : enabled for TX and RX, (2)
CSUM offload is enabled for both of TX and RX
tx and rx fifo sizes : 131072 bits

the board comes up over NFS root file system completely and without any 
problems.
quoted
PC system used for these tests is : CPU P4 Dual Core, 3.4GHz , 2Gigabytes 
memory, Dual gigabit ethernet port, running linux 2.6.21.3
quoted
We have tested the PC system band width and it can easily reach 966mbits/s 
when connected to the same PC. ( using the same cross cable used for ml403 
test)
quoted
Netperf is compiled with TCP SEND FILE enabled, ( -DHAVE_SENDFILE)

(from board to PC)
netperf -t TCP_SENDFILE -H 10.10.10.250 -F /boot/zImage.elf -- -m 16384 -s 
87380 -S 87380
quoted
the measured bandwidth for this test was just 40.66Mbits.
It is also true for netperf from PC to board.

we do not have any more idea about what we should do to improve the 
bandwidth.
quoted
any help or ideas is appreciated...

_________________________________________________________________
Connect to the next generation of MSN 
Messenger?>http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
quoted
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx

RE: ML403 gigabit ethernet bandwidth - 2.6 kernel

From: Ming Liu <hidden>
Date: 2007-06-23 19:10:18

Use the following command in Linux please:

ifconfig eth0 mtu 8982

As well you should do that on your PC in the measurement.

Ming

From: Mohammad Sadegh Sadri <redacted>
To: Ming Liu <redacted>, 
[off-list ref],[off-list ref], 
[off-list ref]
Subject: RE: ML403 gigabit ethernet bandwidth - 2.6 kernel
Date: Sat, 23 Jun 2007 19:08:29 +0000


Dear Ming,

Really thanks for reply,

about thresholds and waitbound OK! I'll adjust them in adapter.c ,

but what about enabling jumbo frames? should I do any thing special to 
enable Jumbo fram support?
we were thinking that it is enabled by default. Is it?

thanks




----------------------------------------
quoted
From: eemingliu@hotmail.com
To: mamsadegh@hotmail.com; akonovalov@ru.mvista.com; 
linuxppc-embedded@ozlabs.org; grant.likely@secretlab.ca
quoted
Subject: RE: ML403 gigabit ethernet bandwidth - 2.6 kernel
Date: Sat, 23 Jun 2007 18:48:19 +0000

Dear Mohammad,
There are some parameters which could be adjusted to improve the
performance. They are: TX and RX_Threshold TX and RX_waitbound. In my
system, we use TX_Threshold=16 and Rx_Threshold=8 and both waitbound=1.

Also Jumbo frame of 8982 could be enable.

Try those hints and share your improvement with us.

BR
Ming
quoted
From: Mohammad Sadegh Sadri
To: Andrei Konovalov , Linux PPC Linux
PPC, Grant Likely
quoted
Subject: ML403 gigabit ethernet bandwidth - 2.6 kernel
Date: Sat, 23 Jun 2007 12:19:12 +0000


Dear all,

Recently we did a set of tests on performance of virtex 4FX hard TEMAC
module using ML403
quoted
we studied all of the posts here carefully: these are the system
characteristics;
quoted
Board : ML403
EDK    : EDK9.1SP2
Hard TEMAC version and PLTEMAC version are both 3.0.a
PPC clock frequency :  300MHz
Kernel : 2.6.21-rc7 , downloaded from grant's git tree some thing near 
one
quoted
week ago
quoted
DMA type: 3 (sg dma)
DRE : enabled for TX and RX, (2)
CSUM offload is enabled for both of TX and RX
tx and rx fifo sizes : 131072 bits

the board comes up over NFS root file system completely and without 
any
quoted
problems.
quoted
PC system used for these tests is : CPU P4 Dual Core, 3.4GHz , 
2Gigabytes
quoted
memory, Dual gigabit ethernet port, running linux 2.6.21.3
quoted
We have tested the PC system band width and it can easily reach 
966mbits/s
quoted
when connected to the same PC. ( using the same cross cable used for 
ml403
quoted
test)
quoted
Netperf is compiled with TCP SEND FILE enabled, ( -DHAVE_SENDFILE)

(from board to PC)
netperf -t TCP_SENDFILE -H 10.10.10.250 -F /boot/zImage.elf -- -m 
16384 -s
quoted
87380 -S 87380
quoted
the measured bandwidth for this test was just 40.66Mbits.
It is also true for netperf from PC to board.

we do not have any more idea about what we should do to improve the
bandwidth.
quoted
any help or ideas is appreciated...

_________________________________________________________________
Connect to the next generation of MSN
Messenger?>http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
quoted
quoted
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help