LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 08-17-2011, 10:27 PM   #1
ludigel
LQ Newbie
 
Registered: Aug 2011
Location: Taiwan (that's at the right-hand-side end of the world pizza)
Posts: 4

Rep: Reputation: Disabled
Rx frames low on embedded system


Hi,
I made a little Linux OS (that should be based on ancient RedHat 9), recompiled my kernel for it and included all in a neat TFTP boot image. The embedded device (actually meant to be a gateway*)has a Tolapai CPU.
Everything works, all three NICs eth0, eth1, eth2 can even go to Internet.

Only when our test team tests the device with Smartbit (network test infrastructure) they constantly complain Rx frames would be too few.

I am using a 2.6.18.8 kernel and the LAN driver is a proprietary one made by the device maker (actually it is a modified Intel Embedded 0.8.0 driver).

Any ideas? I am out of ideas right now.

* not using it as a gateway, just configured it as a normal Linux workstation

Cheers,
Ludigel

Last edited by ludigel; 08-23-2011 at 12:26 AM.
 
Old 08-18-2011, 02:20 AM   #2
ludigel
LQ Newbie
 
Registered: Aug 2011
Location: Taiwan (that's at the right-hand-side end of the world pizza)
Posts: 4

Original Poster
Rep: Reputation: Disabled
update

A little update on this. I can now kind of reproduce the error by myself without the test team and SmartBit.

When I am using an OS image made by the device manufacturer (which I have for comparison), then I always see Rx being more packets than Tx (I am sending a lot to the system via ping).

When I use my image Rx packet No. is always smaller than TX.
 
Old 08-19-2011, 02:28 AM   #3
ludigel
LQ Newbie
 
Registered: Aug 2011
Location: Taiwan (that's at the right-hand-side end of the world pizza)
Posts: 4

Original Poster
Rep: Reputation: Disabled
improvement

Well, enabling RX_POLLING in the kernel configuration (in the network drivers section) has improved the result; yet probably not to a satisfying extend.

[Edit: Tricky part here: I only get the RX polling option I need when enabling the Intel IEGBE driver in kernel, but I am not actually using this driver but a properitary one. Makes it easy to overlook this option ;-]

Last edited by ludigel; 08-23-2011 at 08:52 PM.
 
Old 08-23-2011, 02:19 PM   #4
nini09
Member
 
Registered: Apr 2009
Posts: 981

Rep: Reputation: 67
What's your NIC speed, 1G or 100M? What's your CPU? How many core?
 
Old 08-23-2011, 08:50 PM   #5
ludigel
LQ Newbie
 
Registered: Aug 2011
Location: Taiwan (that's at the right-hand-side end of the world pizza)
Posts: 4

Original Poster
Rep: Reputation: Disabled
1G LAN. The Intel Tolapai is a system-on-chip CPU, 600MHz Pentium-M derived. Have Single-core, one thread CPU. More info here: http://home.mit.bme.hu/~feher/MSC_RA/Intel_FPGA/SP08_QATS002_100r_eng.pdf . Or more clear here: http://ark.intel.com/products/34316/...cessor-600-MHz
Just noticed my current kernel does not have the SMP option (had space problems and kicked a lot out), but does not seem as if it could help.

Edit: After consulting with customer etc. the performance of my test image is sufficient after the RX-POLLING option was chosen. I have 40% of the manufacturer image performance and that is fine for our initial test. Later we get the customer's image anyway (which has a better rootfs with less busybox). Performance diff depends on rootfs and not on hardware, so it's fine.

EDIT: Out of sheer sportsmanship I re-configured the kernel to reach 100% network throughput with my image, just like the customer. A minimal kernel sometimes just doesn't do it ;-)

Last edited by ludigel; 08-24-2011 at 08:20 PM. Reason: improvement
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File System for embedded system nima0102 Linux - Security 3 11-19-2010 03:12 PM
Xpert in 8-16 bit microcontroller embedded system now inclining toward embedded linux priyadarshan Linux - Embedded & Single-board computer 2 02-12-2009 04:28 AM
Number of recieved frames can be held in system? nandac Linux - Networking 0 10-09-2007 06:06 AM
Possible to create a frames effect in an HTML page without using frames? furfurdemon666 General 10 12-12-2004 06:52 AM
Low frames in 5 second with radeon 9500 Foxandxss Linux - Hardware 0 07-28-2004 06:46 AM


All times are GMT -5. The time now is 09:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration