473,378 Members | 1,419 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

cpu utilization and balanced in linux

amarniit
Hi Everyone,

I have a problem for Linux Server (CentOS) i have 4 CPUs in my server but when i checked only one CPU uses show 30% and more.

Now i want balance all my load on all four CPUs like if i have 40% load on server thn it should be 10-10% on each CPU.

So please help me how can i set or fix that ecah of my cpu will take equal balance....

like :
cpu 1: 10%
cpu 2: 10%
cpu 3: 10%
cpu 4: 10%


but this time i am getting like
cpu 1: 40%
cpu 2: 0%
cpu 3: 0%
cpu 4: 0%


Skype: amarniit
Feb 12 '14 #1
1 1481
Nepomuk
3,112 Expert 2GB
Normally the operating system will handle balancing the load between CPUs by itself as far as possible; as it isn't doing this here I wouldn't be surprised if it is mainly running one big task that isn't multi-core ready. If this is the case there's little you can do without switching the program or alternatively updating it.

You could try using a tool like Cgroups which allows you to modify the resources attributed to various tasks; I have never used this myself though, so I can't say for sure if it will work or how to set it up. I'm sure you can find instructions on that online though.
Feb 14 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Anks | last post by:
I am using applet to servlet communication for my web based application.But after running fine for some time apache tomcat server hangs.I am not able to figure out its cause .the cpu utilization at...
12
by: Anon | last post by:
Hello all, I'm hoping for some guidance here... I am a c/c++ "expert", but a complete python virgin. I'm trying to create a program that loads in the entire FreeDB database (excluding the...
26
by: Simon | last post by:
I'm doing a survey. When do you think GNU/Linux will be ready for the average Joe? What obstacles must it overcome first?
1
by: Simon Sadedin | last post by:
Folks, I’m hoping someone can give me some pointers to resolving an issue with postgres and it’s ability to utilize multiple CPUs effectively. The issue is that no matter how much query...
1
by: Jag | last post by:
hi all, how can i monitor cpu utilization per database or per instance. i run snapshot for database and get lots of information which probably can be used to come up with some equation. is...
0
by: db2udbgirl | last post by:
How can I find out whether any node is carrying a disproportionate share of the work, whether processing across the node is balanced, or is there a bottleneck node while using DB2 EEE? I'm sorry...
1
by: nazgul | last post by:
Hi all, I have an app that runs on multiple boxes. On my slackware box, running Python 2.5.1, top shows this: Mem: 1002736k total, 453268k used, 549468k free, 31392k buffers Swap: ...
0
by: PRR | last post by:
with WMI class Win32_Process i can get most details of Processes running one Pc.. except CPU utilization... THe class for CPU utilization u need to use Win32_PerfFormattedData_PerfProc_Process ...
1
by: Kaheru | last post by:
memory utilization increase? This is because when i try to keep track of the CPU utilization and memory utilization of my FTP server process (ftpserver.exe), the CPU utilization increase, but the...
1
by: anjaliraman2 | last post by:
Hi All, I am facing a problem of writing into and reading from syslog in Linux Enviornment using C++. The CPU utilization is extremely high of about 55% and is creating problems for other...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.