1) Message boards : Number crunching : Automatic abort work unit (Message 6137)
Posted 15 Apr 2023 by rsNeutrino
i measured 780w from the socket while i can supply over 1000w from the psu.

That is a lot of power for permanently running 2 cards. This could introduce stability problems. If the current draw from some power rails of the PSU is too high, the voltage begins to sag. One has also to understand that the power draw is also fluctuating rapidly within the system components, depending on wich sub-modules/ALUs/CUDA cores etc. are used at each moment in the cards and CPU during program execution. So when all components are active at the same time in a certain millisecond and the power rail they are on cannot supply a perfect 3.3V (CPU) and 12V (GPU) this can cause stability problems.
CPU-internally errors may happen that get autimatically detected and corrected, wich slows the CPU down by causing repeat calculations. This can also trigger Windows Hardware Error Architecture events (WHEA errors) in the windows event log.

HWinfo can read voltages of many system rails and components, it may help determining if the voltage is dropping below spec. Wiki - ATX spec says "Generally, supply voltages must be within ±5% of their nominal values at all times. ".
HWinfo also has a WHEA counter built in.

-> Higher clocks need higher voltages (U) wich leads to higher current in silicon (I) so to massively higher power throughput (W=U*I) wich leads to higher termals (W_therm=W_el).

If it really is the case that the power is insufficient, getting back to stability can be achieved by any of the following:

1. Downclocking unstable components to get them error-free (CPU, GPU, RAM), i recommend looking into this for CPU.
Maybe AMD PBO can help with that, on my 5900x I can use PPT/EDC/TDC Power limits like point 2:

2. Downclocking components with high power draw to reduce power draw, e.g. I recommend setting power limits in MSI Afterburner, it is what I did with my GPU (1080Ti, 70%, to ~200W) for Folding@home, making it very quiet and extents the life at the same time.
Power Limit to around 70% reduces performance maybe 5-20% depending.

3. Like others already said, remove components to reduce power draw and all other system interference on HW and SW level.

4. Beef up power supply. Hard in your case, also very dependant on the quality of the PSU and cable (connection) quality. 780W at 12V = 65 Ampere (a cable cross-section table said 16,00 mm2 for single cable)
In general I don't recommend going over 70% of the PSU power spec to avoid power problems, also because they age.

The worst would be using cheap PSUs, they usually are massively below rated power spec, could inject "dirty" power with all sorts of signals mixed in, and could break/explode/catch fire and ruin all other system components with a voltage spike in the process, so a good quality PSU is a must.
2) Message boards : Number crunching : Oracle VM & Ubuntu (Message 6069)
Posted 20 Mar 2023 by rsNeutrino
This might be useful for you, in case you forgot these threads existed.
It's still running perfectly, upgraded to a 5900x, with 20 threads active, serving 5 different projects.
Continuation (kind of) with updates after my upgrade:
3) Message boards : Number crunching : Error notices in BOINC after install on RaspberryPI on the 64 bit OS (Message 5824)
Posted 12 Sep 2022 by rsNeutrino
Blocks are opened with <example> and closed with </example>, with a slash before the identifier.
The problem here would be that the <options> block has the slash missing, when it should get closed.
The source has indeed the same error.


This works like the formatting here in the forum: Closing a "code" formatting block, when it hasn't been opened: [/code]
4) Message boards : Number crunching : Email Address (Message 5665)
Posted 11 Jun 2022 by rsNeutrino
I suggest not to post your current email address here, since this forum is public and any and all bots can find it by scaping the web.
This will result in spam and virus-attached emails to this address.
If you can't change the account email yourself, you could write a private message to the admin: (krzyszp https://universeathome.pl/universe/show_user.php?userid=1)
5) Message boards : News : Longer work units (Message 5612)
Posted 21 May 2022 by rsNeutrino
Looking into your host list (https://universeathome.pl/universe/hosts_user.php?userid=87792) shows last contact with your AMD PC at "19 May 2022, 16:50:56 UTC", while your two Android-based devices look fine.
Unfortunately, there are no tasks in progress anymore, so if there are still some in your BOINC list, they are definitely too late.
Some tasks did get through on the 19th, but the CPU time looks very wrong https://universeathome.pl/universe/results.php?hostid=570210&offset=0&show_names=0&state=5&appid=.
Ten times longer than they should be... as if the PC is extremely slow/overloaded/thrashing, which could have a negative influence on the communication.
(RAM full? HDD/SSD full/slow/broken? hardware misbehaving with spamming interrupts and slowing everything down? check like cpu-z benchmarks against a reference)
I would check if something else blocks the internet connection of BOINC and/or the Universe project specifically on your PC, the project's servers are fine since yesterday. I suggest restarting your PC and looking for error messages in the boinc log viewer.
6) Message boards : Number crunching : Double your task throughput on Linux (Message 5599)
Posted 20 May 2022 by rsNeutrino
7) Message boards : Number crunching : Double your task throughput on Linux (Message 5597)
Posted 20 May 2022 by rsNeutrino
Could it be mine is running VirtualBox in Windows (host) with Linux as guest while the other is running Linux standalone?

That would be my guess. Last I've heard, VirtualBox is a type 2 hypervisor and slows things down because the guest OS does not run on bare metal. https://en.wikipedia.org/wiki/Hypervisor
Hyper-V is type 1, runs VMs by using the CPUs virtualization extentions with native performance, and is build into Windows. Windows itself becomes (unnoticable) a VM after activating Hyper-V.
I think the system architechture of Win 11 changed so that is has to be active by default now and every Win 11 installation today is like a VM in that regard ("for security", like the TPM thing).

In Win 10 you needed Pro to run your own Hyper-V VMs or do some tricks to force it on Home.

My system runs BOINC on Ubuntu on Hyper-V in parallel to Win 10.
Details have been written here a while ago: https://universeathome.pl/universe/forum_thread.php?id=550
8) Message boards : Number crunching : download failed (Message 5118)
Posted 17 Feb 2022 by rsNeutrino
Yep. I dug through some BOINC doc, so to get application details, names, versions, etc. in xml format you can request this url: https://universeathome.pl/universe/apps.php?xml=1

It seems to get the actual app path you have to puzzle together the following:

[project master url] + "download/" +
[apps.php.xml > application > name] + "_" +
[apps.php.xml > application > version > version_num] + "_" +
[apps.php.xml > application > version > platform_short]

example for android:

		<user_friendly_name>Universe BHspin v2</user_friendly_name>
			<platform_long>Android running on ARM</platform_long>
			<date>17 Feb 2022, 12:52:56 UTC</date>

"https://universeathome.pl/universe/" + "download/" +
"BHspin2" + "_" +
"21" + "_" +
--> https://universeathome.pl/universe/download/BHspin2_21_arm-android-linux-gnu

Windows: https://universeathome.pl/universe/download/BHspin2_20_windows_x86_64.exe
Linux: https://universeathome.pl/universe/download/BHspin2_20_x86_64-pc-linux-gnu

The inactive apps are not accessible though.
9) Message boards : Number crunching : download failed (Message 5115)
Posted 17 Feb 2022 by rsNeutrino
It seems listing the root contents has been blocked now, subfolder listing is still possible, examples:

So task download would not be affected
10) Message boards : Number crunching : download failed (Message 5114)
Posted 17 Feb 2022 by rsNeutrino
Yea, something with the download directory changed... now the url replies with a blank page.
11) Message boards : Number crunching : download failed (Message 5111)
Posted 17 Feb 2022 by rsNeutrino
I'm not so familiar with the default boinc server architecture, is the master url from the project account_....xml file plus "/download" the master download directory for such things?

Then it seems like the worker / app files are missing in https://universeathome.pl/universe/download/
It opens as a file explorer in web browsers.
The files in the root folder look like just a bunch of older task files...


For comparison from Rosetta@home:

It would only affect people when boinc tries to (re-)download these files.
I stopped task download in January, but I still have the files:
12) Message boards : Number crunching : Processing of chunks of data takes too long (Message 4710)
Posted 26 May 2021 by rsNeutrino
Hi there!

Just in case the following is a bit too hard in English to understand, this is an extremely good translator that might help: https://www.deepl.com/translator

Here is a thread that might has useful info for running BOINC on Ubuntu inside Hyper-V on/beside Windows, which about triples Universe task performace in comparison to Windows: https://universeathome.pl/universe/forum_thread.php?id=550
In my case my main PC with a Ryzen 1700 is running since about April 2020 permanently, with 75% Universe and 25% Rosetta at the moment on 14/16 threads, overclocked to 3.6 GHz and undervolted to 1.20 V rock-stable. Last boot was 80 days ago...

I use Throttle (https://efmer.com/download-tthrottle) to keep my CPU from overheating by BOINC tasks. Is there any similar program for Ubuntu?

I'm not familiar with this tool, but I have a suspicion...
Have you done performance or points per day comparisions with and without this tool running? If your CPU gets too hot when used fully, tried using a lower fixed number of cores defined by the BOINC client? I see two computers in your profile, with Core i7 CPUs, so they have 2 threads per core I assume?
Each core can calculate 2 tasks at the same time, but one has to understand that this gets a lower additional performance in comparison to using one core for one task. In "Computing preferences" I would try "Use at most 49 % of the CPUs", to put one core to sleep and let the others run one task each, the OS manages this automatically, and "Use at most 100 % CPU time".
The cores sleeping will be switched around fast, so task manager will probably show about the same usage for each at below 50%

If your CPU gets too hot in general, I would suggest using solutions that go some levels deeper. First thing if possible would be cleaning the cooler or look for cooling solution improvements if it's a desktop.
A system should be able to run full blast with everything at the same time and be stable. If it's not stable or temps go above 85°C during load, something should be done. If above is not possible, I would look into lowering CPU clock speed and undervolting to reduce the amount of power flowing into the CPU, wich can work wonders, like 10% less peak performance for 50% less power consumption = heat. Dependent on the system there may be tools from the manufacturer to fine-tune it from Windows or inside the BIOS/UEFI. Maybe even Windows Power Management profiles could work if it changes the CPU clock speed.
IntelBurnTest is my got-to tool to test if a CPU is stable and its cooling enough, this thing hammers the temperature through the roof like nothing else and checks for calculation errors. The CPU should be tuned to NOT produce more heat while running this tool, than the cooler can remove. If temp is >85°C within 15 minutes the fan speed needs to be higher. if it can't get higher, CPU clock and/or voltage needs to be lower.
Higher voltage opens higher clock speed and increases stability but increases heat and it must stay under a certain critical level to not damage the CPU. Higher clock speed increases performance but also increases heat and decreases stability.
13) Message boards : Number crunching : Double or Triple your task throughput on Windows! (Message 4672)
Posted 26 Mar 2021 by rsNeutrino
It seems I misread what log file was meant, have you tried what happens if you make the file read-only? also there may be the possibility to redirect from the file to /dev/null, so that the file itself is a filesystem link
14) Message boards : Number crunching : Double or Triple your task throughput on Windows! (Message 4671)
Posted 26 Mar 2021 by rsNeutrino
To avoid an ever expanding nohup.out file, I now use nohup boinc &>/dev/null &.
[...]Despite boincmgr appearing to work just fine, it keeps adding the following line to stderrgui.txt

In Linux there are two outputs: standard output (#1, stdout) and standard error (#2, stderr)

What you achieved is a redirection of the standard output to /dev/null, but the standard error is not, which keeps getting written to the default nohup error log.
To fix this you can use this instead:
foo >/dev/null 2>&1             # produces no output


But is it possible for you to use something like tmux or screen to keep a terminal of the process accessible when needed, while it keeps running in the background?
I use tmux exessively on my rapsberries:
"tmux" to start and connect if it isnt already running and "tmux attach" to connect to an already running session. It has tabs and panes for showing and switching between different terminals, it's the best!
Inside tmux, Ctrl + b activates the hotkeys, then with "d" to disconnect, "c" to create a new tab/terminal, "x" to close a tab and the number keys to switch between them.

To control it externally, e.g. for an autostart script, here is a snippet from mine:
path1=$(dirname "$(readlink -f "$0")")
s="python3 '${path1}/"

tmux kill-session -t tm_logger
tmux new-session -d -s tm_logger "${s}SmartMeter Logger 1.3.1.py'"
tmux split-window -v -t tm_logger "${s}SolarWR Logger 1.4.py'"
tmux split-window -h -t tm_logger "${s}SolarWR_Logfile_Downloader.py'"
tmux new-window -t tm_logger "${s}subprocess_timer.py'"
tmux new-window -t tm_logger "${s}gpio_switch_test.py'"
tmux new-window -t tm_logger "${s}gpio_switch_gasalarm.py'"

tmux new-session -d -s tm_db "cd '/home/pi/data/History/';java -jar database.jar" #openjre
15) Message boards : Number crunching : Double or Triple your task throughput on Windows! (Message 4654)
Posted 9 Mar 2021 by rsNeutrino
I may give this Hyper-v a try on this 1800x, though.

That's my recommendation.
There are some tweaks i did:
I set the virtual RAM size to fixed, since boinc thought there wasn't enough, because it didn't handle dynamic ram size.
Manually creating the vhdx volume with 30 GB size so Ubuntu doesn't run out of disk space in the future.
Setting some special grub boot parameters in Ubuntu to set the screen resolution, else it is smaller and unchangable.

I've been running Rosetta and Universe inside Hyper-V while also Folding in Windows (when I'm away), worked perfectly!
Only when gaming I sometimes need to hit the Hyper-V pause button to get more fps.

16) Message boards : Number crunching : Double your task throughput on Linux (Message 4641)
Posted 24 Feb 2021 by rsNeutrino
Could be the overhead Windows imposes on everything as opposed to the much smaller Linux overhead.

I'm not sure this is it, because I also did some tests with Linux Mint before using Ubuntu in Hyper-V and there was a split in task accelleration... some tasks took 3 hours while some just took 1 hour like in Ubuntu:
Another possibility is that Virtualbox did something funky with the emulation, but then also only in Mint and not Ubuntu...

17) Message boards : Number crunching : Double your task throughput on Linux (Message 4592)
Posted 25 Dec 2020 by rsNeutrino
Great to hear that it worked that way for you!
I dug around a bit and found other instructions that seem even more straightforward:
No idea if it still works. It seems to use the integrated DISM tool to download the missing Hyper-V packages into the local package repository, makes them available for activation under "Programs and Features" and Windows 10 Home does not block it.
18) Message boards : Number crunching : Double your task throughput on Linux (Message 4582)
Posted 5 Dec 2020 by rsNeutrino
This might help:

"Also, if VM won't work inside Hyper-V, how do I run Linux which is installed on the VM?"
Do you mean the Ubuntu VM from Virtualbox? As long as Hyper-V is installed, it will refuse to work.
If you run into problems, you can uninstall Hyper-V anytime the same way you installed it to get Virtualbox working again.
There is a way to convert the virtual hard drive of the Virtualbox VM to the format Microsoft uses (vhdx files), but it's complicated...
The most simple way is to use "Quick Create..." like in the video, select the latest Ubuntu version and install BOINC through the Ubuntu Software Center.

Baby steps... and Google helps.
You don't have to do anything if you don't know what is happening or what things are or do. No stress.
Maybe take one unknown thing, when you have the time, and read a bit about it (maybe wikipedia) or look on youtube or reddit.
9 months ago I didn't know anything about Hyper-V, but the ability to crawl the internet gives much knowledge.
Then experimenting within the limits of your knowledge to gain more at the edges where answers cannot be found so easily makes an expert.

Another thing: the virtual HDD the quick create wizard creates is quite small (12 GB with 6 GB in use), but good enough for universe@home. Other projects may want more disk space, so that could lead to problems down the road, but I have just tested a way to expand the space later:
Shutdown VM if it isn't already
VM options > checkpoints > disable checkpoints (snapshots)
select VM > lower panel: snapshots > delete whole snapshot tree (snapshot files will get merged into main vhdx file automatically)
"Edit Disk..." on the right panel > find vhdx-file > expand > e.g. 30GB
Start VM > install and launch GParted > it may ask to repair GPT to use the new space (do it) > expand last partition (the big one) to fill the added space

If you want to learn more about the Linux filesystem, this might be insightful: https://www.youtube.com/watch?v=HbgzrKJvDRw
19) Message boards : Number crunching : Double your task throughput on Linux (Message 4579)
Posted 5 Dec 2020 by rsNeutrino
Yes, Virtualbox is Type II, which runs on top of Windows, and may has to do some emulation, patching and hacks to run the code inside it, but It uses the virtualization extentions where it can.
Hyper-V is Type I, which runs as its own mini-OS directly on the hardware. Windows runs on top of that, as does every other VM, with close to zero performance impact. VMs run parallel to Windows, not on top of Windows anymore, so all the code still runs natively on the CPU, as far as I'm aware.
The linked article in my last post has commands to change the Windows boot mode to toggle the Hypervisor on and off. Installing/Uninstalling Hyper-V through Windows Features should do the same thing.

I did some performance tests back in May and Ubuntu 20.04 on Virtualbox managed to run Universe task series 310 with a computation time of 40 to 50 Minutes. So not bad at all! (Ryzen 7 1700 @ 3.6 GHz)

But the thing that made me switch from Virtualbox to Hyper-V was another no-go problem: I have 16 threads available and want to use 14 for BOINC, which works fine when using BOINC on Windows. But when running a Virtualbox VM with such a thread count, the whole PC begins to lag HARD, linke I struggled to get even the mouse moving on the host!
In several forums people wrote that using many threads is a specific weakness for Virtualbox. Maybe running serveral VMs in parallel with less theads each could alleviate that, but there is overhead by having multiple BOINC instances, and multiple Linux OS to manage.

Hyper-V to the rescue!
Windows 10 Home users are out of luck, sadly, they can NOT use it, it's only a feature for Professional (and up).
Those who have Windows 10 Pro just need to have virtualization enabled in BIOS, tick a checkmark at "Hyper-V" in the Windows Features (old system control panel) and are ready to use it.
My PC runs practically non-stop since March, with around 90% CPU usage for Universe and Rosetta inside the Ubuntu VM, and at certain times Folding@home on Windows added to the mix.
Just a restart e.g. for updates every few weeks, it is my daily driver and fully usable without noticable slowdown, except in certain games. But Hyper-V has a nice Pause button for that. ^^

Another thing: Hyper-V is a bit worse than Virtualbox concerning file and clipboard transfer which does not work between Windows and Ubuntu, and display resolution, which is quite low and not changable using normal options. The first problem can be circumvented by using AnyDesk, the second is a bit more complex, where a Linux boot option has to be added in a file to define a different resolution (mine is at 1600x900 now): https://virtualizationreview.com/Blogs/Virtual-Insider/2014/09/change-ubuntu-resolution-on-hyper-v-vm.aspx
20) Message boards : Number crunching : Double your task throughput on Linux (Message 4576)
Posted 4 Dec 2020 by rsNeutrino
If you open Task Manager and go into the Performance / CPU tab, on the lower right is shown if "Virtualization" is enabled or disabled. Image: https://www.intel.com/content/dam/support/us/en/images/processors/5486_image5.png

If it is enabled, you are ready to use Hyper-V which runs as bare metal as it can get, practically no performace lost, because it is a hardware-accelerated Type I Hypervisor:

Even your Window 10 itself kind of becomes a VM then (like OS1 in the image), all systems on the computer get equal and full core performance, while the root/host OS (Window 10 in this case) retains the "admin rights".

If virtualization is not enabled, you have to go into the BIOS to enable it first.
To enable and use Hyper-V after virtualization is enabled, this may help: https://techcommunity.microsoft.com/t5/itops-talk-blog/step-by-step-enabling-hyper-v-for-use-on-windows-10/ba-p/267945
Warning: As far as I know, Virtualbox is not able to run with Hyper-V enabled. (Because it doesn't like to run inside a VM itself)

Next 20

Copyright © 2024 Copernicus Astronomical Centre of the Polish Academy of Sciences
Project server and website managed by Krzysztof 'krzyszp' Piszczek