How can I minimize memory usage?

Message boards : Number crunching : How can I minimize memory usage?

To post messages, you must log in.

AuthorMessage
Pedro Mariano Yunes Garcia

Send message
Joined: 7 Nov 05
Posts: 19
Credit: 567,790
RAC: 0
Message 50741 - Posted: 16 Jan 2008, 21:15:36 UTC

Is there a way or set up witch can minimize memory usage for rosetta?
ID: 50741 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 50759 - Posted: 17 Jan 2008, 14:29:51 UTC

Limiting BOINC to less then all of the cores available would use less memory. Otherwise, Rosetta already selects and only sends WUs with low memory requirements to machines with low memory.

If you would post about your machine, and memory and existing preferences it may help to offer more comments.
Rosetta Moderator: Mod.Sense
ID: 50759 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Pedro Mariano Yunes Garcia

Send message
Joined: 7 Nov 05
Posts: 19
Credit: 567,790
RAC: 0
Message 50766 - Posted: 17 Jan 2008, 16:03:45 UTC - in response to Message 50759.  
Last modified: 17 Jan 2008, 16:04:45 UTC

Limiting BOINC to less then all of the cores available would use less memory. Otherwise, Rosetta already selects and only sends WUs with low memory requirements to machines with low memory.

If you would post about your machine, and memory and existing preferences it may help to offer more comments.


I have more than one computer running Rosetta. Some have just 512MB of RAM.

To avoid loosing work time in already slow (and with low memory) computers, the "leave apps. in memory" option is enabled.

I was wondering if the "adjustable time factor" could reduce the memory usage.

Another memory issue that confuses me is the fact that while windows task manager indicates aprox. 120mb of RAM per app., page-file usage increases A LOT more when running Rosetta.
ID: 50766 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 50779 - Posted: 17 Jan 2008, 20:45:10 UTC

The runtime preference will not alter the amount of memory used.

All other things being equal, if you add an application such as Rosetta, with two threads (assuming a two core CPU) that each use 120MB of memory... you will do more paging then you would have without those two threads.

If the paging is impacting your usage of the computer, you can set preferences to not run while the computer is in use. You can set it to only run after hours. You can set it to use at most a given amount of memory (which may result in holding one task as "waiting for memory" while the other runs).

If your needs vary between your computers, you can configure all of the above differently for up to 4 different venues and then designate which computers are at which venues.
Rosetta Moderator: Mod.Sense
ID: 50779 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
AlphaLaser

Send message
Joined: 19 Aug 06
Posts: 52
Credit: 3,327,939
RAC: 0
Message 50849 - Posted: 20 Jan 2008, 19:46:10 UTC

If anything, the runtime preference should be set as high as possible. This means your computers contact Rosetta less often, reducing server load. The long runtimes do not impact the significance of the science being done in any way.
ID: 50849 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : How can I minimize memory usage?



©2024 University of Washington
https://www.bakerlab.org