CPU folding without AVX

A forum for discussing FAH-related hardware choices and info on actual products (not speculation).

Moderator: Site Moderators

Forum rules
Please read the forum rules before posting.

CPU folding without AVX

Postby katakaio » Thu Apr 26, 2018 4:37 pm

I've been folding on GPUs for quite a while now and felt guilty about not showing the CPU projects any love (apart from one or two cores on my GPU folding rig). That's why when I came across a free (!) 2010 Mac Pro with two 6-core Xeons (X5670), I knew it was time to get back on the CPU folding bandwagon. After upgrading to macOS 10.13 and installing FAH, it's been pulling A4 units consistently and happily chugging along.

My question is about the future of WUs that do not utilize AVX, since these Xeons support SSE but not AVX. It's my understanding that A7 units take advantage of the AVX instruction set on more modern processors, although there are plenty of A4 units still in the pipeline. Am I correct in thinking this? If so, if/when the A4 units are exhausted, will my rig be able to complete A7 units without AVX? I'm just trying to get a sense of how "helpful" this rig will be for future FAH projects. Thanks!
Intel Core i5-3550
EVGA GeForce GTX 750 Ti, 560 Ti
Posts: 23
Joined: Wed Oct 28, 2009 7:31 pm
Location: Florida

Re: CPU folding without AVX

Postby JimboPalmer » Thu Apr 26, 2018 4:49 pm

a4 only uses SSE2. Many existing project were started with a4 and will remain on a4 for as long as the project runs.

a7 can also uses SSE2, but can detect AVX2 and use its advanced mathematical power, if available. Only truly new projects are using a7, it will take years before they are the majority.

a7 does better science than a4, using AVX2 does not do better science, just faster science. (faster science is more points)

Today you can do all CPU work. In the future, you can still do all CPU work. (There may someday be a core than only works on AVX2, but it is not something F@H is working on now.)
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Posts: 813
Joined: Mon Feb 16, 2009 4:12 am
Location: Greenwood MS USA

Re: CPU folding without AVX

Postby katakaio » Thu Apr 26, 2018 7:11 pm

All good news - thank you!
Posts: 23
Joined: Wed Oct 28, 2009 7:31 pm
Location: Florida

Re: CPU folding without AVX

Postby Joe_H » Thu Apr 26, 2018 10:00 pm

I have a 2009 iMac with an i7 processor that also only uses SSE2 for working on CPU WU's. It gets a mix of A4 and A7 WU's, so eventually you should also see some A7 projects on your Mac Pro. As Jimbo mentioned, SSE2 is sufficient for using both cores, and will be supported for some time.

One thing you may want to experiment with a bit is how many CPU threads you set for processing. I found with the A7 core the FPU utilization was efficient enough that adding the HT cores did not add much to the processing throughput. So I have left the iMac processing on just the 4 cores of the i7. With more cores and dual processors you might find a different sweet spot utilizing some or all of the available HT cores.

You did not mention which version of the client you were using. If you are using the released version 7.4.4, the thread count needs to be set at a multiple of 2, 3, and/or 5. Multiple of primes greater than that no longer get assignments. The 7.4.16 public beta has code to get assignments for as many cores as possible, up to the number set in the client configuration.

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Site Admin
Posts: 4443
Joined: Tue Apr 21, 2009 4:41 pm
Location: W. MA

Re: CPU folding without AVX

Postby bruce » Sat Apr 28, 2018 2:48 am

FAHClient does detect whether your CPU supports AVX but to the best of my knowledge, the Assignment Server does not use that information. Once a WU is assigned, it will load one of 3 versions of a FAHCore ... A4 or A7, depending on the Project's preference, and if that happens to be A7, one of two versions of A7, one that uses AVX or one that uses only SSE2. In fact, the SSE2 version of A7 is quite similar to A4.
Posts: 22320
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Return to FAH Hardware

Who is online

Users browsing this forum: No registered users and 1 guest