Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7734699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:18:57+00:00 2026-06-01T07:18:57+00:00

First, sorry for my bad english. I am using the mpstat tool in Ubuntu

  • 0

First, sorry for my bad english.

I am using the mpstat tool in Ubuntu server to print the value of cpu percent idle every second. On the client side, I tried to send a UDP request/second, that the number of request increases every 60s. The server is using 8 cores, and the result of mpstat is a decrease of idle state (from 100 % -> stabilize in 80% ). I believe to count the total cpu usage is by (100% minus idle state). The software that runs in the server runs as ROOT (so I can’t use us% parameter in mpstat)

I was thinking that this might be the case as however I increase the load, the cpu usage will peak in around 80% idle state. Is this the correct assumption ? I tried to see some reference about the OS behaviour regarding the performance, but I can’t find any good explanation why after jumping from 100 % to 80%, it stabilize whatever the number of load I send. I assume this is because the locking mechanism that the software on the server side uses, thus no more increment can be achieved.

Would appreciate of any pointers..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:18:59+00:00Added an answer on June 1, 2026 at 7:18 am

    My first guess would be that your application is IO-bound and not CPU-bound, as is typical with networking software. This would mean that the throughput of the network card is the bottleneck, not processor performance. You can only push a certain number of packets through the network and if your operations on each packet are not very complicated, it is quite probable that you will saturate your NIC before you saturate your CPU.

    Have you checked that the number of packets actually sent indeed still increases at the time your CPU profile flattens? If the network card is the cause, you should see at some point that the sending side cannot send any more packets in a time unit, because the receiver can’t receive them that fast. In the short run this may be smoothed out by buffering, but not in the long run. One possibility is that since you are using UDP and not TCP, perhaps the packets are silently dropped if the network can’t handle them. So from the sender’s point of view it looks like they’re sending lots and lots of packets but in reality only few arrive. Maybe you should put a counter in your app and display the number of packets correctly received per unit of time once every 10000 packets or so. Then, you would know if you are loosing packets due to reaching the network’s throughput (which would then explain a limit on CPU usage). If you are actually correctly receving these packets, then the cause is probably something else – but I’d check this first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At first, sorry for my bad english. I am using Uploadify with image cropper
first of all, sorry for my bad english, isnt my native language. Im using
At first sorry my bad English. I want define routing for this url: For
at first sorry my bad English I want load model in my plugin controller
First of all sorry for my bad english and Im pretty new in these
First, sorry for my bad english, I'm French. Here the problem : I have
First of all hello people, and sorry for my bad English, I'm Brazillian! I've
first of all... i'm italian, so i'm sorry for my bad english! so... this
First : Appologize for my bad english. Sorry for this newbie software question, but
First, sorry for bad english :-) On a little website i own, i would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.