log in |
Message boards : Number crunching : Optimization
Previous · 1 · 2 · 3 · 4 · 5 . . . 10 · Next
Author | Message |
---|---|
BTW in the BOINC GUI manager I don't find a reference to a local app. is this correct. What I see is a standard "Gene Application 0.09" application | |
ID: 661 · Reply Quote | |
app_info file specifies user-friendly name for app, which is the same as for original app. Please check event log, somewhere at the beginning you should see line for TN-Grid app like "Found app_info.xml; using anonymous platform". You can also check task list on your account here, in Application column you should see "Gene Network Application Unknown Platform (CPU)" Flops parameter in app_info file is not correct for new app, I kept old one. BOINC will increase "percent done" value by 2%, remaining time will be adjusted as necessary. ____________ | |
ID: 662 · Reply Quote | |
No message of "Found app_info.xml" and no "Unknown Platform" in the task list | |
ID: 663 · Reply Quote | |
The files in the directory are: | |
ID: 664 · Reply Quote | |
And now the result | |
ID: 665 · Reply Quote | |
Try restarting boinc-client service, I had to to this on my CentOS. After doing this it should start using new app. | |
ID: 666 · Reply Quote | |
It took a while but tasks on my x5675 dropped from 2 1/2 hours to 1 1/2 hours with the sse custom app. It does not have any of the newer instructions. | |
ID: 667 · Reply Quote | |
after a system restart, now everything may be ok | |
ID: 668 · Reply Quote | |
I did some other benchmarks (same computer as before, Intel I7-4770k with hyper-threading enabled) time bin/TN-Grid.linux-x86-64-sse2 5560_Ec_ecm-b0624-crcB_wu-1.input.twotiles 5560_Ec_ecm-b0624-crcB_wu-1.output.twotiles.sse2 0.05 1 2470
real 1m2.061s user 1m0.136s sys 0m0.020s
time bin/TN-Grid.linux-x86-64-avx 5560_Ec_ecm-b0624-crcB_wu-1.input.twotiles 5560_Ec_ecm-b0624-crcB_wu-1.output.twotiles.avx 0.05 1 2470
real 1m3.114s user 1m1.190s sys 0m0.024s
time bin/TN-Grid.linux-x86-64-fma 5560_Ec_ecm-b0624-crcB_wu-1.input.twotiles 5560_Ec_ecm-b0624-crcB_wu-1.output.twotiles.fma 0.05 1 2470
real 1m2.053s user 1m0.125s sys 0m0.024s Not a big difference between the three versions (but a huge one compared with the original one) | |
ID: 669 · Reply Quote | |
Impressive! This is on my AMD FX8320: bin/pc_avx input/tile2.txt output/output2.txt 0.05 1 2470
real 0m48.941s
user 0m46.920s
sys 0m0.032s
diff: output/output2.txt: File o directory non esistente
bin/pc_fma input/tile2.txt output/output2.txt 0.05 1 2470
real 0m47.241s
user 0m45.216s
sys 0m0.036s
diff: output/output2.txt: File o directory non esistente
bin/pc_sse2 input/tile2.txt output/output2.txt 0.05 1 2470
real 0m50.553s
user 0m48.520s
sys 0m0.048s
diff: output/output2.txt: File o directory non esistente
bin/pc_tngrid_expansion_v9_linux64 input/tile2.txt output/output2.txt 0.05 1 2470
real 1m20.760s
user 1m18.744s
sys 0m0.032s
diff: output/output2.txt: File o directory non esistente I'm not able to obtain a result file to compare. Is there a trick? ____________ | |
ID: 670 · Reply Quote | |
I have just uploaded Windows binaries to https://bitbucket.org/sirzooro/pc-boinc/downloads. In order to install them, please stop BOINC, extract files to <BOINC_Data_Dir>\projects\gene.disi.unitn.it_test\ and start BOINC again. Their speed is comparable with Linux ones. They have (Opti) appended to displayed name, so you will immediately see that you run them. I did some other benchmarks (same computer as before, Intel I7-4770k with hyper-threading enabled) Impressive! This is on my AMD FX8320: Thanks for these results! So looks that every new instruction set used improved performance a bit. Not on all CPUs, but it is still worth testing which version is the fastest one. WUs sent by server contains 50 tiles, so actual time improvement between versions will be about 50 times bigger. I'm not able to obtain a result file to compare. Is there a trick? Yes. By default output file is created only when running under BOINC control. You can also pass param "BOINC_STUB=1" to make, this also will enable this. App compiled in this way does not use BOINC libs, so cannot be used for normal crunching. @valterc If you want to compile BOINC under MinGW, you probably will have to apply patch from https://github.com/BOINC/boinc/issues/1739. For reference, I compiled it from Cygwin 64 using following command, and then used "make <all params> install". You can do this too and them copy compiled libs to Linux. They will be fine for crosscompilation. make -f Makefile.mingw CC="x86_64-w64-mingw32-gcc -m64" CXX="x86_64-w64-mingw32-g++ -m64" BOINC_PREFIX=./boinc64 ____________ | |
ID: 671 · Reply Quote | |
Thanks for the work done on doing these - trying out the Windows 64 bit SSE app. Running ok at the moment. | |
ID: 672 · Reply Quote | |
I have just uploaded Windows binaries to https://bitbucket.org/sirzooro/pc-boinc/downloads. In order to install them, please stop BOINC, extract files to <BOINC_Data_Dir>\projects\gene.disi.unitn.it_test\ and start BOINC again. Their speed is comparable with Linux ones. They have (Opti) appended to displayed name, so you will immediately see that you run them. Ok. I see "Opti" in the name of app in boinc manager. On my Amd FX6300 with Windows 10 64 bit, first results with Avx version: Standard App: 9400/9800 seconds Opti App: 3400/3500 seconds :-O More tests on the road.... | |
ID: 673 · Reply Quote | |
I'm not able to obtain a result file to compare. Is there a trick? Comment out line 650 (and the corresponding closed bracket) in pc.cpp. This way you have an exe which runs standalone or with boinc. Just take care that if using standalone it will append data to the output file (i.e. remove it before starting a new run) This may also be related with a bug that we have, sometime we have invalid results (not too many but annoying). I guess (but I have to investigate further) that this may be related to the checkpoint mechanism at the very beginning of the run. | |
ID: 674 · Reply Quote | |
Thanks for your work on these! I've been running the Linux AVX, the Win SSE, and Win FMA clients overnight with great success. | |
ID: 677 · Reply Quote | |
My only slight problem is that one Windows machine has Symantec endpoint protection installed, and it's flagged pc.exe as a potential risk. It leaves it alone so I can continue to crunch, but it does not recognize it enough to know how to classify it. Every so often it will pop up a message about the file. It should not complain about anything, this is a false positive. Just to be sure I checked all binaries using metascanners metadefender.com and virustotal.com. First one checked them using 41 antiviruses and found nothing. Second one checked with 55 and one of them (Baidu) also gave false alert. BTW, both of these sites uses Symantec scanner but it did not complained about anything. ____________ | |
ID: 678 · Reply Quote | |
Optimized apps are great, Daniel. Working well on all three Windows hosts. Too new to Linux (Mint 18 xfce) to properly extract there but some day I'll take the time to try to get it figured out. Thanks! | |
ID: 683 · Reply Quote | |
I tried SSE2 optimized app on my Xeon L5420 running linux and times are passed from 8500s to 4500s! It's really impressive, thank you for your work. | |
ID: 684 · Reply Quote | |
Hello, | |
ID: 685 · Reply Quote | |
Hello, You do not need to modify any file, you only need to stop BOINC, unpack provided files into project directory and start BOINC. I checked your computers and looks that app could not start at all - there was error "Couldn't start app: CreateProcess() failed - Access refused.". Please check your antivirus, probably it blocks execution of this app. BTW, there are no optimized WUs, only app is optimized to crunch them faster. Is it possible to have a kind of "automatic" selection of the adequate WU's ? ie like Asteroids@Home (sse2/sse3/AVX - Please no FMA3 :) ) It is possible, application could check CPU and OS capabilities and select best algorithm for them. However this is more complicated, my goal was to release all versions as a separate apps and let users decide appropriate version(s). NB 64 WU's still reported as running but not on my computer anylonger :/ Looks like some synchronization problem. It will either disappear soon, or these WUs will time out and will be sent again. ____________ | |
ID: 686 · Reply Quote | |
Message boards :
Number crunching :
Optimization