GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   load averages (https://gfy.com/showthread.php?t=85296)

HQ 10-29-2002 11:08 AM

load averages
 
load average: 1.74, 4.15, 3.18

That's mine. Is this about average? What is yours? Can anyone give me some background on load averages?

XXXManager 10-29-2002 12:55 PM

In short and simple words..
Load average is the number of processes waiting for processing each clock cycle (CPU). The first number is 1 minute average, the second is 5 minute average and the last is 15 minutes average.
In general it is basically advised to have less that 1 per-cpu - so if you have a 2 cpu server, its advisable to have a load average of less than 2 (especially in the long run).
More than 1 per cpu means that there are processes that are waiting in queue to be processed and that is "inefficient".
BUT I would add this - what matters is the response time of your servers - NOT the load average. Load average may be an indication of load problem but I know servers who run very well with load average of 6 per cpu and even more. Measure your key requests response time - and if you are satistied, its good enough.
Your numbers seems ok though notice your 1 minute is lower than the 5 - which means "now" its better than the average (maybe your server was busy doing something). If you have 2 CPU its good enough. If 1 cpu - can be better..
Trying to solve load problems and reduce load average is always a good thing but you have to know what it is that raises the load average.

:2 cents:

posh rat in hell 10-29-2002 02:27 PM

It also depends a lot on software design.

Some software pushes load averages much harder than others, while accomplishing the same task in the same time.

I have seen some webservers at a 100+ load average running apache, fairly efficiently, move to thttpd, with a load average of 0.5, and still accomplish the exact same goal.

Load average is not a good way of checking server health, in and of itself.

Nbritte 10-29-2002 03:15 PM

Quote:

Originally posted by HQ
load average: 1.74, 4.15, 3.18

That's mine. Is this about average? What is yours? Can anyone give me some background on load averages?

One of the servers I take care of was running about what yours was but it also had a lot of zombie processes. Reducing the number of perl processes eliminated most of the zombie processes and reduced the server load. (the server had 11k perl processes running per hour)

if you have perl ad rotator scripts get rid of them and try a php ads rotator if you want to cut down on load and zombies

Brian

MaxDent 10-29-2002 04:03 PM

About a teaspoon and a half.....


All times are GMT -7. The time now is 09:35 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123