I've Built a Couple OSX CUDA Apps...

Message boards : Number crunching : I've Built a Couple OSX CUDA Apps...
Message board moderation

To post messages, you must log in.

Previous · 1 . . . 15 · 16 · 17 · 18 · 19 · 20 · 21 . . . 58 · Next

AuthorMessage
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1765975 - Posted: 18 Feb 2016, 7:40:16 UTC

I know this looks as though it's a Bad case of Deja Vu, However, I feel I must ask it again;
So....has anyone been able to have their new Mac's CPUs use AVX rather than SSEx? The best I can tell, just about All of them are using SSEx on MBs and APs. They would be much faster using AVX...

Hmmm, I forgot about the APs, I'll have to look at those again. I did look at quite a few SETIv8 MBs though, and just as with SETIv7, None of the AVX capable CPUs are using anything higher than SSE3. The comparison is the same now as it was then.
This task is using AVX;
v_BaseLineSmooth (no other)
v_avxGetPowerSpectrum 0.000043 0.00000
avx_ChirpData_d 0.002743 0.00000
v_avxTranspose4x16ntw 0.001555 0.00000
JS AVX_a folding 0.000510 0.00000

This one isn't;
v_BaseLineSmooth (no other)
v_vGetPowerSpectrumUnrolled 0.000068 0.00000
sse3_ChirpData_ak8 0.008239 0.00000
v_vTranspose4x16ntw 0.001216 0.00000
BH SSE folding 0.000272 0.00000

Anyone?

Oh, I still can't compile the AstroPulse CPU App, same problem as back then...
ID: 1765975 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1766013 - Posted: 18 Feb 2016, 11:38:44 UTC - in response to Message 1765975.  

Like reported at Beta some time ago choosing AVX is broken in some way in the stock app. Only the fftw-lib uses AVX codelets (see link above). Older versions of the stock sah_v8 app did the same or worse.

Your optimized SSE4.1- and AVX-apps are working pretty well. What do you think, should these become alternative "release"-version ?
_\|/_
U r s
ID: 1766013 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766021 - Posted: 18 Feb 2016, 13:07:25 UTC
Last modified: 18 Feb 2016, 13:08:39 UTC

I'd also suggest packaging up the working apps with the necessary docs + libraries etc. The CUda MB apps will end up a mix of your builds and mine as well (I'm just in the process of repackaging etc, the horrible bits that no-one wants to do lol).

I'm sure complete advanced user packages can readily be hosted on Lunatics, Arkayn's site and mine. Only main thing to be wary of, is the GPL Docs need to be there & complete (AUTHORS, COPYING, etc), and if there are source/buildfile changes from a stock svn revision, then these should really be provided as well (though technically if still under GPLV2, charging postage for a really bad photocopy would meet the requirement, usually a source patchfile or branch on git reference in the readme would be easier, lol)
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766021 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1766046 - Posted: 18 Feb 2016, 15:12:11 UTC - in response to Message 1766013.  

When I was attempting to build the CPU App in the seti_boinc folder I noticed the SIMD levels went from SSE, SSE2, SSE3 to AVX. Without AVX the highest level used will be SSE3 which is what I'm seeing in the results. It would seem the SSE4.1 and AVX Apps would be a worthy addition.

All of the Apps posted at Arkayn's site were compiled with stock code from the repository using customized configure lines. So, there shouldn't be any problem with the GPL.
ID: 1766046 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766050 - Posted: 18 Feb 2016, 15:24:17 UTC - in response to Message 1766046.  
Last modified: 18 Feb 2016, 15:25:41 UTC

Hmmm, so something changed, since the best available and the fastest when Alex helped with porting his code, was SSSE3, so in between. Joe's MIA for some time, and I spent time away from CPU tools since being burned by Intel licences changiug under my builds (and dumping them).

To my mind Clang and careful compiler option selection might be the way to go, though with so many more options these days I'd be inclined to just build some scripts to test every option/

Rule of thumb I tend to use is 'twice as good in some metric or combination of metrics'. In that respect I see the CPU apps as slicing hairs, while Petri's work, possibilities with Vulkan, and new platforms with nothing as much more exciting, since M$ seems to be burning my development host (Win7) as well.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766050 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1766052 - Posted: 18 Feb 2016, 16:01:15 UTC - in response to Message 1766050.  

Back with the SETI version 7 Apps I did compile a SSSE3 version for the older machines. The results are still at beta, as well as on Main for those using the Stock SSSE3 App. On just about every machine I observed, the SSE41 App was faster. Here are the results for my 3rd generation Mac Pro from beta;
SETI@home v7 7.07 x86_64-apple-darwin (ssse3)
Number of tasks completed 59
Max tasks per day 96
Number of tasks today 0
Consecutive valid tasks 63
Average processing rate 20.65 GFLOPS
SETI@home v7 7.07 x86_64-apple-darwin (sse41)
Number of tasks completed 312
Max tasks per day 53
Number of tasks today 0
Consecutive valid tasks 21
Average processing rate 23.66 GFLOPS
Average turnaround time 0.67 days
Both Apps were around twice as fast as the stock App.

The current SSE41 App is basically the same as the version 7 App;
SETI@home v8 (anonymous platform, CPU)
Number of tasks completed 1406
Max tasks per day 1204
Number of tasks today 15
Consecutive valid tasks 1171
Average processing rate 23.54 GFLOPS
Average turnaround time 0.90 days
Which on My machine is around twice as fast as the Current Stock OSX App on Main.
ID: 1766052 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766053 - Posted: 18 Feb 2016, 16:04:54 UTC - in response to Message 1766052.  
Last modified: 18 Feb 2016, 16:05:19 UTC

Well SSe4.1 didn;t exist when AKv8 on mac was initiated. The sse41 mods were mine and they gave maybe a percent or so on my COre2duo (new at the time). Much was made about the viability despite solid technical reasons for it to exist. I suspect in the meantime it might have disappeared jsut because of the small different relative to GPU gains and trying to control number of builds (which is always too many to manage)
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766053 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1766087 - Posted: 18 Feb 2016, 19:02:09 UTC - in response to Message 1766053.  
Last modified: 18 Feb 2016, 19:03:46 UTC

Well SSE4.1 didn;t exist when AKv8 on mac was initiated. The sse41 mods were mine and they gave maybe a percent or so on my Core2duo (new at the time). Much was made about the viability despite solid technical reasons for it to exist. I suspect in the meantime it might have disappeared jsut because of the small different relative to GPU gains and trying to control number of builds (which is always too many to manage)

On my Macmini with Core i7 2nd gen. the SSE4.1 looked more like being 10%-15% faster over SSSE3 (standalone test). And AVX was another step faster than that. What is more important to me : These two CPU versions are more precise than SSSE3 for example, but i can't find out why ?

JasonG would you be so kind to remove the linux x41g sah_v7 app from lunatics downloads section ?
_\|/_
U r s
ID: 1766087 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766146 - Posted: 18 Feb 2016, 23:23:55 UTC - in response to Message 1766087.  
Last modified: 18 Feb 2016, 23:27:33 UTC

Well SSE4.1 didn;t exist when AKv8 on mac was initiated. The sse41 mods were mine and they gave maybe a percent or so on my Core2duo (new at the time). Much was made about the viability despite solid technical reasons for it to exist. I suspect in the meantime it might have disappeared jsut because of the small different relative to GPU gains and trying to control number of builds (which is always too many to manage)

On my Macmini with Core i7 2nd gen. the SSE4.1 looked more like being 10%-15% faster over SSSE3 (standalone test). And AVX was another step faster than that. What is more important to me : These two CPU versions are more precise than SSSE3 for example, but i can't find out why ?

JasonG would you be so kind to remove the linux x41g sah_v7 app from lunatics downloads section ?


Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

[Edit:] Yeah, some builds probably sum for normalisations in stripes/lines, and others on blocks. Any sums in serial chunks bigger than about 2048 elements start to diverge a bit, and become sensitive to error growth.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766146 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14542
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1766163 - Posted: 19 Feb 2016, 0:13:46 UTC - in response to Message 1766146.  

Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

I have general download management access, but ever since the latest software upgrade, permissions have become much more restrictive. You are listed as owner of that file, and I can't edit it. Arkayn may possibly have sufficient rights, but failing that, I think only Toby can shift it, if you don't want to do it yourself.
ID: 1766163 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766167 - Posted: 19 Feb 2016, 0:18:20 UTC - in response to Message 1766163.  
Last modified: 19 Feb 2016, 0:18:44 UTC

Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

I have general download management access, but ever since the latest software upgrade, permissions have become much more restrictive. You are listed as owner of that file, and I can't edit it. Arkayn may possibly have sufficient rights, but failing that, I think only Toby can shift it, if you don't want to do it yourself.


Can get to look at it later. Massively reshuffling jgopt to archive the defunct applications and start putting up Linux and Mac builds at the moment, but looks like I need to get some beer, since it's still a manual html editing process
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766167 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14542
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1766169 - Posted: 19 Feb 2016, 0:21:26 UTC - in response to Message 1766167.  

Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

I have general download management access, but ever since the latest software upgrade, permissions have become much more restrictive. You are listed as owner of that file, and I can't edit it. Arkayn may possibly have sufficient rights, but failing that, I think only Toby can shift it, if you don't want to do it yourself.

Can get to look at it later. Massively reshuffling jgopt to archive the defunct applications and start putting up Linux and Mac builds at the moment, but looks like I need to get some beer, since it's still a manual html editing process

Point and click here, but I've had my beer already - falling onto bed in about 5 minutes.
ID: 1766169 · Report as offensive
Profile jason_gee
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 24 Nov 06
Posts: 7489
Credit: 91,093,184
RAC: 0
Australia
Message 1766183 - Posted: 19 Feb 2016, 1:42:14 UTC - in response to Message 1766169.  

Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

I have general download management access, but ever since the latest software upgrade, permissions have become much more restrictive. You are listed as owner of that file, and I can't edit it. Arkayn may possibly have sufficient rights, but failing that, I think only Toby can shift it, if you don't want to do it yourself.

Can get to look at it later. Massively reshuffling jgopt to archive the defunct applications and start putting up Linux and Mac builds at the moment, but looks like I need to get some beer, since it's still a manual html editing process

Point and click here, but I've had my beer already - falling onto bed in about 5 minutes.


Seems to be done.
"Living by the wisdom of computer science doesn't sound so bad after all. And unlike most advice, it's backed up by proofs." -- Algorithms to live by: The computer science of human decisions.
ID: 1766183 · Report as offensive
Urs Echternacht
Volunteer tester
Avatar

Send message
Joined: 15 May 99
Posts: 692
Credit: 135,197,781
RAC: 211
Germany
Message 1766471 - Posted: 20 Feb 2016, 12:23:07 UTC - in response to Message 1766183.  

Not sure what, if any, access I have there, but anyone with access should feel free to move it to the appropriate dustbin (permission granted, lol). I have still to update my downloads page that is now irrelevant, lol.

I have general download management access, but ever since the latest software upgrade, permissions have become much more restrictive. You are listed as owner of that file, and I can't edit it. Arkayn may possibly have sufficient rights, but failing that, I think only Toby can shift it, if you don't want to do it yourself.

Can get to look at it later. Massively reshuffling jgopt to archive the defunct applications and start putting up Linux and Mac builds at the moment, but looks like I need to get some beer, since it's still a manual html editing process

Point and click here, but I've had my beer already - falling onto bed in about 5 minutes.


Seems to be done.
Thanks for allowing the clean-up.
_\|/_
U r s
ID: 1766471 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1766489 - Posted: 20 Feb 2016, 15:55:37 UTC - in response to Message 1766087.  
Last modified: 20 Feb 2016, 16:24:25 UTC

Well SSE4.1 didn;t exist when AKv8 on mac was initiated. The sse41 mods were mine and they gave maybe a percent or so on my Core2duo (new at the time). Much was made about the viability despite solid technical reasons for it to exist. I suspect in the meantime it might have disappeared jsut because of the small different relative to GPU gains and trying to control number of builds (which is always too many to manage)

On my Macmini with Core i7 2nd gen. the SSE4.1 looked more like being 10%-15% faster over SSSE3 (standalone test). And AVX was another step faster than that. What is more important to me : These two CPU versions are more precise than SSSE3 for example, but i can't find out why ?

JasonG would you be so kind to remove the linux x41g sah_v7 app from lunatics downloads section ?

I was looking over a couple of the OSX Lion machines that are failing with most of the CPU Apps, http://setiathome.berkeley.edu/results.php?hostid=6800073
Seems the only versions that worked very well were the SETI@home v7 7.00 i686-apple-darwin & SETI@home v7 7.07 x86_64-apple-darwin (ssse3) apps, http://setiathome.berkeley.edu/host_app_versions.php?hostid=6800073. Any idea why that one particular OSX version has those problems? Strange it's just those few Darwin 11.4.2 machines. I checked on upgrades and apparently Apple has removed all links to Mavericks & Yosemite. If you don't have a local copy of those two the only choice is to Pay to go to Mountain Lion, or use the free El Capitan. So, a simple upgrade to the once Free Mavericks isn't that easy for these machines.

Here's another 11.4.2 machine, http://setiathome.berkeley.edu/show_host_detail.php?hostid=6764277
http://setiathome.berkeley.edu/show_host_detail.php?hostid=6954893
http://setiathome.berkeley.edu/show_host_detail.php?hostid=7264915
ID: 1766489 · Report as offensive
Chris Adamek
Volunteer tester

Send message
Joined: 15 May 99
Posts: 251
Credit: 434,772,072
RAC: 236
United States
Message 1766495 - Posted: 20 Feb 2016, 16:22:09 UTC - in response to Message 1766489.  

If you ever downloaded Mavericks or Yosemite from the App Store you can download them again from your "purchased" items...

Chris
ID: 1766495 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1766497 - Posted: 20 Feb 2016, 16:30:00 UTC - in response to Message 1766495.  

I looked at that after someone suggested it in the Apple Forums. Mine are greyed out, don't work for Mavericks & Yosemite. The One for Lion still works though. Seems Apple has removed the Previous Free versions and now only offers El Capitan as a free version. Someone said if you email the Apple Store they will offer the Previous Free versions for around $20. Don't know if that's correct or not, I just read it on the internet ;-)
ID: 1766497 · Report as offensive
Profile Zalster Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 27 May 99
Posts: 5516
Credit: 528,817,460
RAC: 242
United States
Message 1766506 - Posted: 20 Feb 2016, 16:58:41 UTC - in response to Message 1766497.  

If only you had said something last month.

I just threw away my install disk for some of those old OS 3 weeks ago.

Was going threw the closet and throwing away old boxes and ran across the disks on the top shelf....
ID: 1766506 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6533
Credit: 196,805,888
RAC: 57
United States
Message 1766517 - Posted: 20 Feb 2016, 17:47:34 UTC - in response to Message 1766506.  

If only you had said something last month.

I just threw away my install disk for some of those old OS 3 weeks ago.

Was going threw the closet and throwing away old boxes and ran across the disks on the top shelf....

I just cleaned my archive of 10.4.4 to 10.10 .dmgs. I didn't think I would need them any longer as I don't have any macs to care for these days. I guess I should have held onto them a bit longer. :/
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the BP6/VP6 User Group today!
ID: 1766517 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 1766520 - Posted: 20 Feb 2016, 18:06:28 UTC

I think there are some old Mac System 7 Floppies around here somewhere, never throw those things away. I think they are next to the Office 5 Floppies, so, where are the Office 5 floppies...

Now that I think about it, I'm fairly certain I ran the old SETI@home v7 7.07 SSE41 App on my machine in 11.4.2, and it worked fine. Maybe it's a LapTop thing. It seems those are LapTops having the problems with the CPU Apps in 11.4.2.

Strange.
ID: 1766520 · Report as offensive
Previous · 1 . . . 15 · 16 · 17 · 18 · 19 · 20 · 21 . . . 58 · Next

Message boards : Number crunching : I've Built a Couple OSX CUDA Apps...


 
©2023 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.