Offloading inactive clients

Message boards : Questions and problems : Offloading inactive clients
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile steveplanetary
Avatar

Send message
Joined: 29 May 09
Posts: 26
United States
Message 25117 - Posted: 29 May 2009, 16:41:49 UTC

I'm involved with seti@home, milkyway@home and cosmology@home. Once these clients become resident in RAM they stay there, even though BOINC has switched to another project. The cosmology client, camb_2.16_windows_intelx86.exe takes up 335 MB, so it is the worst offender, but astropulse_5.03_windows_intelx86.exe uses 50 MB, so it would be nice to free up the memory. These numbers include the data files the clients are working on. Is there any way to get BOINC to offload these files from RAM when they are no longer in use?
ID: 25117 · Report as offensive
Aurora Borealis
Avatar

Send message
Joined: 8 Jan 06
Posts: 448
Canada
Message 25118 - Posted: 29 May 2009, 17:09:10 UTC - in response to Message 25117.  
Last modified: 29 May 2009, 17:22:28 UTC

I'm involved with seti@home, milkyway@home and cosmology@home. Once these clients become resident in RAM they stay there, even though BOINC has switched to another project. The cosmology client, camb_2.16_windows_intelx86.exe takes up 335 MB, so it is the worst offender, but astropulse_5.03_windows_intelx86.exe uses 50 MB, so it would be nice to free up the memory. These numbers include the data files the clients are working on. Is there any way to get BOINC to offload these files from RAM when they are no longer in use?

The computing preference in the project has an option.
Leave applications in memory while suspended?
(suspended applications will consume swap space if 'yes')

You will notice that it says 'consume swap space' that means that it isn't necessarily using RAM but the OS will move it temporarily to a swap file on the hard drive if it needs the RAM for something else. That's the trick the OS uses to run many programs at the same time on a limited amount of memory.

PS If you remove the application completly, suspended WU may have to restart at an earlier point than it left off.

Boinc V 7.4.36
Win7 i5 3.33G 4GB NVidia 470
ID: 25118 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 25121 - Posted: 29 May 2009, 17:56:03 UTC - in response to Message 25118.  

PS If you remove the application completly, suspended WU may have to restart at an earlier point than it left off.

That's not the case for SETI and Einstein, i.e. no loss of work done.
ID: 25121 · Report as offensive
Profile steveplanetary
Avatar

Send message
Joined: 29 May 09
Posts: 26
United States
Message 25130 - Posted: 30 May 2009, 16:14:03 UTC - in response to Message 25118.  

Thanks. That's just what I needed.
ID: 25130 · Report as offensive
Aurora Borealis
Avatar

Send message
Joined: 8 Jan 06
Posts: 448
Canada
Message 25132 - Posted: 30 May 2009, 19:50:54 UTC - in response to Message 25122.  
Last modified: 30 May 2009, 19:52:07 UTC

There I thought the newer clients switched at checkpoint time, not to loose progress so LAIM is not really needed, but for a slower resume. Then if LAIM is not on and your jobs are pre-empted due for instance high priority jobs and periodic benchmarking, they do get unloaded. That SETI and Einstein are 'forced' to write a resume point is interesting in that respect.

Now for writing/moving the model entirely to swap file i.e. unloaded from RAM, it's not what I see with LAIM on. Having manually forced a few preemptions, after 30 minutes, Process Manager reports portions in RAM and in Virtual Memory. Am I misreading?

My understanding is fairly sketchy on how the OS swaps to/from VM are performed, but what you see is probably normal. I should think it only swaps out blocks of memory as needed, not the entire apps.
ID: 25132 · Report as offensive

Message boards : Questions and problems : Offloading inactive clients

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.