load

Alexios Chouchoulas alexios at vennea.demon.co.uk
Fri Jun 20 21:10:51 EEST 1997


On Fri, 20 Jun 1997, Harris Kosmidhs wrote:

> Mia erothsh gia to load. Ena mhxanhma pote anebazei load? Otan exei users
> pou katanalonoun mnhmh, otan exei megalh CPU usage h otan xrhsimopoiei
> disko?.

  To load enos mhxanhmatos einai iso me ton arithmo twn processes pou
briskontai sto running state ana loop tou scheduler. To load pou blepeis me
uptime(1), top(1) kai sto /proc/loadavg einai o mesos oros tou load to
teleftaio lepto, ta teleftaia 5(?) kai ta teleftaia 10(?) lepta antistoixa.
Den thymamai ta akribh noumera, mporei na einai 1,2,5 anti gia 1,5,10. Kathe
diorthwsh dekth.

  Afto pou sou anebazei to load einai ena process to opoio apaitei na
leitourghsei olh thn wra. Ena process sto sleeping state den trwei load mia
kai to round robin den to koitaei katholou.

  Otan to process sou kanei poly I/O kai ligo processing, tote pernaei
megalo meros ths zwhs tou sto sleeping state (o kernel to ksypnaei otan to
I/O/system call teleiwsei). Ena process pou den kanei katholou I/O kai
ektelei mono mathimatika olh thn wra anebazei to load kata 1 (px ena
atermono loop to kanei afto, h ena Netscape pou den exei psofhsei swsta).


> Se 2 IRIX (ena Indigo kai ena O2) exei load 5 h 6 eno otan kano top den
> blepo kamia process pou na pianei mnhmh h CPU. (to mhxanhma den exei oute
> 11 user mesa ektos apo mena !!)

  Kalh erwthsh. :-)  Kathe Unix exei diaforetiko tropo pou sou anaferei ta
running processes. Blepw px mpolikes diafores metaxy Solaris, HP/UX kai
Linux. Gia to Irix den kserw... Pws koitas ta processes? Einai pithano na
trexei synexeia kapoios daemon kai na mhn ton blepeis. 'H apla na einai
apoblakwmenos o kernel (akoygontai diafora paraksena gia thn statherothta
tou Irix).


Alexios Chouchoulas          '88    ,88'   ,88'     alexios at vennea.demon.co.uk
The Unpronounceable One     ,o88oooo88ooooo88oo,              axc at dcs.ed.ac.uk

--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argeas.argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list