BOINC project Time Sharing (again)

Message boards : Number crunching : BOINC project Time Sharing (again)
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Steve Withers
Avatar

Send message
Joined: 25 Jun 99
Posts: 52
Credit: 3,083,069
RAC: 0
New Zealand
Message 24426 - Posted: 10 Sep 2004, 7:07:34 UTC
Last modified: 10 Sep 2004, 7:09:07 UTC

I've been logging the output from the Linux CLI BOINC client to text files to get a clear view of what 's going on. To simplify matters, I adjusted the resource sharing between SETI and CPDN to 50/50 (actually 100/100)....and updated the preferences on all systems.

Linux client: 4.05

SETI still seems to get most of the time...and I see why.

When I first start the client, SETI may begin and run for one hour - if a WU does not finish.

If SETI finishes a WU within the hour it is alotted for processing, it will start anotehr WU....and go for one hour before being pre-empted.

The CPDN model then processes for exactly one hour.

The SETI WU will resume, and EVER AFTER will process for TWO hours for each ONE CPDN processes.

Bear in mind that if the SETI WU completes within that TWO hours, it will reset the clock form that point for TWO hours.

Which explains why CPDN has been making snail-like progress despite the projects being set at 50/50 and the -update_prefs have been reset.

Summary: Ratio set 50/50 (100 / 100)

1. The 50 / 50 will be maintained for at least the first cycle of pre-emption (subject to a SETI WU completing and resetting the clock in it's time).

2. All subsequent cycles will 2:1 in favour of SETI (subject to a SETI WU completing and resetting the the clock on its time.)


ID: 24426 · Report as offensive
Profile Toby
Volunteer tester
Avatar

Send message
Joined: 26 Oct 00
Posts: 1005
Credit: 6,366,949
RAC: 0
United States
Message 24450 - Posted: 10 Sep 2004, 9:19:22 UTC

Nice detective work. I haven't been monitoring as closely but I have noticed that my laptop (windows XP) seems to be doing the same thing (running seti@home with LHC@home). And it frequently resets the progress of the seti@home work unit when it tries to resume it. Or it will just stop processing all together with message: "SETI@home - 2004-09-08 21:09:31 - resume_or_start(): unexpected process state 8" until I restart BOINC. Have you seen that on linux? There are obviously some bugs to work out in the timeslicing code :)



-------------------------------------------
- A member of The Knights Who Say NI!
Possibly the best stats site in the universe:
http://boinc-kwsn.no-ip.info
ID: 24450 · Report as offensive
Profile Steve Withers
Avatar

Send message
Joined: 25 Jun 99
Posts: 52
Credit: 3,083,069
RAC: 0
New Zealand
Message 24521 - Posted: 10 Sep 2004, 13:22:30 UTC - in response to Message 24450.  

> Nice detective work. I haven't been monitoring as closely but I have noticed
> that my laptop (windows XP) seems to be doing the same thing (running
> seti@home with LHC@home). And it frequently resets the progress of the
> seti@home work unit when it tries to resume it. Or it will just stop
> processing all together with message: "SETI@home - 2004-09-08 21:09:31 -
> resume_or_start(): unexpected process state 8" until I restart BOINC. Have
> you seen that on linux? There are obviously some bugs to work out in the
> timeslicing code :)
>



I haven't seen that error on Linux.

The Linux client (4.05) has been rock solid as a far as stability goes.

I have had it wipe out all projects when I started the same executable in the same directory with a DIFFERENT userid.

That was annoying.


ID: 24521 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 24589 - Posted: 10 Sep 2004, 15:58:29 UTC

What I and a couple of others seem to have seen in 4.05 is that each WU was counted for resource share rather than the project. This has apparently been fixed in 4.08. So if you had the resource shares set to 1:1 S@H / CPDN, and you had 2 S@H WUs on your computer, S@H would get a share of 2 for CPDNs 1.
ID: 24589 · Report as offensive
arcturus

Send message
Joined: 3 Apr 99
Posts: 20
Credit: 665,520
RAC: 0
United States
Message 24682 - Posted: 10 Sep 2004, 19:06:39 UTC

Noticing the exact same behavior with WinXP. Wondering if 2:1 CPDN/SETI resource ratio offsets the discrepancy?
ID: 24682 · Report as offensive
Profile Steve Withers
Avatar

Send message
Joined: 25 Jun 99
Posts: 52
Credit: 3,083,069
RAC: 0
New Zealand
Message 24720 - Posted: 10 Sep 2004, 20:26:58 UTC - in response to Message 24682.  
Last modified: 10 Sep 2004, 20:33:28 UTC

> Noticing the exact same behavior with WinXP. Wondering if 2:1 CPDN/SETI
> resource ratio offsets the discrepancy?

Tried it last night and it appears to make no difference at all.

Of the instances observed since I set favour to CPDN as 2:1 over SETI, it has worked thus:

1. If a resumed SETI WU completes any time within TWO hours (assumed because of behaviour observed in 2, below), the clock is reset and the new WU will run for ONE additional hour. So a split-WU incident may run anywhere from 61 minutes to 2:59 minutes. This is indicated, but not confirmed. Sample seen was 38 minutes on a resumed WU, followed by one hour on a new WU - then pre-empted.

2. If a WU does NOT end within 2 hours, then SETI is pre-empted at 2 hours and CPDN will then run for ONE hour - despite having sharing set to double the amount of SETI. This is confirmed.

Conclusion based on Observed Behaviour in past 12 hours:

What you set the resource sharing value to makes no difference whatever. The work will proceed as above.

System: AMD Athlon XP 2800+, Xandros Linux 2.0 (Debian-based), BOINC v4.05, typical SETI WU completion time is 2:50

ID: 24720 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 24847 - Posted: 11 Sep 2004, 0:07:10 UTC

In any case, the problem appears to have been fixed in 4.08.
ID: 24847 · Report as offensive

Message boards : Number crunching : BOINC project Time Sharing (again)


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.