![]() |
![]() |
#23 |
"David Barina"
Jul 2016
Brno
23×5 Posts |
![]()
I decided to start a distributed computing project. The aim is to raise the threshold below which the convergence of the Collatz problem is verified, particularly from 87 × 2^60 to 88 × 2^60. I keep checksums of each verified block, so my research can be verified. All source code is open, and all compute nodes are already running. The nodes involved in this distributed computing are nodes in a cluster available at our university and nodes in IT4I. For those who are interested, the progress can be tracked here.
|
![]() |
![]() |
![]() |
#24 |
"Dylan"
Mar 2017
25016 Posts |
![]()
I’ve managed to compile the code on a Ubuntu 19.04 VM (it doesn’t compile using Windows 64 bit and mingw64) and I have attached my computer to the project. My question is how large are the work units? As when I run ./client I have assignments 91231623-91231628 and you are currently searching the superblock 88*2^60?
|
![]() |
![]() |
![]() |
#25 |
"Dylan"
Mar 2017
24·37 Posts |
![]()
My machine just turned in its first results for the project. Running 6 tasks at once, it takes about 2h 22m to do the tasks. If I know the size of the tasks, I can compute the rate of the calculation.
FYI, I am using an Intel i7-8750H to run this. |
![]() |
![]() |
![]() |
#26 |
"David Barina"
Jul 2016
Brno
23×5 Posts |
![]()
Hi Dylan,
The code requires 64-bit long int type, and GCC's __int128 extension. It should compile fine on 64-bit Linux machines. The size of a single work unit is 2^40 numbers (currently somewhere between 87 × 2^60 and 88 × 2^60). Today I was faced some technical issues. The master server could not handle the number of connected clients (tens of thousands). For this reason, I had to rewrite the communication protocol to distribute the assignments in batches. However, everything is already done, and the computation nodes are running again. The current progress can be tracked at: http://pcbarina2.fit.vutbr.cz/~ibari...-bin/status.sh If you want to join the project, please use "mclient" instead of the older "client". The mclient communicates using single TCP/IP connection, saving the server resources. A single work unit (2^40 number) usually takes something between one and five hours, depending on the machine. |
![]() |
![]() |
![]() |
#27 |
"David Barina"
Jul 2016
Brno
2816 Posts |
![]()
Just for the sake of curiosity, most clients run on this computing cluster. So tens of thousands of TCP/IP connections soon became a bottleneck.
|
![]() |
![]() |
![]() |
#28 | |
"Dylan"
Mar 2017
24×37 Posts |
![]() Quote:
A suggestion (in the case more people get interested in running this, not so much if this will be just a long running job on your cluster): say after the client has run 2^35 numbers (about 3% of the workunit), write a checkpoint file and then if the user needs to interrupt the computation they can launch the client again and the client will restart from the number recorded in the checkpoint file. |
|
![]() |
![]() |
![]() |
#29 |
"David Barina"
Jul 2016
Brno
23·5 Posts |
![]()
Good point for an improvement. However, when I chose this work unit (2^40), I estimated that modern computers would give it in about one hour.
One more question: When you said "Running 6 tasks at once, it takes about 2h 22m to do the tasks", you meant running 6 tasks on 6 cpu cores, not on a single core (that would be extremely fast), right? |
![]() |
![]() |
![]() |
#30 |
"Dylan"
Mar 2017
24·37 Posts |
![]()
By that statement, I mean 6 cores, each working on 1 task, not a single core running 6 tasks.
|
![]() |
![]() |
![]() |
#32 |
"Dylan"
Mar 2017
59210 Posts |
![]()
I was able to get the Collatz code to compile under Windows 10 64 bit using Cygwin.
|
![]() |
![]() |
![]() |
#33 |
"David Barina"
Jul 2016
Brno
4010 Posts |
![]()
Cool! And does the client work properly? I mean whether the client connects to the server, computes its assignment, and returns the result correctly to the server.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Collatz 3x+1 problem | Cybertronic | Miscellaneous Math | 4 | 2019-03-20 08:40 |
Collatz Conjecture Proof | Steve One | Miscellaneous Math | 21 | 2018-03-08 08:18 |
this thread is for a Collatz conjecture again | MattcAnderson | MattcAnderson | 16 | 2018-02-28 19:58 |
Collatz conjecture | MattcAnderson | MattcAnderson | 4 | 2017-03-12 07:39 |
Related to Collatz conjecture | nibble4bits | Math | 1 | 2007-08-04 07:09 |