Message boards : Theory Application : Theory CPU Scheduling oddness
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Guy
Avatar

Send message
Joined: 9 Feb 08
Posts: 60
Credit: 2,057,197
RAC: 2,781
Message 52604 - Posted: 30 Oct 2025, 14:59:06 UTC

Intel i7-4790K (8 logical cores)
Prefs set to use 75% (6 cores)
OpenSuSE Tumbleweed, Kernel 6.17.5-1-default
BOINC 8.2.2

Hello,
Is anybody else getting odd scheduling?
4 cores (~400%) for ATLAS is OK. But 2 cores (~200%) for a Theory?
I've looked at the Event log with cpu_sched_debug enabled and there's no sign of any panic.
Theory jobs are not supposed to be multi-thread (mt), but:

~> top
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
   9352 boinc     30  10 4869716 3.272g 3.241g S 411.7 10.54 296:22.36 VBoxHeadless        ; ATLAS  (vbox64_mt_mcore_atlas)
   9936 boinc     30  10 3390776 2.040g 2.027g S 192.1 6.569  38:41.71 VBoxHeadless        ; Theory (vbox64_theory)
   5999 boinc     30  10 4170032 2.725g 2.704g S 186.8 8.777 300:06.29 VBoxHeadless        ; Theory (vbox64_theory)
So that's all 8 cores used. (The slight shortfall in CPU total use is because there is another project running a GPU app with a fractional CPU assigned to it.)

This is the BOINC Manager Event log with cpu_sched_status enabled:
Thu 30 Oct 2025 14:29:16 GMT | LHC@home | [css] running Theory_2922-4824845-349_1 ( )
Thu 30 Oct 2025 14:29:16 GMT | LHC@home | [css] running Theory_2922-4879164-356_0 ( )
Thu 30 Oct 2025 14:29:16 GMT | LHC@home | [css] running 4xAMDmrpEY8n9Rq4apOajLDm4fhM0noT9bVof3QYDm2LoMDmOZrbHn_0 (4 CPUs)

BOINC may be overriding my settings to get the jobs finished in time, but there's no sign of that in the Event log. And specifically the ~2 cores used by Theory is very odd.
Any insights?
Thanks.
ID: 52604 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2689
Credit: 287,080,429
RAC: 40,894
Message 52605 - Posted: 30 Oct 2025, 15:44:50 UTC - in response to Message 52604.  

This is a bug in VirtualBox 7.2.4.

On a computer with AMD CPU there's no known workaround so far.
On a computer with Intel CPU you may try to
- install VirtualBox 7.2.2 (all distro version) from the VirtualBox site
- disable the kvm blacklisting suggested to work around earlier VirtualBox bugs

There are a couple of posts mentioning this at the VirtualBox forum.
ID: 52605 · Report as offensive     Reply Quote
Profile Guy
Avatar

Send message
Joined: 9 Feb 08
Posts: 60
Credit: 2,057,197
RAC: 2,781
Message 52606 - Posted: 30 Oct 2025, 16:19:38 UTC - in response to Message 52605.  
Last modified: 30 Oct 2025, 16:22:10 UTC

Thank you computezrmle. I will look into it...

Curiously - as if further evidence of strangeness were needed, one of the ~200% Theory tasks has just completed. Here's the listing from my LHC@home Tasks web page

Task          Work unit     Computer    Sent                        Time reported                Status                       Run time(sec)    CPU time(sec)    Credit    Application
430147198     237250672     10860321    30 Oct 2025, 0:01:57 UTC    30 Oct 2025, 15:34:55 UTC    Completed and validated      55,978.00        77,546.53        845.81    Theory Simulation v301.00 (vbox64_theory)
                                                                                                                                                                          x86_64-pc-linux-gnu
It may be useful to observe that other Theory tasks had Run time and CPU time about the same.

The new Theory task that replaced this behaved properly and ran on just one core - initially. Now it's on 2 cores.
And now the ATLAS is on 2 cores only - as are both the Theories... That's the 75% of my CPU I'm aiming for in the settings. Fun. Well I've got a lead now. That VirtualBox is a hoot.
Thanks again!
ID: 52606 · Report as offensive     Reply Quote

Message boards : Theory Application : Theory CPU Scheduling oddness


©2025 CERN