optimised apps

Forum rules
User avatar
Bryan
Boinc Brigadier
Boinc Brigadier
Posts: 2621
Joined: Thu May 21, 2015 6:18 pm

#1 optimised apps

Post by Bryan »

There are new optimized apps for both Windows and Linux:

HERE

From the forums, for machines that support AVX and FMA3 the AVX performs a little better. On Sandybridge and later use the AVX app. For machines that don't support AVX then use the SSE2 app.

1. Download and unpack the file.
2. Stop BOINC
3. Copy the 2 files into your /projects/gene... folder
4. Restart BOINC

You should be good to go at this point. To confirm look at your BOINC message and you should see a line towards beginning saying; TN-Grid fournd app_info file using anonymous platfrom.
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#2 Re: TN-GRID Optimized App

Post by Alez »

I was away to post this. Great minds and all that :D
Image
The best form of help from above is a sniper on the rooftop....
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5978
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#3 Re: TN-GRID Optimized App

Post by scole of TSBT »

Is the file TN-Grid.windows-x86-64-avx-v1.0.zip, dated Dec 20, the only 64 bit version?

Is TN-Grid.windows-x86-avx-v1.0.zip, dated Dec 29, the 32 bit version or latest 64 bit version? EDIT: It's the 32 bit version.
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#4 Re: TN-GRID Optimized App

Post by Alez »

the x86 are 32 bit, x86-64 are 64 bit. There are 3 apps for each type of system. SSE2, AVX and FMA. I have installed the sse2 versions. Only 64 bit available for linux.

2 x faster on i7 on win7, nearly 5 x faster on xeons :shock:
3 x faster on amd fx6300.
Installed on the linux systems, will have some numbers for that in a few hours I guess.
Image
The best form of help from above is a sniper on the rooftop....
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5978
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#5 Re: TN-GRID Optimized App

Post by scole of TSBT »

What is FMA, which systems will it run on and is it faster than any of the others?

Also, AVX runs on my i7-3770K but I think that is AVX 1.0. Is that still faster than FMA and SSE2?
Image
User avatar
Bryan
Boinc Brigadier
Boinc Brigadier
Posts: 2621
Joined: Thu May 21, 2015 6:18 pm

#6 Re: TN-GRID Optimized App

Post by Bryan »

I'm checking to see whether Linux or Windows pays better. On 2 I7-3930 machines it looks like Windows has the edge. I just moved a dual X5675 machine over so I can check it on a single machine. It'll take several hours to get the results.

You certainly have to pay the pending god on this project ... I have 134k in pending now :(

My machines sat idle for 6 hours last night ... I just couldn't figure out what I wanted to run. I finally decided I would follow you guys over. It worked out fantastic for me. I haven't run TN-Grid since 2015 and they've renamed the project (used to have "test" at the end). I happened to need one itty bitty WuProp star to get my 3 star on the 4th right :D BINGO!
Image
User avatar
Bryan
Boinc Brigadier
Boinc Brigadier
Posts: 2621
Joined: Thu May 21, 2015 6:18 pm

#7 Re: TN-GRID Optimized App

Post by Bryan »

scole250 wrote:What is FMA, which systems will it run on and is it faster than any of the others?

Also, AVX runs on my i7-3770K but I think that is AVX 1.0. Is that still faster than FMA and SSE2?
FMA3 is a new instruction set and is either Haswell or the generation after that. It really speeds up Prime crunching - PG uses it now.

In one step it will multiply 2 numbers and add them to a running total:

C=A*B+C

According to some benchmarks on the forums it appears to be a little slower than AVX .. on PG it is much better than AVX 2.0. So it is dependent on how much the code relies on doing that type of calculation.

I didn't try the SSE2 on my Sandybridge CPUs which have AVX 1 but the AVX made a BIG difference on them.

EDIT: FMA3 would also greatly speed up FFT calculations ... we'll all probably be dead and gone before Seti upgrades their app to take advantage of it :lol:
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#8 Re: TN-GRID Optimized App

Post by Alez »

SSE2 will run on just about every semi modern PC. AVX might or might not be slightly faster though you have to balance heat versus output and the fact that credit screw will kick you in the nads for actually crunching units too quick. FMA3 I believe is Haswell and further only.
SSE2 on linux seems to be about double the speed of the standard app on both i7's and xeons. Seems Windoze is the main winner of the opti app or in other words the standard app runs crap on doze and far better on linux. Another win for team penguin. :D
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#9 Re: TN-GRID Optimized App

Post by Alez »

Anyone tried the AVX versus the sse2 ?
My initial gains seem to be holding. Opti app is wat faster.
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Bryan
Boinc Brigadier
Boinc Brigadier
Posts: 2621
Joined: Thu May 21, 2015 6:18 pm

#10 Re: TN-GRID Optimized App

Post by Bryan »

Alez wrote:Anyone tried the AVX versus the sse2 ?
My initial gains seem to be holding. Opti app is wat faster.
I haven't tried AVX vs SSE2 however I can report that there is virtually no difference between Linux or Windows using the same machines. Linux may crunch just a hair faster but Windows pays a hair more so it is a total wash.
Image
User avatar
Dirk Broer
Corsair
Corsair
Posts: 1958
Joined: Thu Feb 20, 2014 11:24 pm
Location: Leiden, South Holland, Netherlands
Contact:

#11 Re: TN-GRID Optimized App

Post by Dirk Broer »

There are even ARMv6, ARMv7 and ARMv8 apps for TN-Grid
Image
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5978
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#12 Re: TN-GRID Optimized App

Post by scole of TSBT »

I think I have enough pending to coast to a gold badge so I'm going NNW
Image
davidbam
General Bitchin'
General Bitchin'
Posts: 6372
Joined: Wed Aug 15, 2018 1:15 pm
Location: Huntly, Scotland
Contact:

#13 Re: TN-GRID Optimized App

Post by davidbam »

Are any of these optimisations still applicable please? (on Linux)

I am giving TN-Grid a wee trial
I think this is fool-proof but could you just try it for me please? • There are 10 types of people in the world; those who understand binary, and those who don’t
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#14 Re: TN-GRID Optimized App

Post by Alez »

I believe they have all now been incorporated into the project as the official apps. Certainly you should get sse2 and avx units until project decides which are best for that system.
Image
The best form of help from above is a sniper on the rooftop....
davidbam
General Bitchin'
General Bitchin'
Posts: 6372
Joined: Wed Aug 15, 2018 1:15 pm
Location: Huntly, Scotland
Contact:

#15 Re: TN-GRID Optimized App

Post by davidbam »

Okay - many thanks
I think this is fool-proof but could you just try it for me please? • There are 10 types of people in the world; those who understand binary, and those who don’t
Image
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#16 Re: TN-GRID Optimized App

Post by Alez »

Of course when an app leaves the stone age, the usual suspects complain that it crashes on their win xp 32 bit systems. The same people that continue to use Boinc 6.xxx and probably believe that tin foil hats are required at all times.
Image
The best form of help from above is a sniper on the rooftop....
User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 10363
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

#17 Re: TN-GRID Optimized App

Post by Alez »

Also be aware that some tasks can have quite high memory usage. Best to check and adjust the number of running cores appropriately.
Image
The best form of help from above is a sniper on the rooftop....
Post Reply Previous topicNext topic

Return to “TN-Grid”