LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-05-2014, 06:44 PM   #1
redxtaz
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
Bridging performance vs CPU utilization


Hi,

I'm bridging two network interfaces. I tested throughput of a TCP session, I'm getting around 350 Mbps of throughput. When I do the same test with a Cisco switch, I'm getting over 800Mbps of throughput. So I checked the CPU utilization with sar -u 5 100 and top but I don't understand the result. I expected to see a high value for %system, but I'm getting this:

# sar -u 5 100
Linux 3.2.0-4-686-pae (mpcr01) 05/06/14 _i686_ (4 CPU)

07:28:26 PM CPU %user %nice %system %iowait %steal %idle

07:29:26 PM all 0.00 0.00 0.00 0.00 0.00 100.00
07:29:31 PM all 0.00 0.00 0.05 0.00 0.00 99.95
07:29:36 PM all 0.00 0.00 0.37 0.00 0.00 99.63
07:29:41 PM all 0.00 0.00 0.51 0.00 0.00 99.49
07:29:46 PM all 0.00 0.00 0.51 0.00 0.00 99.49

Do I understand correctly that the CPU us utilized at 0.51% only?
How can I improve network performance in bridging?

Thanks,
 
Old 06-08-2014, 10:32 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
How can I improve network performance in bridging?
The primary limiting factor in bridging, at least in my experience, is the performance of the adapter(s) and the system bus width. That's why you find network hardware with the CPU performance of a childs toy handling massive levels of traffic.
Quote:
the CPU us utilized at 0.51%
I was surprised the first time I noticed that as well, however the more your work with this stuff, the less surprising it becomes to the point where if you see your processor spiking hard on inetd, you know you've mis-configured something.

Last edited by dijetlo; 06-08-2014 at 10:34 AM.
 
  


Reply



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
High Run queue utilization although CPU utilization is low.. rajeprag Linux - Server 0 08-18-2013 09:44 AM
how to find all processes cpu utilization & the cpu processor in linux? vasanth.v999 Linux - Server 7 01-10-2012 08:43 AM
High CPU utilization on only one CPU out of 4 CPUs makam.sreekanth Linux - Kernel 2 09-03-2009 04:12 AM
Linux desktop GUI tool for CPU utilization and bandwidth utilization karimasif Linux - Software 4 03-03-2008 01:09 PM
CPU Utilization / Performance Monitoring codegomer Linux - General 3 02-18-2004 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration