[GE users] "nice CPU"

Rui Ramos rramos at iric.up.pt
Tue Jun 20 11:35:31 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


 Hi, 

 thanks on the quick reply Reuti

On Tue, 20 Jun 2006 12:10:45 +0200
Reuti <reuti at staff.uni-marburg.de> wrote:

> 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:
>
  Ok, tought this could be one of the problems for the mpi time not being updated, but i guess is not related.

> time partree
> nice -19 time partree
> 
 Interactively i get the same percentages and in the time output i get.

 real    0m46.345s
 user    0m0.203s
 sys     0m0.074s

                             Thanks

> -- 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


- -- 
============================================
 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)

iQEVAwUBRJfPc71uR0bdnTWSAQJh0gf/QY6zdh+iYekR2/Qgty1bvrtfjqwMFmtW
CGXhLw05iLJR7y06EJk9Cq0UnT7q6UOE5SNgM8UagWxmruKAWiZOKgxC4QSUV7tl
TxUsWODsb+GLoiA5RWPuk9pbV0WoE1S/0LbPzgxIaTOQvTYUgEZpHfgQsz7Y+eDL
vZebtI48h2RFmoOwylTsb4fvGVI0xrGlGZ5uXaXVgRqxskb3FYCk3dR5M0PnWjsU
FGCPqwXMihWYjRyjPixKt5VZ8zLSKiJOR6ZPu1UK0BVw+lz2NZdjqrIbVFZVzRUN
MLcTPY+5v5oaL6S1USwB6lSaXL0xaq0LCSoQ3H7MMlJs1+5IKcnR1Q==
=ut3j
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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