Message boards : ATLAS application : A 2-core ATLAS tasks uses 24% of a 12-core CPU - how come?
Message board moderation

To post messages, you must log in.

AuthorMessage
Erich56

Send message
Joined: 18 Dec 15
Posts: 1687
Credit: 103,053,258
RAC: 126,445
Message 36114 - Posted: 29 Jul 2018, 15:38:30 UTC

I have just made a strange observation:

before, when I was crunching on Windows XP, a 2-core ATLAS task used about 16% of a 12-core CPU; this is a logical figure, right?

On the same machine (with dual boot) I now crunch 2-core ATLAS tasks on Windows 10, and - surprise - it uses about 24% of the same 12-core CPU (on former XP, this would have equaled a 3-core ATLAS task).

Which means that less CPU is left for other tasks.

Any explanation for this strange behaviour?
ID: 36114 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2401
Credit: 225,464,640
RAC: 124,102
Message 36123 - Posted: 30 Jul 2018, 9:14:11 UTC - in response to Message 36114.  

Your 12 core host running windows 10 successfully finished 2 ATLAS WUs today.
Both of them were 2-core VMs and show a CPU-time/runtime ratio of almost 2.
So, what's wrong?

https://lhcathome.cern.ch/lhcathome/result.php?resultid=203370240
https://lhcathome.cern.ch/lhcathome/result.php?resultid=203369055
ID: 36123 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 2090
Credit: 158,825,946
RAC: 126,738
Message 36124 - Posted: 30 Jul 2018, 9:33:34 UTC

This is a postponed:
2018-07-29 23:55:21 (7432): ERROR: Vboxwrapper lost communication with VirtualBox, rescheduling task for a later time.
Have this seen for me, when there is overloading. One CPU = One horsepower ;:)
ID: 36124 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2401
Credit: 225,464,640
RAC: 124,102
Message 36125 - Posted: 30 Jul 2018, 9:42:33 UTC - in response to Message 36124.  

This is a postponed ...

Yes, both of them. But at the end they finished successfully.
The OP was about the high CPU load which is not visible in the logs or timings.
ID: 36125 · Report as offensive     Reply Quote
Profile Yeti
Volunteer moderator
Avatar

Send message
Joined: 2 Sep 04
Posts: 453
Credit: 193,464,258
RAC: 5,837
Message 36171 - Posted: 1 Aug 2018, 14:07:52 UTC

I'm not shure, if my thaughts are correct, but:

If you limit a VM to a fixed number of cores, the VM will use only this number of cores to crunsh.

Let us now assume we are using a 2-Core-VM:

Inside the VM, only two cores ( = two tasks !) are used to crunch. But there are other tasks, that have to "support" these running crunsh-tasks and they need CPU-Power too. At this moment, when the box has idle cores, these tasks will get additive CPU-Cycles and this may lead to the situation, that a 2-Core-VM can use more than 2-Cores.for some time.

Remember that this is only my personal guess


Supporting BOINC, a great concept !
ID: 36171 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2401
Credit: 225,464,640
RAC: 124,102
Message 36173 - Posted: 1 Aug 2018, 14:28:38 UTC - in response to Message 36171.  

I'm not shure, if my thaughts are correct, but:

If you limit a VM to a fixed number of cores, the VM will use only this number of cores to crunsh.

Let us now assume we are using a 2-Core-VM:

Inside the VM, only two cores ( = two tasks !) are used to crunch. But there are other tasks, that have to "support" these running crunsh-tasks and they need CPU-Power too. At this moment, when the box has idle cores, these tasks will get additive CPU-Cycles and this may lead to the situation, that a 2-Core-VM can use more than 2-Cores.for some time.

Remember that this is only my personal guess

This would be a very serious hypervisor bug.
It's the job of the hypervisor (VirtualBox) to offer exactly the configured resources to the VM.
The OS inside the VM can't use more than this resources.

Additional cycles are used by the VirtualBox drivers, vboxwrapper and other auxiliary apps (if there are any) outside the VM.
The runtime and CPU time reported by BOINC are a result of the communication between BOINC client, vboxwrapper and VirtualBox.

As mentioned in other threads this may be the main reason why some versions of VirtualBox cause problems on some systems.
ID: 36173 · Report as offensive     Reply Quote
Crystal Pellet
Volunteer moderator
Volunteer tester

Send message
Joined: 14 Jan 10
Posts: 1273
Credit: 8,480,147
RAC: 2,155
Message 36180 - Posted: 1 Aug 2018, 17:50:59 UTC - in response to Message 36173.  

..
The runtime and CPU time reported by BOINC are a result of the communication between BOINC client, vboxwrapper and VirtualBox.
..


AFAIK since my early testing of BOINC's (ROM Walton's) vboxwrapper versions, the measured CPU-times is the sum of the cpu-times of the VBoxHeadless.exe's belonging to that VM-task.
ID: 36180 · Report as offensive     Reply Quote

Message boards : ATLAS application : A 2-core ATLAS tasks uses 24% of a 12-core CPU - how come?


©2024 CERN