linux ps and project tasks

Message boards : Number crunching : linux ps and project tasks
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile David Anderson (not *that* DA) Project Donor
Avatar

Send message
Joined: 5 Dec 09
Posts: 215
Credit: 74,008,558
RAC: 74
United States
Message 1943634 - Posted: 10 Jul 2018, 1:21:24 UTC

A) I've noticed that two computers with boincmgr 7.6.31 show tasks still running via ps -eaf when
boincmgr says they are suspended. (dseti3,q2) q2 has an old GPU and is running the GNU driver so
boinc sees no known graphics card. dseti3 has two nvidia 760's.

B) Two others with boincmgr 7.6.31 show no tasks running with ps -eaf when boincmgr
says they are suspended.

C) Two others with boincmgr 7.9.3 show no tasks running with ps -eaf when boincmgr
says they are suspended

The command in all cases is ps -eaf | grep projects
I don't understand why case A) exists at all.
A typical output of the ps with case A machines, all boinc projects suspended
using :
Dseti3 1999: ps -eaf |grep projects
boinc 5765 5536 86 15:54 ? 01:59:25 ../../projects/setiathome.berkeley.edu/setiathome_8.00_x86_64-pc-linux-gnu

What started this was the desire to know how many project tasks were running.
For case A) machines I've not been able to see how to always count them correctly.

Suspended via
boinccmd --set_gpu_mode never
boinccmd --set_run_mode never

Interpretations? Suggestions?
Thanks in advance.
ID: 1943634 · Report as offensive
Corellian

Send message
Joined: 8 Oct 09
Posts: 5
Credit: 34,476
RAC: 0
New Zealand
Message 1943824 - Posted: 12 Jul 2018, 10:39:40 UTC - in response to Message 1943634.  
Last modified: 12 Jul 2018, 10:40:12 UTC

I cant address your question directly but wanted to give your post a bump. If you are not already familiar 'htop' is an amazing interactive process viewer for the terminal. You can user it to filter, sort and kill processes.
ID: 1943824 · Report as offensive
BetelgeuseFive Project Donor
Volunteer tester

Send message
Joined: 6 Jul 99
Posts: 158
Credit: 17,117,787
RAC: 19
Netherlands
Message 1943827 - Posted: 12 Jul 2018, 11:13:06 UTC

Please check if the processes are really running. That they are listed by ps means they still exist, but they may also be sleeping (there are options in Boinc to keep processes in memory while suspended). You should run ps multiple times to check if the amount of CPU time used increases or use a program like top that will show you information about all processes (by default ordered by CPU usage).

Tom
ID: 1943827 · Report as offensive
Profile David Anderson (not *that* DA) Project Donor
Avatar

Send message
Joined: 5 Dec 09
Posts: 215
Credit: 74,008,558
RAC: 74
United States
Message 1943888 - Posted: 12 Jul 2018, 17:47:34 UTC - in response to Message 1943827.  

I'm not used to seeing boinc processes (setiathome) suspended
and hanging around in memory.

My largest machine 12*2 cores (the *2 as hyperthreading is on)
currently shows 35 processes, 19 seti, 16
einstein. Boinc computer-options of boincmgr
is set to use 82% of the cores.

Other machines (only seti at present) only show what
is actually running.

htop is very useful, but I have not even scratched the
surface of what one can do with it...

Where will I find the options about keeping/not keeping
suspended processes in memory?
ID: 1943888 · Report as offensive
Corellian

Send message
Joined: 8 Oct 09
Posts: 5
Credit: 34,476
RAC: 0
New Zealand
Message 1943910 - Posted: 12 Jul 2018, 20:27:10 UTC
Last modified: 12 Jul 2018, 20:30:03 UTC

I found the option to Leave non-GPU tasks in memory while suspended in the BOINC Manager. In advanced view, under Options -> Computing preferences -> Disk and memory.
ID: 1943910 · Report as offensive
Profile David Anderson (not *that* DA) Project Donor
Avatar

Send message
Joined: 5 Dec 09
Posts: 215
Credit: 74,008,558
RAC: 74
United States
Message 1943941 - Posted: 12 Jul 2018, 22:44:00 UTC - in response to Message 1943910.  

Thanks for that reference. I found that checkbox and unchecked it!
DavidA
ID: 1943941 · Report as offensive

Message boards : Number crunching : linux ps and project tasks


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.