[GE users] "nice CPU"

Reuti reuti at staff.uni-marburg.de
Tue Jun 20 11:10:45 BST 2006


Hi,

Am 20.06.2006 um 10:43 schrieb Rui Ramos:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi all,
>
>  I'm having some doubts here maybe someone can shad some lights.  
> It's about "nice CPU", from my understating the nice CPU is related  
> with the rescheduling of the process in the CPU stack or something  
> like that. I have this job partree and as you can see in the top  
> output.
>
> Cpu0  :  0.0% us,  1.0% sy, 99.0% ni,  0.0% id,  0.0% wa,  0.0%  
> hi,  0.0% si
> Cpu1  :  0.0% us,  0.0% sy, 100.0% ni,  0.0% id,  0.0% wa,  0.0%  
> hi,  0.0% si
> Mem:   4059580k total,  3440080k used,   619500k free,   216172k  
> buffers
> Swap:  8385920k total,        0k used,  8385920k free,  2244680k  
> cached
>
> PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 6631 lfa       39  19 24608 8280 1392 R 99.7  0.2  15435:50 partree
> 6663 lfa       39  19 25552 9228 1392 R 98.7  0.2  15406:25 partree
>
> It get's the 2 CPUs on 99.7 and 98.7 usage. But 0% in user usage.  
> If i have a policy in the SGE based on CPU time limits how can i  
> control the "nice CPU". Is it possible to set a CPU limit for this  
> one as well ?

there should be no difference, as all timing should go to the user  
time in the end. Do you see any difference when you run interactively:

time partree
nice -19 time partree

-- Reuti

>                                                             Best  
> Regards
> - --
> ============================================
>  Rui Manuel dos Santos Ramos
>
>  Instituto de Recursos e Iniciativas Comuns
>  Praca Gomes Teixeira, 4099-002 Porto, Portugal
>
>  phone : +351 223 401 571
>  e-mail: rramos[at]iric.up.pt
>     web: http://ruiramos.homeip.net
> ============================================
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
>
> iQEVAwUBRJe1Ir1uR0bdnTWSAQKHFwf9HQLBE22O2k5x3MQYIdc+zp5eynwdCSj3
> fEObNAFADnwU6mlJhSPzc8iIu2es69RzEHLKGPmpWKfFQNo8oe57rhD1qA/19CkX
> +fuETXX/s0mbS95axjEu0XN/ZBRD9xexpjQD2TVMyOiXzKop+x9xwtUOw8werINY
> 7Dz4XNwTiXjZrWLsJmIOpOXyH8tUqdDwnQ5IvGzXnrGNIpe/Z4Z0cyCWk4o6tRJM
> +v4bgR8mj8nc4MmG1aIpqg+eOXpZCRD42xImuZ5xWdbrj0O2b9YtFEidc/hb8EH1
> S9O8y7jJB7Rc2TlMSWzwhwd/aatV3KcYBI36OSOBWw2Rq8mjZxOCMA==
> =qYci
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list