Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go ยป
No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1416 times and has 5 replies Next Thread
SimCom
Cruncher
Joined: Oct 9, 2011
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Work buffer calculation

Hi there,

how is the (minimum) work buffer set in the BOINC client actually calculated?

Dividing the sum of all estimated times with the number of threads used did not get the number of days I set in the work buffer setting, so I was wondering how the calculation acutally works.


Best regards,
Simon
[Jan 12, 2016 8:28:47 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sgt.Joe
Ace Cruncher
USA
Joined: Jul 4, 2006
Post Count: 7806
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work buffer calculation

Try this link:http://boincfaq.mundayweb.com/index.php?view=592&language=1.
Go to the bottom under the heading "In finer detail"
Cheers
----------------------------------------
Sgt. Joe
*Minnesota Crunchers*
[Jan 13, 2016 3:20:56 AM]   Link   Report threatening or abusive post: please login first  Go to top 
SimCom
Cruncher
Joined: Oct 9, 2011
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work buffer calculation

Thanks for the link, it provides some useful information. However, it does not answer the question how BOINC determines how many tasks are considered "one day's worth of work".
[Jan 13, 2016 7:19:42 PM]   Link   Report threatening or abusive post: please login first  Go to top 
ca05065
Senior Cruncher
Joined: Dec 4, 2007
Post Count: 328
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work buffer calculation

BOINC maintains a client_state.xml file which contains:

How many threads
<p_ncpus>8</p_ncpus>
How fast is the computer - floating point and integer
<p_fpops>3823244919.528719</p_fpops>
<p_iops>10386422564.723055</p_iops>
How much is computer on per day
<on_frac>0.689718</on_frac>
<active_frac>0.999768</active_frac>

BOINC also maintains global preferences:

How many threads to use as a percentage
<max_ncpus_pct>100.000000</max_ncpus_pct>
How much CPU time to use as a percentage
<cpu_usage_limit>100.000000</cpu_usage_limit>

The BOINC client uses the above to calculate how much work can be done per computer day.
It knows how much work it has and how much it should have from the buffer parameters and then asks for more if required.
[Jan 13, 2016 8:38:07 PM]   Link   Report threatening or abusive post: please login first  Go to top 
SimCom
Cruncher
Joined: Oct 9, 2011
Post Count: 11
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work buffer calculation

Thanks, that's very interesting.

I can now say that I'd definitely prefer a concrete number of CPU hours, as on_frac will be very misleading in my case. I pretty much fluctuate between not at all and 24 hours per day, depending on where I am for the week.
[Jan 13, 2016 10:37:31 PM]   Link   Report threatening or abusive post: please login first  Go to top 
ca05065
Senior Cruncher
Joined: Dec 4, 2007
Post Count: 328
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Work buffer calculation

The on_frac is an average but I do not know over how many days it is measured.
[Jan 14, 2016 12:04:11 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread