What's a high load for my system?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users What's a high load for my system?
# 1  
Old 08-30-2010
What's a high load for my system?

I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong.

I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor.

Our load seems to spend a lot of time above 5. When I look at right right now (off peak hours) I get 6.92, 7.02, 5.95.

Now normally you want your load under the number of concurrent processes your machine can run. In our case I'm not sure if that's 2 or 4. But more realistically, even when the load touches 12 for a brief moment the server seems to respond pretty well. I doubt more than 1/4 of a second is added.

Question: If you were setting up nagios, where would you set your critical and urgent alerts for load for a system lime mine?
# 2  
Old 08-30-2010
Dual core means two concurrent processes, one per core.

As you've discovered, load's not the whole story, it really depends on what the load is. If things play nice, i.e. don't thrash the disk and don't hog memory, your system can run lots of them without much strain. (The more of them you have beyond the number of cores, the slower they'll run of course.) nice them so important things get higher priority, and responsivity will get even better.

So what your maximum load is really depends what your system's actually doing.
# 3  
Old 08-30-2010
So the i7 in my desktop should, in theory, be ok with a load under 8. It has 4 cores with hyper threading. It looks like 8 to task manager in Win 7 (4x2).

Are you saying the x3110 only runs 2 processes at a time?

Last edited by vanguard; 08-30-2010 at 03:16 PM..
# 4  
Old 08-30-2010
Quote:
Originally Posted by vanguard
So the i7 in my desktop should, in theory, be ok with a load under 8. It has 4 cores with hyper threading.
Hyperthreading isn't multitasking. The effect, in an OS equipped to handle hyperthreading, is about a 30% performance improvement over a non-hyperthreading core. That it appears as two "virtual" cores is a side-effect, you don't really have eight cores.

So, four cores, four simultaneous processes.
Quote:
Are you saying the x3110 only runs 2 processes at a time?
Two cores, two simultaneous processes.

These CPU's could be fine with a great deal more processes than that depending on speed requirements etc. They will just have to start time-sharing in order to run them all.
# 5  
Old 08-30-2010
Great reply. So now on to the critical question.

It's a php/mysql server. What kind of magic numbers would you set for the monitoring software?

I'm think alert at a load of 8 and critical around 16?

Anything under 8 and I don't care.

Thoughts?
# 6  
Old 08-31-2010
Should work, I suppose. Most of the jobs are going to be tiny, then. (with perhaps the odd huge one here or there, like a database fullsearch or something.) Taken by itself, load doesn't tell you all that much; it doesn't tell you how long things have been running for one thing, so an average of 8 could mean 8 quick requests on average or 4 quick requests on average plus four more that are pinned and getting nowhere. It also doesn't tell you anything about resource competition(except in that when things slow down, the load average may creep higher yet as jobs back up.)

Last edited by Corona688; 08-31-2010 at 04:38 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Log files @ high load

Hi, my VPS was overloaded and inaccessible for some time and i want to ask for help in which log files i need to look, or which tools to setup to monitor and find the cause of repeated hig load? watched: /var/log/messages /var/log/secure /var/log/httpd/access_log /var/log/httpd/error_log... (1 Reply)
Discussion started by: postcd
1 Replies

2. Infrastructure Monitoring

SNMP responses failing under high system load

Greetings, I've got a Zenoss v2.5 server monitoring a large video encoding farm. Needless to say, these systems are under high bandwidth and CPU utilization the majority of the time. What I'm running into is that, occasionally, these systems will fail to respond to a standard SNMP request,... (1 Reply)
Discussion started by: Karunamon
1 Replies

3. UNIX for Advanced & Expert Users

High load average troubleshoot

Hi all, hope you can help me. I'm getting high load average and can't find a reason for this, please share your inputs. load average: 7.78, 7.50, 7.31 Tasks: 330 total, 1 running, 329 sleeping, 0 stopped, 0 zombie Cpu0 : 7.0%us, 1.0%sy, 0.0%ni, 23.9%id, 0.0%wa, 38.9%hi,... (4 Replies)
Discussion started by: erick_tuk
4 Replies

4. Red Hat

apache high cpu load on high traffic

i have a Intel Quad Core Xeon X3440 (4 x 2.53GHz, 8MB Cache, Hyper Threaded) with 16gig and 1tb harddrive with a 1gb port and my apache is causing my cpu to go up to 100% on all four cores heres my http.config <IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 15... (4 Replies)
Discussion started by: awww
4 Replies

5. UNIX for Advanced & Expert Users

High availability/Load balancing

Hi folks, (Sorry I don't know what its technology is termed exactly. High Availability OR load balancing) What I'm going to explore is as follows:- For example, on Physical Servers; Server-1 - LAMP, a working server Server-2 - LAMP, for redundancy While Server-1 is working all... (3 Replies)
Discussion started by: satimis
3 Replies

6. UNIX for Dummies Questions & Answers

Determining cause behind high load average

How to determine what is causing high load average in a system? (3 Replies)
Discussion started by: proactiveaditya
3 Replies

7. HP-UX

HIgh Load

Hi All. In my production server the load is very high. normally it used to be less than 1,but now it is more than 5. I am new to unix all together. I want to know what is the reason behind high load. and if it is high what is the impact? (4 Replies)
Discussion started by: jyoti
4 Replies

8. UNIX for Advanced & Expert Users

Sun: High kernel usage & very high load averages

Hi, I am seeing very high kernel usage and very high load averages on my system (Although we are not loading much data to our database). Here is the output of top...does anyone know what i should be looking at? Thanks, Lorraine last pid: 13144; load averages: 22.32, 19.81, 16.78 ... (4 Replies)
Discussion started by: lorrainenineill
4 Replies

9. AIX

Application high CPU load

after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies
Login or Register to Ask a Question