|
1)
Message boards :
News :
NumberFields Is Back
(Message 4386)
Posted 3 days ago by Eric Driver
Post: Things seem to be better at the moment. Let's hope it stays that way.Yep, things are good at present, and have been for a while now. Fingers crossed that's the worst of it. I can see that they are still trying to access the site, but they are being sent a 403 "access forbidden" response. They were trying to scrape information from the various database tables: hosts, users, results, etc. Not necessarily malicious but most likely trying to obtain information for training their LLMs. The root cause of the slowness was the db queries. The top command showed mariadb at the top followed by a bunch of apache2 threads. Things should be good for now until another bot shows up. |
|
2)
Message boards :
News :
NumberFields Is Back
(Message 4384)
Posted 3 days ago by Eric Driver
Post: Had to block a few more web scrapers like YisouSpider and Yandex. Things seem to be better at the moment. Let's hope it stays that way. |
|
3)
Message boards :
News :
NumberFields Is Back
(Message 4382)
Posted 4 days ago by Eric Driver
Post: I still notice some sluggishness, but looking at the access logs it appears to be legit - many downloads, uploads, and general web access; all from different IP addresses. There may be some backlog with client requests due to the previous bot problem blocking traffic. Hopefully this will clear up with time. |
|
4)
Message boards :
News :
NumberFields Is Back
(Message 4380)
Posted 4 days ago by Eric Driver
Post: And then the Web site goes MIA again, along with stalled uploads, downloads etc. ANs then it's back again. I too noticed the periodic lag in connecting. I looked at the apache2 access logs and found a ton of requests from "Lightpanda", mostly requesting result pages from random users. I googled this and found that is was most likely an AI web scraper trolling for information. Gemini helped my modify the apache config to block all requests from Lightpanda. Let's hope this fixes the problem. |
|
5)
Message boards :
Science :
Availability of source code
(Message 4374)
Posted 26 days ago by Eric Driver
Post: If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? So there was only one change in one file: TgtMartinet.cpp Basically, the function isirreducible() was renamed to polisirreducible(). Here is the patch file: --- TgtMartinet.cpp.Orig 2026-08-20 14:30:56.257915279 -0700
+++ TgtMartinet.cpp 2026-08-20 14:30:57.561916567 -0700
@@ -1363,7 +1363,7 @@
// Check if f_L is irreducible:
- if(isirreducible(f_L))
+ if(polisirreducible(f_L))
{
// Increment the irreducibilty counter.
(*irrCount)++;
@@ -1394,7 +1394,7 @@
free(OutStr);
}
- } // Matches: if(isirreducible(f_L))
+ } // Matches: if(polisirreducible(f_L))
// Restore pointer to top of pari stack
avma = ltop;
Your error mentioned a function idealhnf, which sounds like a Pari function, but I am not sure why it was throwing an error on that. I see all your machines are Windows. Are you building on Windows directly or in a Linux environment using the mingw build scripts? If you are in Linux, try building for Linux to see if that works before bootstrapping up to Windows. |
|
6)
Message boards :
Science :
Availability of source code
(Message 4372)
Posted 12 Aug 2026 by Eric Driver
Post: If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? I used PARI version 2.17.3, but that shouldn't make a difference for you. I used the system provided libgmp.a which comes from the package: gmp-static-6.3.0-4.fc43.x86_64 So it looks like I built with relatively recent libraries. I started with the NumberFields source code and tweaked it for my special case of a single prime. To build it I needed to change several things - if I recall, some function names changed and some interfaces changed. But I don't remember any changes required for the idealhermite function. Maybe you could send me your build log and I could take a look. Or let me know which line of the code is causing problems. Or if you can wait, I can get the source code to build with the latest libraries and merge the fixes into the baseline on github. Since you are building for Windows, that is also a potential source of problems. |
|
7)
Message boards :
Science :
Availability of source code
(Message 4363)
Posted 14 Jul 2026 by Eric Driver
Post: If I understand correctly, the current PARI version is quite old. Has anyone tried a more recent release, or is updating it particularly difficult? There's always a risk of breaking something when you upgrade to a newer library. The current apps are very stable so I'd rather not change anything unless there is a good reason. As it turns out, I recently ran some single prime decic cases offline using the latest stable PARI library. There was no noticeable improvement in speed. |
|
8)
Message boards :
Number crunching :
Control both CPU 4.00 and GPU 4.02 simultaneously
(Message 4359)
Posted 2 Jul 2026 by Eric Driver
Post: Also, if your CPU has hyper threading, I find it best to set CPU usage to between 60% and 75% of the CPUs, otherwise you get too much resource contention between threads and the WUs take much longer to run. Just so we are clear, the percentages I gave were for maximizing overall throughput (tasks completed per day). It varies with WU batch and CPU, which is why I left it as a broad range. This is not very scientific and is only based on my experience with several AMD machines. Anyways, I'm not sure exactly why it happens. Maybe at high CPU usage there's more contention for the shared L3 cache, or maybe the processor heats up and the clock speed gets throttled. Hopefully someone else can chime in with a better explanation. But to answer your main question, NumberFields is mostly integer arithmetic, not floating point. |
|
9)
Message boards :
Number crunching :
Control both CPU 4.00 and GPU 4.02 simultaneously
(Message 4354)
Posted 30 Jun 2026 by Eric Driver
Post: According to this link: https://github.com/BOINC/boinc/wiki/Client-configuration#Project-level-configuration you need an <app_version> block for each version you want to control. I have never tried this personally, so I don't know if it will actually work. |
|
10)
Message boards :
Number crunching :
Gerasim is not working
(Message 4350)
Posted 29 Jun 2026 by Eric Driver
Post: I told Walli about a similar setup I did on Free-DC back in Janurary for them to pull the stats directly from Free-DC. Good to know. Maybe Demis will have better luck with them... |
|
11)
Message boards :
Number crunching :
Control both CPU 4.00 and GPU 4.02 simultaneously
(Message 4347)
Posted 29 Jun 2026 by Eric Driver
Post: Also, here is a thread which talks about app_config.xml settings, which may or may not be helpful: https://numberfields.asu.edu/NumberFields/forum_thread.php?id=558#3378 This app_config works great for me when CPU usage is set to 50% (which means 100% of physical cores). |
|
12)
Message boards :
Number crunching :
Control both CPU 4.00 and GPU 4.02 simultaneously
(Message 4346)
Posted 29 Jun 2026 by Eric Driver
Post: Since both WUs have the same name GetDecics I cannot find a way to control them both. Have you tried adjusting parameters in the manager? For example, only queuing 1 day of work should keep it from downloading too many WUs. The WUs have a 6 day deadline, so that would give you plenty of time to complete them before they are flagged as High Priority. Also, if your CPU has hyper threading, I find it best to set CPU usage to between 60% and 75% of the CPUs, otherwise you get too much resource contention between threads and the WUs take much longer to run. |
|
13)
Message boards :
Number crunching :
Gerasim is not working
(Message 4344)
Posted 28 Jun 2026 by Eric Driver
Post: From my understanding, the root cause of the problem is that Russia is blocking BOINCstats from accessing the Gerasim server. The kudos go to Demis. The script took me less than 5 minutes to write. Demis did the hard part of diagnosing the problem and handling the communication with the folks at BOINCstats. |
|
14)
Message boards :
Number crunching :
Gerasim is not working
(Message 4342)
Posted 28 Jun 2026 by Eric Driver
Post: Are there any improvements pending on age of the Credit stat's for Export ? From my understanding, the root cause of the problem is that Russia is blocking BOINCstats from accessing the Gerasim server. Since NumberFields can access the Gerasim server, I wrote a curl script which pulls the export files from Gerasim's server to the NumberFields server, and this runs daily. We are now waiting on BOINCstats to modify their scripts to pull the data from the NumberFields server. |
|
15)
Message boards :
Number crunching :
Request for Native Windows ARM64 support - Snapdragon X2 Elite Extreme
(Message 4330)
Posted 18 Jun 2026 by Eric Driver
Post: So that's how you get static library out of new version of PARI. That's how I've been doing it. There may be other ways. If you look at the output of the make command, it just uses the "ar" command to create the library. |
|
16)
Message boards :
News :
Support for Intel GPUs
(Message 4316)
Posted 14 Jun 2026 by Eric Driver
Post: BETA Status Yes, time flies. Originally there were many users with older Intel GPUs which could not handle the computational load, and I did not want them to inadvertently pick up tasks. The code is the same openCL code used on the other vendor's GPUs so it should be stable. So maybe you are right, and it is time to remove the Beta status. I will do so and keep an eye on it just in case. |
|
17)
Message boards :
Number crunching :
Request for Native Windows ARM64 support - Snapdragon X2 Elite Extreme
(Message 4306)
Posted 5 Jun 2026 by Eric Driver
Post: Update: The first step is to build libpari.a. To do this, when you configure Pari, you need to use the generic kernel which will disable the x86 assembly. After extracting the source code, try this from the top level of the source tree: ./Configure --host=aarch64-w64-mingw32 --kernel=none make all make install-lib-sta Note the last line may fail due to permissions, but it should still create the libpari.a file which is all you need. |
|
18)
Message boards :
Number crunching :
Request for Native Windows ARM64 support - Snapdragon X2 Elite Extreme
(Message 4304)
Posted 26 May 2026 by Eric Driver
Post: Android ARM64 is a different beast compared to Windows ARM64 primarily due to the Bionic libc and the NDK requirements. I got it to build and it ran in the emulator, but when I deployed it on BOINC it would randomly crash about 20% of the time. I could never replicate the crashes so it was extremely hard to debug; and it would never crash when running in the debugger. I gave up after one weekend, especially since I was busy with other stuff. Regarding roadblocks with building that may be relevant to the Windows build, I will look at my notes and get back to you. I sent you a pm yesterday with one gotcha to look out for - Pari assumes that long and long* are the same size; this was the biggest roadblock for the 64bit Windows build which I eventually overcame. I don't know about the ARM64 architecture, but this is something to be aware of. |
|
19)
Message boards :
Number crunching :
Request for Native Windows ARM64 support - Snapdragon X2 Elite Extreme
(Message 4300)
Posted 25 May 2026 by Eric Driver
Post: Is there a specific version of the PARI/GMP libraries that the project currently relies on, or should I just target the latest stable releases?The latest stable release should be good. If I successfully produce a stable ARM64 binary, are you open to me hosting it for testing, or would you prefer I submit a PR/patch to your repository so you can verify the build process yourself?If you want to host it for testing, that's okay with me. Once we confirm it runs a few test cases and gives the exact same answer as the x86 version, then I could add it to the project as a beta app for further testing. This brings up another question. If you get this working on Windows ARM64, how hard would it be to get it working on Android ARM64? It would be cool to get this running on my cell phone (I attempted this about 5 years ago and failed). |
|
20)
Message boards :
Number crunching :
Gerasim is not working
(Message 4289)
Posted 29 Apr 2026 by Eric Driver
Post: Please contact Yoyo from the Yoyo@home project to shift the processing from Gerasim to Yoyo@home as a new subproject. I was downloading the results every week or two, so not much was lost. It was the crunchers who lost a ton of credit. Good to know about yoyo. I will give Gerasim a little more time - they are currently trying to find the root cause of the database crashes and are implementing more frequent backups. |