Switch between applications between every

Message boards : BOINC Manager : Switch between applications between every
Message board moderation

To post messages, you must log in.

AuthorMessage
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 30882 - Posted: 7 Feb 2010, 10:53:58 UTC
Last modified: 7 Feb 2010, 10:55:33 UTC

Hi Sekerob

I'll post what you say to the boinc_alpha email list and link to this thread. I can see what you say in the preferences pane of two public release Boinc versions.

But I'm not sure it should say switch between projects instead of switch between applications. My public release Boinc on a dual-core often has apps from two different projects running simultaneously. I think think that switching apps is the only way it can be done to ensure the switch happens straight after app checkpoints and without allowing another core(s) to wait idle until its app is also ready for a switch.
ID: 30882 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 30883 - Posted: 7 Feb 2010, 11:02:13 UTC

The second 'between' is (correctly) missing from

root/trunk/boinc/clientgui/DlgAdvPreferencesBase.cpp, as per [trac]changeset:19414[/trac]

But root/branches/boinc_core_release_6_10/clientgui/DlgAdvPreferencesBase.cpp is still back at [trac]changeset:19322[/trac].

Before the next "Recommended" promotion, they really ought to audit the codebase for errors like that. They have a wonderful tool for keeping track of every jot and tittle, but it's being let down by the human factor when it comes to migrating changes from trunk to branch.

On the other point,

Switch between main projects every xxx

reads fine in english English, but even the 'main' is possibly superfluous: 'Switch between projects every xxx' would be enough.
ID: 30883 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 30886 - Posted: 7 Feb 2010, 12:42:16 UTC - in response to Message 30882.  

But I'm not sure it should say switch between projects instead of switch between applications. My public release Boinc on a dual-core often has apps from two different projects running simultaneously. I think think that switching apps is the only way it can be done to ensure the switch happens straight after app checkpoints and without allowing another core(s) to wait idle until its app is also ready for a switch.

Been thinking about this, because I mainly run multicores (5 or 8 cores, counting CUDA). But I think 'project' is still good.

The control that this label is describing is to do with routine preemption/rotation, to maintain resource share between projects. These switches do always involve a change of project: you'll never see an application from one project switched out, and another application from the same project taking its place, under TSI control.

You will occasionally see intra-project switches, but only because of deadline pressure: those aren't affected by the 'switch interval'.
ID: 30886 · Report as offensive
mo.v
Avatar

Send message
Joined: 13 Aug 06
Posts: 778
United Kingdom
Message 30889 - Posted: 7 Feb 2010, 13:32:57 UTC

So Sekerob's second point would also be a good idea.
ID: 30889 · Report as offensive
John McLeod VII
Avatar

Send message
Joined: 29 Aug 05
Posts: 147
Message 30917 - Posted: 8 Feb 2010, 14:05:16 UTC

More correctly, it is an opportunity to switch between tasks. It is not always a switch between projects, but sometimes it will merely be a switch between tasks in the same project. This will occur if one task starts or stops needing extra CPU time because of deadline trouble.

BOINC WIKI
ID: 30917 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 30919 - Posted: 8 Feb 2010, 14:24:11 UTC

Not quite. John is suggesting that deadline-pressure intra-project switches are also subject to the task switch interval. I think that's on the wish-list: to have a distinction between 'hard' deadline pressure, requiring an immediate switch, and a 'softer' version, allowing for a more relaxed switch at the next interval opportunity.

I wasn't aware that had been implemented.
ID: 30919 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 30921 - Posted: 8 Feb 2010, 14:51:48 UTC - in response to Message 30920.  

There's a very real discussion to be had about the best way to handle multiple tasks all under deadline pressure, but I don't think it has anything to do with TSI - the "Switch between applications between every". If you set that value to 1 minute or 1440 minutes, does it make the slightest difference to your beta tasks?
ID: 30921 · Report as offensive

Message boards : BOINC Manager : Switch between applications between every

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.