Message boards : Number crunching : High Memory usage
Message board moderation

To post messages, you must log in.

AuthorMessage
Fenshome

Send message
Joined: 1 Mar 15
Posts: 14
Credit: 835,117
RAC: 0
Message 45768 - Posted: 1 Dec 2021, 6:39:13 UTC

Hi

All the LHC apps have high memory usage, and don't seem to release after it has finished a job. Steadily climbs till its almost at the limit of PCs memory of 16Gbs. The preferences are set to 50% in use and 80% not in use, but climps to about 14.9 all the time, making the PC slow.

What am I missing ?

Kim
ID: 45768 · 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,434,358
RAC: 123,494
Message 45769 - Posted: 1 Dec 2021, 7:34:11 UTC - in response to Message 45768.  

Your preferences are set to run ATLAS using a 6-core setup which configures a VM that allocates 8400MB RAM.
See some lines from your logfile:
2021-11-29 01:22:19 (16620): Setting Memory Size for VM. (8400MB)
2021-11-29 01:22:20 (16620): Setting CPU Count for VM. (6)

BOINC requires this plus some RAM for it's own client and the vboxwrapper.


You stated:
The preferences are set to 50% in use ...

This would be 8 GB on your 16 GB computer, hence less than the RAM allocated by the VM.
As a result BOINC suspends the VM whenever the computer switches to "in use".
Suspending/resuming vbox tasks with large VMs causes lots of work, especially for the I/O subsystem.
It also requires lots of RAM until a snapshot is written.

Short term workaround(s):
1. Allow BOINC to use more RAM while the computer is "in use".
2. Use a setup with less cores, e.g. 4, and keep the "not in use" RAM limit low enough to avoid 2 of those VMs are running concurrently.

Mid-/long term solution:
Buy more RAM
ID: 45769 · Report as offensive     Reply Quote
Fenshome

Send message
Joined: 1 Mar 15
Posts: 14
Credit: 835,117
RAC: 0
Message 45770 - Posted: 1 Dec 2021, 8:38:18 UTC - in response to Message 45769.  

Appreciate your reply !
ID: 45770 · Report as offensive     Reply Quote
Fenshome

Send message
Joined: 1 Mar 15
Posts: 14
Credit: 835,117
RAC: 0
Message 45959 - Posted: 28 Dec 2021, 9:13:01 UTC - in response to Message 45769.  

One more question, I haven't found a way to reduce the number of CPU cores. In VM its greyed-out and says 6 cores.
ID: 45959 · Report as offensive     Reply Quote
maeax

Send message
Joined: 2 May 07
Posts: 2090
Credit: 158,809,236
RAC: 127,290
Message 45961 - Posted: 28 Dec 2021, 9:27:58 UTC - in response to Message 45959.  
Last modified: 28 Dec 2021, 9:29:05 UTC

In the prefs of LHC@Home you can set the CPU's from all to a number you want.
When a task is running it shown in grey, because no possibilty to change it at this moment.
ID: 45961 · Report as offensive     Reply Quote
Convert 843
Avatar

Send message
Joined: 20 Nov 21
Posts: 4
Credit: 593
RAC: 0
Message 46046 - Posted: 12 Jan 2022, 9:37:43 UTC
Last modified: 12 Jan 2022, 9:37:53 UTC

memory and cpu consumption is too high for me.
ID: 46046 · 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 46048 - Posted: 12 Jan 2022, 9:49:19 UTC - in response to Message 46046.  

memory and cpu consumption is too high for me.
What application do you mean?
From the VBox-apps Theory application is less demanding. You can select the application in your project preferences.
ID: 46048 · Report as offensive     Reply Quote
Convert 843
Avatar

Send message
Joined: 20 Nov 21
Posts: 4
Credit: 593
RAC: 0
Message 46049 - Posted: 12 Jan 2022, 10:33:53 UTC - in response to Message 46048.  

I am running Boinc Manager directly on Windows 10 system. VM-box etc. I do not use.
ID: 46049 · Report as offensive     Reply Quote

Message boards : Number crunching : High Memory usage


©2024 CERN