Message boards :
Number crunching :
linux ps and project tasks
Message board moderation
Author | Message |
---|---|
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
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. |
Corellian Send message Joined: 8 Oct 09 Posts: 5 Credit: 34,476 RAC: 0 |
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. |
BetelgeuseFive Send message Joined: 6 Jul 99 Posts: 158 Credit: 17,117,787 RAC: 19 |
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 |
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
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? |
Corellian Send message Joined: 8 Oct 09 Posts: 5 Credit: 34,476 RAC: 0 |
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. |
David Anderson (not *that* DA) Send message Joined: 5 Dec 09 Posts: 215 Credit: 74,008,558 RAC: 74 |
Thanks for that reference. I found that checkbox and unchecked it! DavidA |
©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.