LinuxQuestions.org
Register a domain and help support LQ
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 01-29-2013, 11:38 AM   #1
Gabi Souza
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Smile high CPU usage = better ping results?!


Hello,
Iím working on some measurements and the ping results are intriguing me. I tested it in several scenarios and the results are the same: the ping results are better when the CPU load is higher.

The Round Trip Time decreases from about 30 usec with low CPU to ~5 or less usec with high CPU. In a quadcore machine, a single CPU being used already causes this effect

Anyone has seen this kind of behavior before? It seems to be scheduling of the Linux kernel but Iím not sure.

Thanks!
 
Old 01-30-2013, 06:04 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 12,073

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
The only thing I could guess is that somehow part of the process gets offloaded to the nic. And I don't know how the kernel can change that based on cpu load. Usually it is a nic setting to offload checksum to nic. That tends to be the fastest way to set for server work.

As you say, it could be some oddity of numbers, where the process actually gets a skewed priority.
 
Old 01-30-2013, 08:22 PM   #3
whizje
Member
 
Registered: Sep 2008
Location: The Netherlands
Distribution: Slackware64 current
Posts: 583

Rep: Reputation: 129Reputation: 129
It might be that at low load the processor goes to a lower power mode at the expense of higher latencies.
 
Old 01-31-2013, 04:33 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 12,073

Rep: Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518Reputation: 1518
A good thing to check also is what whizie suggests.
 
  


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
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 10:24 AM
high cpu usage on %us and %sy melano Linux - Newbie 7 10-21-2012 09:40 PM
High load and high cpu kernel usage enid Linux - Server 8 09-30-2010 04:33 AM
CPU usage too high! rock.k Linux - Newbie 4 03-01-2008 05:48 AM
High Cpu usage untak Debian 21 01-23-2007 07:21 AM


All times are GMT -5. The time now is 10:25 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration