Seti@Home optimized science apps and information
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
23 Nov 2008, 10:14:45 am

Login with username, password and session length
 
If you've registered already but never got your activation email, please click here.
 
 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Windows  |  Topic: Best compiler options 0 Members and 0 Guests are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Best compiler options  (Read 1879 times)
Jason G
Global Moderator
Knight who says 'Ni!'
*****
Online Online

Posts: 2260


View Profile
Re: Best compiler options
« Reply #15 on: 23 Nov 2007, 08:13:24 pm »

<wu_cpu_time>45502.234375</wu_cpu_time>

I guess that this includes your ~65% time ?  seems like a rather long workunit ... or both our computers / apps are really slow Cheesy [ I think it spent a shade under 3 hours for me to finish that ~35%  Shocked...but my weekly virus scan did start so I might represent a smaller proportion of that ~46k seconds]
« Last Edit: 23 Nov 2007, 08:17:18 pm by j_groothu » Logged
Raistmer
Code Wizard
Knight who says 'Ni!'
*****
Offline Offline

Posts: 1411



View Profile
Re: Best compiler options
« Reply #16 on: 25 Nov 2007, 04:00:31 am »

Smiley
Not sure about keeping CPU time along with intermediate results. It seems flops counter is keeped instread. And % of work done. Didnt notice CPU time field in state.sah.
Logged
Josef W. Segur
Global Moderator
Knight who says 'Ni!'
*****
Offline Offline

Posts: 800


View Profile
Re: Best compiler options
« Reply #17 on: 25 Nov 2007, 01:29:48 pm »

Smiley
Not sure about keeping CPU time along with intermediate results. It seems flops counter is keeped instread. And % of work done. Didnt notice CPU time field in state.sah.

CPU time is kept in the init_data.xml file. When working with BOINC that's in the slot directory so you get a fresh copy when starting a new WU. When the app shuts down it adds its current internal elapsed time to whatever was there before. So stopping a standalone run and deleting state.sah to restart at the beginning just keeps adding to the <wu_cpu_time> in init_data.xml.

The internal elapsed time is only updated when checkpointing, so using <wu_cpu_time> as an indicator of speed involves very poor granularity. It's not the same CPU time which is reported to BOINC.
                                                     Joe
« Last Edit: 25 Nov 2007, 01:43:55 pm by Josef W. Segur » Logged
Raistmer
Code Wizard
Knight who says 'Ni!'
*****
Offline Offline

Posts: 1411



View Profile
Re: Best compiler options
« Reply #18 on: 26 Nov 2007, 11:22:45 am »

It's not the same CPU time which is reported to BOINC.
But in conjunction of % done field of state.sah? Are they written "atomicaly" at checkpointing? I mean if for example state.sah said 50% done in both cases and init_data.xml shows different times is it that difference that BOINC would show at 50% done moment for that tasks?
Logged
Josef W. Segur
Global Moderator
Knight who says 'Ni!'
*****
Offline Offline

Posts: 800


View Profile
Re: Best compiler options
« Reply #19 on: 26 Nov 2007, 02:21:59 pm »

It's not the same CPU time which is reported to BOINC.
But in conjunction of % done field of state.sah? Are they written "atomicaly" at checkpointing? I mean if for example state.sah said 50% done in both cases and init_data.xml shows different times is it that difference that BOINC would show at 50% done moment for that tasks?

If you have two separate runs stopped when the <prog> field in state.sah indicates 50% the <wu_cpu_time> in init_data.xml does reflect the time associated with the checkpoint. If the <prog> values are quite close, doing a speed comparison that way should be reliable.

However, the progress calculation is not extremely linear. It's based on approximations of the relative time to do FFTs, chirping, and the various kinds of signal searches. Those approximations were last adjusted before setiathome_enhanced was released to the main project and even then it only produced roughly linear progress. With optimizations applied, a single set of approximations cannot be accurate. Theoretically an adjustment could be applied based on the relative timings of the "standard" routines and the chosen optimized routines, but it would take a fair amount of programming to implement and much testing time to get right.

Because all my hosts are single CPU, my preference has been to adjust the chirp limits in a WU to give a useful full run time, do the standalone testing with very little else running, and use the elapsed wall time in speed comparison. The extremely shortened testWU-1 and similar are definitely a compromise between accuracy and how much time is reasonable to ask of volunteer testers. I'd prefer test WUs with the chirp limits scaled down by a factor of 5 at most, TestWU-1 was scaled by 20 relative to the old 20 and 50 limits and that's about 30 or 40 relative to MB WUs.

For multi-CPU systems I think what would work best is using full run test WUs, but divide the final <wu_cpu_time> from init_data.xml by the <prog> value in the final state.sah to adjust for the partial checkpoint interval at the end.
                                                      Joe
« Last Edit: 26 Nov 2007, 02:24:37 pm by Josef W. Segur » Logged
Pages: 1 [2] Go Up Print 
Seti@Home optimized science apps and information  |  Optimized Seti@Home apps  |  Windows  |  Topic: Best compiler options « previous next »
Jump to:  


Quote!
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts.
- Bertrand Russell

 
Site Statistics
Total Members:1,072
Total Posts:10,826
Total Topics:447
Downloads
Apps
Windows R-1.x25,145
Windows R-2.020,356
Windows R-2.236,624
Linux 32bit 1.x6,574
Linux 32bit 2.24,406
Linux 64bit 2.21,784
Alpha/IA64204
FreeBSD629
HPUX346
Subtotal:94,889
Source packs:4,069
Tool/WU packs:7,928
Total:157,834
GBs dl'd:281.98
Pages served
Today:1,656
Total:3,358,672
(since 6/26/2006)
173 Donations to S@H
U.S. Dollars:3,196.59
Euros:863.90
Last 24h:$ 0.00
Avg./24h:$ 6.62
Estim. total:$ 4,319.66
Latest Member:
Luke@SETI
 
 
Seti@Home optimized science apps and information | Powered by Enigma 2.0 (RC1).
© 2003-2008, LSP Dev Team. All Rights Reserved.
Seti@Home optimized science apps and information Forums | Powered by SMF.
© 2005, Simple Machines LLC. All Rights Reserved.
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!