Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT] load average
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Mon Feb 21, 2005 11:20 pm    Post subject: [OT] load average Reply with quote

Hallo,
ich weiss mehr oder weniger was der "load average" ist, und bei mir beträgt er immer 1-3 (Seti im Hintergrund).
Nun sehe ich auf kernel.org, dass deren load average auf 690(!) steht. Ich frage mich, wie die Kiste das aushält.
Hat einer nen Plan?
Back to top
View user's profile Send private message
c07
Veteran
Veteran


Joined: 25 Oct 2002
Posts: 1091

PostPosted: Tue Feb 22, 2005 12:13 am    Post subject: Re: [OT] load average Reply with quote

Wenn du auch mal so eine Load haben willst, brauchst du ja bloß
Code:
for (( i=0; i<690; ++i )); do nice -n19 bash -c "while true; do true; done" & done
machen (besser in einer eigenen Konsole, damit du alles schnell wieder los wirst). Dauert ein bisschen, bis sie alle unterwegs sind, beeindruckt aber meinen Duron 700 sonst gar nicht.
Back to top
View user's profile Send private message
M@rio
n00b
n00b


Joined: 01 Dec 2004
Posts: 27
Location: Graz

PostPosted: Tue Feb 22, 2005 12:16 pm    Post subject: Re: [OT] load average Reply with quote

Das kommt auf Grund der Art wie "Load" definiert ist.

Einen sehr ausfühlichen Artikel dazu gibts hier: http://www.teamquest.com/resources/gunther/ldavg1.shtml
Back to top
View user's profile Send private message
papahuhn
l33t
l33t


Joined: 06 Sep 2004
Posts: 626

PostPosted: Wed Feb 23, 2005 4:23 pm    Post subject: Reply with quote

Danke, den Artikel hab ich schon mal gelesen. Macht auf mich den Eindruck, als ob die Programmierer selber nicht wüssten, was es ist.

@c07:
Hab deinen Code mal getestet; meine Kiste kommt damit auch klar. Das rührt aber daher, dass es mich nicht interessiert, ob eine nichtstuende Schleife 5000 oder 5mal pro Sekunde durchlaufen wird. Ein Prozess auf einem gutbesuchten Webserver sollte aber spürbare Effekte haben; ebenso sollte eine langsame Ausführung dieses Prozesses ebenfalls spürbar sein.
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1939

PostPosted: Wed Feb 23, 2005 7:52 pm    Post subject: Re: [OT] load average Reply with quote

c07 wrote:
Wenn du auch mal so eine Load haben willst, brauchst du ja bloß
Code:
for (( i=0; i<690; ++i )); do nice -n19 bash -c "while true; do true; done" & done
machen (besser in einer eigenen Konsole, damit du alles schnell wieder los wirst). Dauert ein bisschen, bis sie alle unterwegs sind, beeindruckt aber meinen Duron 700 sonst gar nicht.


Erstaunlich! Habe das grade mal ohne "nice" gemacht. Der Load geht naturgemäß auf eine dreistellige Zahl hoch, aber man kann immer noch mit dem System arbeiten (Pentium M mit 1400MHz). Respekt!8)
Ich glaube ich muss das mal unter Windows ausprobieren...:twisted:
Back to top
View user's profile Send private message
ro
Apprentice
Apprentice


Joined: 28 Mar 2003
Posts: 289

PostPosted: Thu Feb 24, 2005 2:47 am    Post subject: Reply with quote

lustig, ich hab mich damit auch schon auseinandergesetzt, zB der exploit für kernel 2.6.10 bringt auch ne hohe load average (logisch ;-). aber auf meiner workstation hatte ich mal 30 und da konnte ich mich an den konsolen schon nicht mehr einloggen um den prozess zu killen weil das timeout jedesmal erreicht wurde :(
_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum