Posts by Sergei Chernykh

1) Message boards : News : MacOS GPU version released (Message 625)
Posted 8 days ago by Sergei Chernykh
Post:
GPU requirements are the same as for Windows and Linux versions: AMD (HD 5xxx or newer) or NVIDIA (GTX 4xx or newer) GPU with OpenCL support and at least 2 GB of video memory.

The MacOS GPU version has been confirmed to work on OS X El Capitan and MacOS Sierra. Older MacOS versions have poor OpenCL support and may fail to run the GPU version.
2) Message boards : Bug tracker : Total number of tasks falls (Message 624)
Posted 11 days ago by Sergei Chernykh
Post:
Work units that were completed and validated more than one week ago are automatically deleted.
3) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 622)
Posted 11 days ago by Sergei Chernykh
Post:
I know this is a low priority - I just got my (modified) MacPro up on Amic, and CPU tasks are running now. It appears there is no Mac version of the GPU applications... :-/

(Yeah, I know, I may be the ONLY one on this project with a Mac with an AMD card in it...)

I finally figured out how to compile OpenCL version for MacOS and added AMD and NVIDIA OpenCL application versions for MacOS 10.7 or newer: https://sech.me/boinc/Amicable/apps.php
4) Message boards : Number crunching : How are the APs sorted? (Message 621)
Posted 13 days ago by Sergei Chernykh
Post:
The project discovered a first example of type (10,4) amicable pair:
10,4 "BOINC: Cautilus, Hooker63" 2017
60839375973463962290=2*5*13*17*41*59*73*83*109*127*241*563
75707483892585778510=2*5*503*77549*261071*743423

Finding new types of amicable pairs is a rare event.

It was also close to beat the lowest m/n ratio for known amicable pairs, but didn't break the record yet.
5) Message boards : Number crunching : How are the APs sorted? (Message 619)
Posted 13 days ago by Sergei Chernykh
Post:
They're sorted by the smaller member in a pair. The number "65" is type of amicable pair. In short, first digit is how many prime factors are there in the smaller member that don't divide the larger member, second digit is how many prime factors are there in the larger member that don't divide the smaller member. You can find strict definition here: http://mathworld.wolfram.com/AmicablePair.html
6) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 617)
Posted 23 days ago by Sergei Chernykh
Post:
I'll look into making Mac GPU version next week.
7) Message boards : News : The search up to 10^20 (Message 614)
Posted 16 Aug 2017 by Sergei Chernykh
Post:
I haven't decided yet. The search up to 10^20 will take more than 4 years at current speed, so 10^21 will take more than 40 years which is just too much. So it all depends on how many volunteers will be running the project in 4 years from now.
8) Message boards : News : The search up to 2^64 is complete! (Message 612)
Posted 16 Aug 2017 by Sergei Chernykh
Post:
Congratulations to everyone who took part in this search!

- There are 2,390,655 amicable pairs with smaller member below 2^64 in total
- BOINC volunteers found 552,874 new amicable pairs below 2^64

A more detailed analysis of amicable pairs distribution will follow later this month. And don't forget to edit your preferences and check that you're all set up to run the current search up to 10^20.
9) Message boards : News : Credits for the old application (search up to 2^64) doubled (Message 609)
Posted 13 Aug 2017 by Sergei Chernykh
Post:
There are no new WUs, I've just spawned more tasks for existing WUs to speed up things. Check https://sech.me/boinc/Amicable/workunit.php?wuid=2591144 for example. It has 3 tasks "In progress" now, so it should finish as soon as any of these 3 tasks is finished.
10) Message boards : News : Credits for the old application (search up to 2^64) doubled (Message 607)
Posted 12 Aug 2017 by Sergei Chernykh
Post:
Are we all done with 2^64?

Yes, all WUs are out, we're now waiting for current tasks in progress to complete.
11) Message boards : Number crunching : Extend deadline fpr 10^20 WU? (Message 604)
Posted 9 Aug 2017 by Sergei Chernykh
Post:
Would it lead to issues on the server side when extending the deadline a few days?

The problem is that the project uses replication: each workunit is sent to two volunteers, and if one of them holds it, the other one will have to wait until he gets credit for it.

Even if you miss deadline for some workunits, they'll just be sent to someone else. Just make sure that if you're already running a workunit, wait until it completes if you're going to switch to other projects for a few days.
12) Message boards : Bug tracker : RAM problem (Message 601)
Posted 7 Aug 2017 by Sergei Chernykh
Post:
Nothing is wrong, the last batches for the 2^64 application need a lot of RAM: https://sech.me/boinc/Amicable/forum_thread.php?id=88
13) Message boards : Number crunching : Extend deadline fpr 10^20 WU? (Message 600)
Posted 7 Aug 2017 by Sergei Chernykh
Post:
The deadline is 3 days, current workunits finish in only ~3 hours on your PC. I don't see a big issue here.
14) Message boards : Getting started : A note to the Project Dev/Lead (Message 596)
Posted 3 Aug 2017 by Sergei Chernykh
Post:
1) 2^64 app needs a lot of memory per thread now, it can't be avoided at this stage of the search.
2) 10^20 is not supposed to run on GPUs with less than 2 GB memory. It's probably a bug that BOINC assigned it to your GT 440 OEM 1.5 GB.
3) 10^20 app uses only integer arithmetic, you can look at performance comparison here: https://sech.me/boinc/Amicable/gpu_list.php

P.S. 10^20 app does use 32-bit floats in a few places outside of main loops, but they take a negligible amount of total execution time. It can even run on GPUs that don't support double precision at all.
15) Message boards : Bug tracker : Daily quota error in event log? (Message 593)
Posted 26 Jul 2017 by Sergei Chernykh
Post:
looks like host #2209 decided to take its turn at getting blacklisted. lol
i replaced the RAM today, and set up dual channel properly (not colour-coded on this board). hopefully this clears things up for the future. :)

You set kernel size = 23 for NVIDIA cards. Host #2209 has GTX 750 ti and it just doesn't have enough memory to run kernerl size = 23. Try to decrease it.
16) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 590)
Posted 21 Jul 2017 by Sergei Chernykh
Post:
I've checked BOINC client source code, and found this in "client/gpu_nvidia.cpp":
// return 1/-1/0 if device 1 is more/less/same capable than device 2.
// factors (decreasing priority):
// - compute capability
// - software version
// - available memory
// - speed
//
// If "loose", ignore FLOPS and tolerate small memory diff
//
int nvidia_compare(COPROC_NVIDIA& c1, COPROC_NVIDIA& c2, bool loose) {
    if (c1.prop.major > c2.prop.major) return 1;
    if (c1.prop.major < c2.prop.major) return -1;
    if (c1.prop.minor > c2.prop.minor) return 1;
    if (c1.prop.minor < c2.prop.minor) return -1;
    if (c1.cuda_version > c2.cuda_version) return 1;
    if (c1.cuda_version < c2.cuda_version) return -1;
    if (loose) {
        if (c1.available_ram> 1.4*c2.available_ram) return 1;
        if (c1.available_ram < .7* c2.available_ram) return -1;
        return 0;
    }
    if (c1.available_ram > c2.available_ram) return 1;
    if (c1.available_ram < c2.available_ram) return -1;
    double s1 = c1.peak_flops;
    double s2 = c2.peak_flops;
    if (s1 > s2) return 1;
    if (s1 < s2) return -1;
    return 0;
}


You can try to move this into the beginning of "nvidia_compare":
    if (c1.available_ram > c2.available_ram) return 1;
    if (c1.available_ram < c2.available_ram) return -1;

and then build BOINC client from source.
17) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 587)
Posted 20 Jul 2017 by Sergei Chernykh
Post:
BOINC ver 7.6, however, wrongfully detects it as GPU0 and reports ONLY this card to the Amicable Numbers Server. The Monitor is NOT connected to this card.

I think the problem is that it doesn't detect other cards. GPU detection is 100% on client side, so you should try to wipe BOINC configs and then check client logs (Tools -> Event log in BOINC Manager) to see why it ignores some GPUs.
18) Message boards : News : Finish line of the current search and next steps (Message 583)
Posted 19 Jul 2017 by Sergei Chernykh
Post:
I am curious to know if anyone knows how many more tasks there are for 2_64? Before it is finished

Approx. 83,000 work units left, or 4 weeks more work at current speed.

P.S. Server status page
19) Message boards : Bug tracker : Formal credit for new APs - how is it handled? (Message 581)
Posted 17 Jul 2017 by Sergei Chernykh
Post:
Everything is fixed now. There were others with the same bug.
20) Message boards : Bug tracker : Formal credit for new APs - how is it handled? (Message 580)
Posted 17 Jul 2017 by Sergei Chernykh
Post:
Both pairs were also found by you, and they should've been "BOINC: Henrik Nilsson, jamezz". There was a bug in the code that writes names to the database, I've fixed it. I'll also write a script today that checks names on the pairs found before. Luckily, all needed data is in the database, so it can be restored.
21) Message boards : Number crunching : Daily limit on WU's (Message 577)
Posted 15 Jul 2017 by Sergei Chernykh
Post:
What machine? Can you give me host id?
22) Message boards : Random stuff : Amicable pairs and what must be a stupid question (Message 575)
Posted 12 Jul 2017 by Sergei Chernykh
Post:
I see. Thanks!

Is there, then, an easy way to list all the proper divisors of these numbers? (But yes, I can see why you choose to list only the factors.)

There is a formula to calculate sum of all proper divisors based on factorization: https://en.wikipedia.org/wiki/Divisor_function#Properties
For your case, s(22559194686624505630) = (2+1)*(5+1)*(7+1)*(23+1)*(61+1)*(99643+1)*(2305266221+1) - 22559194686624505630 = 26660358080018237666
23) Message boards : Random stuff : Amicable pairs and what must be a stupid question (Message 573)
Posted 12 Jul 2017 by Sergei Chernykh
Post:
You need to sum up all proper divisors of a number, not just factors: https://en.wikipedia.org/wiki/Aliquot_sum

To quickly check that it's indeed an amicable pair:
http://www.wolframalpha.com/input/?i=sigma(22559194686624505630)-22559194686624505630
http://www.wolframalpha.com/input/?i=sigma(26660358080018237666)-26660358080018237666
24) Message boards : News : Credits for the old application (search up to 2^64) doubled (Message 571)
Posted 11 Jul 2017 by Sergei Chernykh
Post:
Hi,
How many task left ?

You can always look at the server status page (Computing -> Server status in the top menu of the site). Right now it says "ETA at current speed (2^64) 4 Aug 2017".
25) Message boards : Number crunching : 2^64 WU peak memory usage now too high for my Odroid C2s (Message 568)
Posted 7 Jul 2017 by Sergei Chernykh
Post:
Yes, it looks like the 2^64 app requires more memory per thread now.
26) Message boards : Number crunching : very long GPU work units from the search up to 10^20 (Message 566)
Posted 7 Jul 2017 by Sergei Chernykh
Post:
Typically one of those work units that should be done by CPUs.
Same as we had in the end with the smaller search.
But I will have to pull my GPU from AN this way.

Edit: A solution could be variable credits.

No it's not. You set kernel size to 16 on GTX 1080, of course it's using all CPU. The other GTX 1080 finished in 1502 seconds with 64.36 seconds CPU time on the same WU. Set kernel size to 22 or 23.
27) Message boards : Bug tracker : Timed out 10 minutes after being sent (Message 563)
Posted 6 Jul 2017 by Sergei Chernykh
Post:
You are the only one with this error, and only one of your hosts had this error on 4 WUs. Maybe it's incorrect time/date set on that host?
28) Message boards : News : Credits for the old application (search up to 2^64) doubled (Message 556)
Posted 3 Jul 2017 by Sergei Chernykh
Post:
It's sad to see everyone leave the old (and unfinished) application "Amicable Numbers up to 2^64" so I decided to double credit points for it.

Everyone can switch their CPUs back to gain some more credits.

Note that you can run "Amicable Numbers up to 2^64" on CPU and "Amicable Numbers up to 10^20" on GPU on the same PC at the same time!

Here's what you need to set in project preferences:
Use CPU, AMD/ATI GPU, NVIDIA GPU = yes
Run application 2^64 = yes
Run application 10^20 = no
Accept work from other applications = yes


With these settings your CPU will get tasks (and more credits in general) from "2^64" only, and your GPU will get tasks from "10^20" thanks to "Accept work from other applications = yes" selected.
29) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 555)
Posted 3 Jul 2017 by Sergei Chernykh
Post:
i used to be able to crunch on my GTX560ti but am no longer getting work units since the switch to 10^20. anyway to fix this?

No, it can't be fixed with a major rewrite of the GPU version. It just doesn't fit in 1024 MB.
30) Message boards : News : The search up to 10^20 (Message 553)
Posted 3 Jul 2017 by Sergei Chernykh
Post:
One more sad Boincer here. I have to give up my Amicable Numbers contribution because of the 2GB memory requirement. Is this because the computing becomes more complex now? Or can we expect this limit getting lower again somewhere in the future?

The algorithm has to store and use all prime numbers up to square root of N*2 where N is the search limit. After we switched to 10^20, this prime numbers table requires ~1208 MB alone, other internal buffers also increased in size a bit, so the program doesn't even fit in 1.5 GB anymore.
31) Message boards : Number crunching : Very long WUs? (Message 548)
Posted 2 Jul 2017 by Sergei Chernykh
Post:
You can change preferences to use max. 4 threads per WU. They'll take more time to complete, but the total CPU load will always be good.
32) Message boards : Number crunching : Very long WUs? (Message 547)
Posted 2 Jul 2017 by Sergei Chernykh
Post:
A small portion of WUs can't be parallelized to many threads. The one that you aborted had command line /from 2*5*7*11*389*31249 /to 2*5*7*11*389*31271 /task_size 1938395193 which means it could run only 4 threads in parallel (31249, 31253, 31259, 31267 as the last prime number in factorization). But such WUs are rare.
33) Message boards : News : The search up to 10^20 (Message 544)
Posted 2 Jul 2017 by Sergei Chernykh
Post:
Is there any way I could convince you to reduce the required VRAM back to 1.5gb? I've had to switch projects on a bunch of my boxes because I saw that they were no longer acceptable by only 375 mb or so....

I can reduce it, but the problem is that the GPU version will still try to use more than 1.5GB when it runs.
34) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 542)
Posted 2 Jul 2017 by Sergei Chernykh
Post:
Fixed it, version 2.02 should work fine.
35) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 541)
Posted 2 Jul 2017 by Sergei Chernykh
Post:
Not all hosts AMD Radeon have this issue. I can find only 14 hosts out of more than 140 which were active since yesterday.

Regarding the error: I only found this, so it's definitely driver issue.

P.S. Yes, I can rewrite the code and remove that "goto", but it will slow down significantly for everyone else.

P.P.S. I actually have an idea how to solve it, I'll try it now.
36) Message boards : Number crunching : GPU version requirements for the search up to 10^20 (Message 535)
Posted 1 Jul 2017 by Sergei Chernykh
Post:
Current GPU version's requirements: any AMD (HD 5xxx or newer) or NVIDIA (GTX 4xx or newer) GPU with OpenCL support and at least 2 GB of video memory

If you run an AMD card on Windows, make sure you use driver version 14.12 or newer, otherwise it may fail at startup because of OpenCL code compilation error.
37) Message boards : Number crunching : GPU version tweaking for current WUs (Message 534)
Posted 1 Jul 2017 by Sergei Chernykh
Post:
Since this morning, I get no WU's at all. I'm guessing my GPU RAM is not sufficient for the 10^20 tasks. Could that be it?

Sorry, but they require at least 1600 MB RAM each (depending on your kernel size setting). I did my best to fit them into 1024 MB, but it was impossible: prime numbers table alone is ~1208 MB in size (all primes up to 14142135624 => 633521375 primes, 2 bytes per each prime number).
38) Message boards : Bug tracker : Mac OS X + amicable mt (8c) does not suspend all WUs (Message 531)
Posted 1 Jul 2017 by Sergei Chernykh
Post:
It's something related to your BOINC client settings or/and PrimeGrid settings.
39) Message boards : News : The search up to 10^20 (Message 530)
Posted 1 Jul 2017 by Sergei Chernykh
Post:
Will there be more pairs to be found to count towards the badge?

There are ~1,750,000 undiscovered pairs in the range 2^64 ... 10^20. Since each pair is found by two different users usually, it means ~3,500,000 "to be found to count". But this will all happen over a long period of time (more than a year), because this search range is much larger than before.
40) Message boards : Number crunching : GPU version tweaking for current WUs (Message 525)
Posted 30 Jun 2017 by Sergei Chernykh
Post:
Each WU requires RAM, so you can run only one WU with 1024 MB RAM.
41) Message boards : News : The search up to 10^20 (Message 523)
Posted 30 Jun 2017 by Sergei Chernykh
Post:
But there will also be CPU tasks for the 10^20 application right from the start, correct?

Yes. You can see all application versions here: https://sech.me/boinc/Amicable/apps.php
42) Message boards : News : The search up to 10^20 (Message 521)
Posted 30 Jun 2017 by Sergei Chernykh
Post:
It will be started tomorrow (July 1st)!

I've decided to speed up the launch of the next search due to performance issues with GPU version that everyone experiences now.

What will happen on July 1st:

1) "Amicable Numbers up to 10^20" application will start receiving tasks.
2) All GPU versions for the old application "Amicable Numbers up to 2^64" will be deprecated.
3) Credit points for both applications will be re-balanced to make sure that RAC doesn't change.

So all GPUs should automatically switch to the new application, and the old application will remain as CPU-only until it finishes.
43) Message boards : Bug tracker : Windows XP x64 / Windows Server 2003 x64 (Message 519)
Posted 30 Jun 2017 by Sergei Chernykh
Post:
Вот: https://github.com/BOINC/boinc/blob/master/curl/ca-bundle.crt
44) Message boards : Number crunching : GPU version tweaking for current WUs (Message 517)
Posted 29 Jun 2017 by Sergei Chernykh
Post:
I'm up to 4 tasks on a GTX-980 and still only at 65%-75%... BUT, I can't run anything else because it dramatically decreases the GPU utilization if I do. These new tasks are VERY CPU intensive...

I kinda thought the whole point of using a GPU was to offload the CPU and increase speed... maybe we need more than 21 Kernels?

8-)

The part that runs on CPU (generating numbers to check on GPU) gets harder in the end of the search. Yes, it can also be done on GPU, but it's hard to implement without mistakes. Wait a few more days until the next search is started, it will be GPU-friendly as before.
45) Message boards : Bug tracker : Windows XP x64 / Windows Server 2003 x64 (Message 514)
Posted 29 Jun 2017 by Sergei Chernykh
Post:
Не поддерживает свежая мою XP...

Дело в HTTPS сертификате сайта, нужна не сама новая версия клиента BOINC, а только файл ca-bundle.crt от неё.
46) Message boards : Bug tracker : Windows XP x64 / Windows Server 2003 x64 (Message 512)
Posted 28 Jun 2017 by Sergei Chernykh
Post:
XP X64 Pro BOINC 6.12.34 не могу подключиться к проекту, пишет: 28.06.2017 10:25:28 | | Fetching configuration file from https://sech.me/boinc/Amicable/get_project_config.php

Обновите BOINC до свежей версии.
47) Message boards : Bug tracker : Computation error at 6 seconds (Message 508)
Posted 27 Jun 2017 by Sergei Chernykh
Post:
Initializing prime tables...terminate called after throwing an instance of 'std::bad_alloc'
Host #2209: Memory	1971.45 MB, Swap space: 0 MB

That host has only 2 GB of memory, it just doesn't have enough free memory. Try to create 4 GB swap file.
48) Message boards : Number crunching : Amicable Numbers ? (Message 506)
Posted 27 Jun 2017 by Sergei Chernykh
Post:
CPU and GPU versions are ready, I'm generating tasks now. I haven't compiled/tested anything on Linux (x64 and ARMv8-A) yet, but there shouldn't be any major issues. So July 1st probably.
49) Message boards : Number crunching : Auto-ban faulty hosts (Message 502)
Posted 26 Jun 2017 by Sergei Chernykh
Post:
Host 4878 is not banned. "Error" status is just a client error, it doesn't count. Only "Invalid" status counts.
50) Message boards : Number crunching : Amicable Numbers ? (Message 500)
Posted 26 Jun 2017 by Sergei Chernykh
Post:
New search? It hasn't started yet.


Next 50


©2017 Sergei Chernykh