Memory and page file

Message boards : Number crunching : Memory and page file

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 52600 - Posted: 18 Apr 2008, 19:45:59 UTC
Last modified: 18 Apr 2008, 19:46:30 UTC

I'm having the following problem:

BOINC insists on starting new tasks or applications even thou other ones are not finished! This increases the amout ou memory needed to run BOINC, which I can not afford! I have only 1GB installed memory and a C2D processor, which can take two tasks at a time.

And if I reduce the amount of memory that BOINC is allowed to use, it simply stops one task when it eats all memory and then, like if this was not enough, starts a brand new memory-hungry application!

Is there a way to tame BOINC's urge for memory and run 2 tasks under a 1gb installed memory?

Thanks!
ID: 52600 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Paul D. Buck

Send message
Joined: 17 Sep 05
Posts: 815
Credit: 1,812,737
RAC: 0
Message 52605 - Posted: 18 Apr 2008, 23:31:43 UTC - in response to Message 52600.  

I'm having the following problem:

BOINC insists on starting new tasks or applications even thou other ones are not finished! This increases the amout ou memory needed to run BOINC, which I can not afford! I have only 1GB installed memory and a C2D processor, which can take two tasks at a time.

And if I reduce the amount of memory that BOINC is allowed to use, it simply stops one task when it eats all memory and then, like if this was not enough, starts a brand new memory-hungry application!

Is there a way to tame BOINC's urge for memory and run 2 tasks under a 1gb installed memory?

Thanks!

ONE way to do this is set the task switch time to a high number. If you are running RaH and SaH and the longest that a task takes is 4 hours, set the switch time to 5 hours ... also change the setting to leave tasks in memory to off ... on the preferences page.

I have my switch time set to 320 minutes and many tasks finish without switching, well, the CPDN one does not of course ... I just hate to have lots of incomplete work hanging about ... that is just me ... start a task and run till done ...
ID: 52605 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
DJStarfox

Send message
Joined: 19 Jul 07
Posts: 140
Credit: 1,062,743
RAC: 116
Message 52606 - Posted: 19 Apr 2008, 0:23:47 UTC - in response to Message 52600.  

Yes, change your "Switch between applications every" time as Paul says.... I have mine set to 3 hours and my Rosetta runtime preference to 3 hours also.... This works out nicely. :)

Also in your global preferences, set "Leave applications in memory while suspended?" = No. Applications that do not run will be removed from memory. Note: This may crash some tasks if you're running Linux.
ID: 52606 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Astro
Avatar

Send message
Joined: 2 Oct 05
Posts: 987
Credit: 500,253
RAC: 0
Message 52607 - Posted: 19 Apr 2008, 2:36:30 UTC
Last modified: 19 Apr 2008, 2:37:11 UTC

My "switch between applications" setting is 600 minutes (10 hours) so I finish nearly all wus which start and there's NO switching.

have fun

tony


ID: 52607 · 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 61527 - Posted: 1 Jun 2009, 21:12:32 UTC

I have another question about this option: how does this parameter ("use at most X% of memory ...") affect computation performance? If I set this to say 2.5% of my 2gb (which will lead to only 50mb allowed), how will that impact my "credits per day"?
ID: 61527 · 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 61528 - Posted: 1 Jun 2009, 21:24:57 UTC - in response to Message 61527.  

I have another question about this option: how does this parameter ("use at most X% of memory ...") affect computation performance? If I set this to say 2.5% of my 2gb (which will lead to only 50mb allowed), how will that impact my "credits per day"?


Well, i've just tested that and gess what I got? Two stopped applications and a "waiting for memory" message.

So, if I give up those works and ask for more, the server will send me work that will run in 50mb of ram, or there is a limit, a minimum amount of ram required to run a single app?
ID: 61528 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4015
Credit: 0
RAC: 0
Message 61529 - Posted: 1 Jun 2009, 22:12:04 UTC

Each BOINC project, and sometimes applications within projects, has different system requirements. The recommendation is to run Rosetta on systems with at least 512MB of memory available.

No, you won't be able to complete any Rosetta work with only 50MB available.

In general the control to limit the memory available to BOINC is used for when you have other memory intensive applications that are becoming sluggish when you run them with BOINC. If this is the case, and you feel you only have 50MB of memory available for BOINC, then you should either run only when your computer is idle, or find BOINC projects with system recommendations that are inline with your goals.
Rosetta Moderator: Mod.Sense
ID: 61529 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
mikey
Avatar

Send message
Joined: 5 Jan 06
Posts: 1609
Credit: 5,866,581
RAC: 43
Message 61540 - Posted: 2 Jun 2009, 10:17:01 UTC - in response to Message 52607.  

My "switch between applications" setting is 600 minutes (10 hours) so I finish nearly all wus which start and there's NO switching.

have fun tony


How does this work with multiple projects on one machine, does it finish one projects workunit and then just start another and another etc until the 10 hours is up or does it actually finish a unit and then switch to the next project crunch for 10 hours presumably finishing a unit and then move on to the next? I guess the gist of the questions is...do you still have partly finished workunits and Boinc is now crunching for a different project?
ID: 61540 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Paul D. Buck

Send message
Joined: 17 Sep 05
Posts: 815
Credit: 1,812,737
RAC: 0
Message 61555 - Posted: 3 Jun 2009, 6:15:59 UTC

They still have not fixed all of the issues with the Resource Scheduler and because of that we still have lots of situations where TSI is not honored. So, I have my TSI at 12 hours and still wind up with tasks that are suspended needlessly at times.

BOINC is pretty stupid and most of the rules are still designed with single core machines in mind (sadly) so we get these situations still.

The good news is that with the 6.6.28 and later versions the accumulation of the fixes are getting the Resource scheduler closer to working as it should. Sadly, instead of focusing on fixing bugs and anomalies we keep getting new crud being added, like this new FaceBook thing they are working on ...

After that one can only hope that they will get the thumb out and add ATI and OpenCL support in that Apple should be releasing Snow Leopard this summer or fall and it would be nice if BOINC was ready for that instead of having them throw something together at the last moment like CUDA ... still not working as well as it should ...
ID: 61555 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Memory and page file



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