Search for prime gaps that can be found in the range 4e18 to 5e18

Avast ye scurvey dogs, Yaar! You have been warned!
Forum rules
Welcome to The Scottish Boinc Team boards. See forum rules in pinned post. If you can't be bothered then try not to be too naughty as I have a delete button to press and a ban hammer to swing.
pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Mon Jun 12, 2017 6:10 pm

Hi all,

Need someone in UK who has at least a machine with 32 cores or more (AVX2.0), more than 32GB of memory, to run some work from a project I am involved with, I'll pay for the electricity.

Please PM so I can send you the details.

Carlos

PS(Binaries I have are windows for ivybridge, sandybridge and haswell Intel processors)
SETI.USA member

User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 6267
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Alez » Tue Jun 13, 2017 2:30 am

Sorry Carlos, I have no such systems. Best I can offer is Xeon x5650 with 24 threads and it is linux .
The best form of help from above is a sniper on the rooftop....
Image

User avatar
Silver
Boinc Brigadier
Boinc Brigadier
Posts: 2206
Joined: Sun Apr 14, 2013 7:09 pm
Location: Aberdeen/Anguilla

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Silver » Tue Jun 13, 2017 9:57 am

I don't think we've got anyone in the UK with that many cores in a single machine Carlos
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 5:12 pm

Thank you guys.
SETI.USA member

User avatar
scole250
Boinc Brigadier
Boinc Brigadier
Posts: 3040
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by scole250 » Tue Jun 13, 2017 8:04 pm

Does the system need to be in the UK?
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 8:31 pm

scole250 wrote:
Tue Jun 13, 2017 8:04 pm
Does the system need to be in the UK?
It's easier to pay for the electricity by bank transfer.
SETI.USA member

User avatar
scole250
Boinc Brigadier
Boinc Brigadier
Posts: 3040
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by scole250 » Tue Jun 13, 2017 8:36 pm

How much system time do you need? And how soon you need it?
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 8:44 pm

scole250 wrote:
Tue Jun 13, 2017 8:36 pm
How much system time do you need?
Running on my laptop 4 cores (Ivybridge) is around 64 days.
gap5_f_exe.zip
cygwin1.zip
Binaries attached,dll should be on the exe folder.

To run use the current binary, windows create start.bat as:

start /low /min gap5_f_ivybridge.exe -n1 4800e15 -n2 4900e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4

use the correct exe file
mem - as max as possible, this case I am using 12GB out of 16GB
-t - number of threads, using 4
speed I get is around 18E9n/sec

(100E15/18E9)/(24*3600)=64 days

The 100e15 range can be broken:

start /low /min gap5_f_ivybridge.exe -n1 4800e15 -n2 4810e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4810e15 -n2 4820e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4820e15 -n2 4830e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4830e15 -n2 4840e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4840e15 -n2 4850e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4850e15 -n2 4860e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4860e15 -n2 4870e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4870e15 -n2 4880e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4880e15 -n2 4890e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
start /low /min gap5_f_ivybridge.exe -n1 4890e15 -n2 4900e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4
You do not have the required permissions to view the files attached to this post.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 10:09 pm

Does it compute faster if you turn hyper threading off?
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:16 pm

Bryan wrote:
Tue Jun 13, 2017 10:09 pm
Does it compute faster if you turn hyper threading off?
It's faster with HT on.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 10:30 pm

Can you break it into smaller chucks? ie if you change your .bat file to


start /low /min gap5_f_ivybridge.exe -n1 4800e15 -n2 4850e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4

would it just run the 1st 5 and then stop?

Does it upload the results automatically or what would someone do with them?
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:36 pm

They are standalone clients without communication with any server.
Yes, you can breakdown the range into smaller ones as I have on my post. Just change the number after -n1 and after -n2 respectively. Your example does half of the range, don't forget to change -t accordingly and -mem as well.

Solutions are saved on gap_solutions.txt and check points every 45 mins (it's in function of the size, can't remember, that's the time on my laptop), file worktodo_gap.txt.
Last edited by pinhodecarlos on Tue Jun 13, 2017 10:39 pm, edited 1 time in total.
SETI.USA member

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:38 pm

start /low /min gap5_f_ivybridge.exe -n1 4800e15 -n2 4850e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 12 -t 4

This one does one junk on 50 and then it closes running on 4 threads and using 12GB of memory. It starts the range from 4800 to 4850, but you can change from 4800 to 4810, 4810 to 4820, and so on. Each block of 10 takes 6 days on my ivibridge machine using 4 threads. Haswell machines are at least 50-70% faster than my laptop.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 10:43 pm

Okay Carlos, I have 64 threads and 128G. What do I need for a bat file to run the 1st one ... just the 1st segment. I want to see how long it takes before I commit beyond that 1 slice.

I'm guessing:

start /low /min gap5_f_ivybridge.exe -n1 4800e15 -n2 4810e15 -gap 1250 -delta 155 -sb 24 -bs 16 -mem 128 -t 64
Last edited by Bryan on Tue Jun 13, 2017 10:45 pm, edited 1 time in total.
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:44 pm

Bryan, that's correct just decrease memory a little to 120.
Also put the dll inside the folder and bear in mind the binary to use in function of the CPU you have.
Last edited by pinhodecarlos on Tue Jun 13, 2017 10:46 pm, edited 1 time in total.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 10:46 pm

Okay I'll give it a try. That machine is on Linux right now so it will take me a little bit to get going. Is there any way to tell the progress or does it just stop?
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:49 pm

On the command line you will see the progress on the number starting on 4800e15. There is no % progress. Also it will show you the speed in xxe9 n/sec.
You also can open the solution txt file to see the results getting closer to the n2 limit. Think you are going to do that block in less than one day.
The client will close down when it finishes the range.
SETI.USA member

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:50 pm

What's the processor type and speed?
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 10:52 pm

E5 2683 V4 @ 2.6G with 64 threads under load.
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Tue Jun 13, 2017 10:55 pm

Think you will do that range of 10 in less than 12 hours. Fingers crossed. Use the haswell binary.
SETI.USA member

User avatar
scole250
Boinc Brigadier
Boinc Brigadier
Posts: 3040
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by scole250 » Tue Jun 13, 2017 11:14 pm

I'd set the memory to something less than 128GB. 120GB max, maybe even 112GB
Image

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Tue Jun 13, 2017 11:25 pm

I set the memory at 120G and the 1st segment is now cranking. At the 5 minute mark the CPU is at 65-80% with 56G in use.
Image

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Wed Jun 14, 2017 2:27 am

The 1st checkpoint came up and it appears it is less than double the speed of your laptop :lol:

32.67e9 vs your 18e9

The machine at 7505 seconds was at 4800245xxx so if the end result is 4810 and it is linear then it will take 85 hours to finish 4800-4810.

I see that the 2 CPUs are not being utilized equally. If I were to do it again then I would break the 4800-4810 into 2 WU and run 1 on each CPU. To do that you might need to launch the 2nd one from a different directory so it doesn't get screwed up with writing to the results file. It is now using 85G of memory.

By the way, it is using AVX2 because the CPUs are downclocked by 250MHz.
Last edited by Bryan on Wed Jun 14, 2017 3:42 am, edited 1 time in total.
Image

User avatar
Alez
[ TSBT's Pirate ]
[ TSBT's Pirate ]
Posts: 6267
Joined: Thu Oct 04, 2012 1:22 pm
Location: roaming the planet

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Alez » Wed Jun 14, 2017 3:31 am

If my systems are up to helping , then let me know and i'm up for helping with no payment required.
The best form of help from above is a sniper on the rooftop....
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Wed Jun 14, 2017 5:19 pm

Sorry for coming back so late. Please find the linux binaries.
gap5_f_linux_static.zip
gap5_f_linux.zip
I did inquire the people running dual socket and they are running two instances of the client in separate folders.
You do not have the required permissions to view the files attached to this post.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Wed Jun 14, 2017 6:21 pm

Carlos, my systems are NOT using AVX. I tried 2 more systems E5 2695 V4 (72t) and E5 2695 V3 (56t) and according to the clock rate they aren't using AVX with the Haswell executable.

To confirm I ran BOINC Stop on both machines and looked at the clock rate ... ie on the V3 machine it was 2.8GHz. I then switched to Asteroids which is AVX and the clock rate dropped to 2.5GHz as it should.

When I start the Gap application the clock rate is the same as standard ... they don't downclock which means they are not running AVX/FMA3.

It is possible that the application is doing a lot of preliminary work and then doing the actual AVX calculation in bursts. I did notice that it runs for about 2 hours at 80% CPU usage and then does a 5 minute burst where it goes to 100%. Right after than it does the status update.

If that 64 thread machine is going to produce less results than 2 of your 4 core laptops I'm not inclined to continue.
Image

pinhodecarlos
Boinc Corporal
Boinc Corporal
Posts: 70
Joined: Sun Feb 21, 2016 11:22 am
Location: Irthlingborough,UK

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by pinhodecarlos » Wed Jun 14, 2017 6:25 pm

Bryan, got confirmation from Thomas that: "Actually the AVX registers are only used once for the translation of the floating point input arguments (n1, n2) into integers." which follows the behavior you're experience. AVX is not being fully utilized. Apologies and please fell free to stop the running.
SETI.USA member

User avatar
Bryan
Boinc Lietenant Colonel
Boinc Lietenant Colonel
Posts: 900
Joined: Thu May 21, 2015 6:18 pm

Re: Search for prime gaps that can be found in the range 4e18 to 5e18

Unread post by Bryan » Wed Jun 14, 2017 8:08 pm

Okay Carlos and thanks for checking. I will be shutting it down since I don't see much benefit of running a machine of that class.
Image

Post Reply Previous topicNext topic

Return to “Anguillan Pirates”

Who is online

Users browsing this forum: No registered users and 1 guest