PDA

View Full Version : Is that good or bad (CPU USAGE)


d3bugg3r
11-03-2001, 04:25 PM
i dont know how to tell if it's good or bad.
so if someone could explain me a bit about this log and tell me if it's good or bad i will thank him alot.

5:18pm up 22:28, 1 user, load average: 1.06, 0.46, 0.17
73 processes: 71 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 2.6% user, 1.1% system, 0.0% nice, 43.1% idle
Mem: 254332K av, 252116K used, 2216K free, 0K shrd, 11504K buff
Swap: 265032K av, 0K used, 265032K free 173556K cached

Dammy
11-03-2001, 04:33 PM
I'm no expert, but it looks good to me. Low CPU usage, load average ok as well... :)
I'd think about getting more RAM though. Could speed up the loading time.

XP
11-03-2001, 04:46 PM
looks like really low cpu usage
but in last 5 minutes, you have run somethings using more cpu :))

thoose values are 5 - 10 - 15 minutes averages

d3bugg3r
11-03-2001, 04:53 PM
Always good to learn new things :)

You're right i Upgraded some software while i made the CPU check so it's porbably why the CPU usage went up.

RaiDeN
11-03-2001, 05:33 PM
Originally posted by d3bugg3r:
<STRONG>i dont know how to tell if it's good or bad.
so if someone could explain me a bit about this log and tell me if it's good or bad i will thank him alot.

5:18pm up 22:28, 1 user, load average: 1.06, 0.46, 0.17
73 processes: 71 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 2.6% user, 1.1% system, 0.0% nice, 43.1% idle
Mem: 254332K av, 252116K used, 2216K free, 0K shrd, 11504K buff
Swap: 265032K av, 0K used, 265032K free 173556K cached</STRONG>

looking good for about 1 thing..

you only got 256 Mb Ram. you'd better upgrade that to at least 1 Gig , while the prices are good. :D

and a SWAP of 256 Ram... you'd better have your techs make make that 2 Gig.

not neccesary offcourse but when you go over 1025 Maxclients on your dedicated, you'd better have it just in case...

Ravo
11-03-2001, 05:35 PM
I've been told that a "load average" less than 4 is excellent, once you get above 10 it severely loads the server, and above 40 will crash the box.

Your numbers look excellent.

Due
11-03-2001, 05:42 PM
Originally posted by RaiDeN:
<STRONG>

looking good for about 1 thing..

you only got 256 Mb Ram. you'd better upgrade that to at least 1 Gig , while the prices are good. :D

and a SWAP of 256 Ram... you'd better have your techs make make that 2 Gig.

not neccesary offcourse but when you go over 1025 Maxclients on your dedicated, you'd better have it just in case...</STRONG>

I have NEVER yet seen a server that needed more than 1 Gig RAM and 512 MB SWAP.
Should be plenty.
If you use 1 Gig Ram start considering putting up more servers instead og throw in 512 MB or 1 Gig extra RAM and see how it works.
Ravo&gt;
The number that crash the server depends on the setup of the server. I managed to have a server running with around 160 (YES was VERY slow but still was alive) but basicly on my traffic trading sites I try to keep it below 1 other than that keep it as low as possible :)

Due
11-03-2001, 05:43 PM
*LOL* 160 = 60 :D

unconnected
11-03-2001, 08:30 PM
how muhc BW are you pushing on that box..
My box usually sits at 85-95% idle, and there are some hardcore scripts running some decent traffic... I had a BSD guru rip my box apart for 6 hours and recompile it though...

Coke
11-03-2001, 09:39 PM
Yep, that looks quite good. The only thing that bothers me a little is the low uptime though :)

ABout the load average. I had a server once go up to a load average of over 600 (yes six hundred). That was a dedicated server of a customer of ours and he had some PHP scripts running amok :)
Killing all children of Apache took about 15 minutes but afterwards the server was fully recovered, so to speak. Then I rebooted the server anyway though :D

XP
11-04-2001, 10:37 AM
I see 300-400 average on prohosters, before days ago. But it was still working!
Server has 4 gig ram and 4x1Ghz cpu I think :D

hickmant
11-04-2001, 12:38 PM
ah the joy of clusters :)

That is actually 8 dual 933's with 1GB of ram there. If one machine is so it's taken out of the pool and the others take over.
just wanted to clear this up.

Ted

axxxis
11-05-2001, 01:12 PM
Looks to me like you are running linux, that might be your problem, if one exists :) FreeBSD - The power to serve!