Thread 'Leave applications in memory while suspended preference does not work'

Message boards : BOINC Manager : Leave applications in memory while suspended preference does not work
Message board moderation

To post messages, you must log in.

AuthorMessage
Ed Johnson

Send message
Joined: 2 Jun 06
Posts: 8
United States
Message 6523 - Posted: 18 Nov 2006, 21:12:23 UTC
Last modified: 18 Nov 2006, 21:13:32 UTC

Hi,

I run only Rosetta@home.
I have set:
Leave applications in memory while suspended = NO on my web account with Rosetta. I have updated my clients. I use only the default preferences. I have not setup home, school or work preferences.

All of my preference changes worked except for my leaving application in memory to no. Rosetta eats up over 100MB of memory, and I cannot afford to leave it in memory when I am doing work.

C:\\Program Files\\BOINC\\global_prefs.xml does NOT have an entry for leaving application in memory. Even though it updated all my other changes correctly.

Is this a bug with Boinc? Can I correct the global_prefs.xml by hand until this bug is fixed?

Thanks,

Ed J.

----------
global_prefs.xml file

- {global_preferences}
{source_project}http://boinc.bakerlab.org/rosetta/{/source_project}
{source_scheduler}http://boinc.bakerlab.org/rosetta_cgi/cgi{/source_scheduler}
{mod_time}1163882196{/mod_time}
{run_if_user_active /}
{idle_time_to_run}5{/idle_time_to_run}
{cpu_scheduling_period_minutes}60{/cpu_scheduling_period_minutes}
{work_buf_min_days}0.1{/work_buf_min_days}
{max_cpus}2{/max_cpus}
{cpu_usage_limit}100{/cpu_usage_limit}
{disk_interval}60{/disk_interval}
{disk_max_used_gb}1{/disk_max_used_gb}
{disk_max_used_pct}10{/disk_max_used_pct}
{disk_min_free_gb}1{/disk_min_free_gb}
{vm_max_used_pct}25{/vm_max_used_pct}
{max_bytes_sec_down}0{/max_bytes_sec_down}
{max_bytes_sec_up}0{/max_bytes_sec_up}
{/global_preferences}

------------
Settings from Rosetta@home web account

Processor usage
Do work while computer is running on batteries?
(matters only for portable computers) no
Do work while computer is in use? no
Do work only after computer is idle for 5 minutes
Do work only between the hours of (no restriction)
Leave applications in memory while suspended? no
(suspended applications will consume swap space if 'yes') no
Switch between applications every
(recommended: 60 minutes) 60 minutes
On multiprocessors, use at most 2 processors
Use at most 100 percent of CPU time


ID: 6523 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 6524 - Posted: 18 Nov 2006, 22:30:25 UTC - in response to Message 6523.  

When the "leave applications in memory when suspended" is set to No, it doesn't show up in global_prefs.xml

That's the way to see it isn't used.
If it's set to Yes, there'd be a single entry like <leave_apps_in_memory/> in the file.
ID: 6524 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 6532 - Posted: 19 Nov 2006, 2:09:57 UTC
Last modified: 19 Nov 2006, 2:49:20 UTC

I have this in my BBC-boinc advanced options

Leave applications in memory while suspended?
(suspended applications will consume swap space if 'yes') yes

As the BBC version of boinc is modified and restricted, members with the full cpdn boinc version must have this same option. The default answer is NO.

At the moment the server in Oxford is refusing to update preferences for the climate project (I'm not sure whether this applies to both versions of boinc) and this is likely to remain so until the server gets its next boinc upgrade. But preferences can still be changed manually by modifying the contents of the file.


ID: 6532 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 6533 - Posted: 19 Nov 2006, 2:18:28 UTC - in response to Message 6532.  

I think the default setting is No, Maureen. Yet I could be mistaken. Maybe it is set that way only on later updates of the Boinc server software.

I just checked on CPDN (old server software) and Primegrid (new server software) in the Home venue... the "leave applications in memory when suspended" option is standard at No.
ID: 6533 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 6534 - Posted: 19 Nov 2006, 2:28:16 UTC

You're probably right; I can't remember what it said when I installed it. Maybe the default answer for BBC members was different because they knew that very few of us would have understood the choice!

The default answer to Leave in memory while preempted? certainly seems to be NO.
ID: 6534 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 6535 - Posted: 19 Nov 2006, 2:37:41 UTC - in response to Message 6534.  

The default answer to Leave in memory while preempted? certainly seems to be NO.

That's also showing that a project is using the old software. It's been "suspended" instead of "preempted" for a while now, as no one seemed to know what the heck preempted means. ;)
ID: 6535 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 6536 - Posted: 19 Nov 2006, 2:45:14 UTC

Yes, I've just discovered this for myself - I was wondering what the difference between the 2 questions was!

My version says 'suspended'. But I thought I also had the preempted question on another page, and of course I haven't.

The default answer is definitely NO. We have to tell everybody to change it to YES because the time between checkpoints is quite long.
ID: 6536 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 6537 - Posted: 19 Nov 2006, 2:51:34 UTC

Jorden, I've edited my first post in this thread to say NO instead of YES, so you should delete all our posts after that. Otherwise poor Ed Johnson will be totally confused.
ID: 6537 · Report as offensive
ProfileJord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15563
Netherlands
Message 6538 - Posted: 19 Nov 2006, 2:53:50 UTC - in response to Message 6537.  

Jorden, I've edited my first post in this thread to say NO instead of YES, so you should delete all our posts after that. Otherwise poor Ed Johnson will be totally confused.

Nah... I think I leave it standing for now. It's always a good thing to see the history of Boinc. And besides, if his global_prefs.xml doesn't show the line about leaving apps in memory, it isn't used anyway. So his settings are correct.

Ed, you did report this same thing on the Rosetta forums? If it doesn't want to yield, it may be their problem, not BOINC's.
ID: 6538 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 6539 - Posted: 19 Nov 2006, 3:22:20 UTC

Ed, there's been a very detailed discussion here about changing cpdn preferences manually. I think you need to look at Dagorath's post on 9 Nov and the posts after that.


ID: 6539 · Report as offensive

Message boards : BOINC Manager : Leave applications in memory while suspended preference does not work

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.