Message boards :
LHCb Application :
Memory usage of LHCb tasks
Message board moderation
Author | Message |
---|---|
Send message Joined: 28 Sep 04 Posts: 732 Credit: 49,363,408 RAC: 17,955 |
While running LHCb tasks I see a possible problem with the memory consumption that is seen by Boinc. My understanding is that LHCb requires 2 GB memory when running (same as CMS tasks) but Boinc sees that LHCb is using about 480 MB memory (same as Theory tasks). This may lead to a situation where Boinc allows too many LHCb tasks to be run concurrrently and eventually running out of memory (start to use HDD as memory extension). Of course you can prevent this with the account settings on the web pages or using app_config.xml but I think that LHCb application should be set up same as CMS so that Boinc can see the actual memory used and prevent memory over usage. |
Send message Joined: 3 Oct 06 Posts: 101 Credit: 8,994,586 RAC: 0 |
Very good comment, Harri! Thank You! |
Send message Joined: 28 Sep 04 Posts: 732 Credit: 49,363,408 RAC: 17,955 |
Bump! Any news/info on this? |
Send message Joined: 23 Dec 16 Posts: 26 Credit: 776,007 RAC: 0 |
I too have the same issue, 24 cores but 32g of ram. I have to set, say 8 LHCb tasks to run then the remainder of my cores to run six track... |
Send message Joined: 26 Nov 10 Posts: 18 Credit: 3,015,497 RAC: 0 |
Hi, Can you explain how to limit the LHCb app to only run eight VM's? And allow othe Sixtrack to still run. |
Send message Joined: 28 Sep 04 Posts: 732 Credit: 49,363,408 RAC: 17,955 |
https://boinc.berkeley.edu/wiki/Client_configuration#Application_configuration You have to create an app_config.xml file and place it in the projects/lhcathome folder. The location of that folder depends on OS and your selections when you installed BOINC. Mine is in c:\ProgramData\BOINC\projects\lhcathome.cern.ch_lhcathome\ (this is on a win7 computer). See the above link and use max_concurrent and project_max_concurrent elements to set what you want. Unfortunately I don't have an example at hand. To read the file just restart BOINC. |
Send message Joined: 28 Sep 04 Posts: 732 Credit: 49,363,408 RAC: 17,955 |
Why the <rsc_memory_bound>500000000.000000</rsc_memory_bound> is still in the init_data.xml in the new app? The tasks are using about 2 GB memory but LHCb reports to Boinc 476 MB. This may lead to unexpected memory problems because Boinc cannot see correctly the memory usage. Please fix this! |
Send message Joined: 15 Jun 08 Posts: 2541 Credit: 254,608,838 RAC: 34,609 |
I agree with Harri that <rsc_memory_bound> should be set according to <memory_size_mb>. This has to be fixed in the plan_class template on the project server. |
Send message Joined: 27 Sep 08 Posts: 850 Credit: 692,823,409 RAC: 77,584 |
Will be fixed soon. |
Send message Joined: 20 Jun 14 Posts: 380 Credit: 238,712 RAC: 0 |
I could not find this parameter specified in any of the configuration files. In any case I have set it in the LHCb job template to be the same as for CMS (2.5GB). |
Send message Joined: 15 Jun 08 Posts: 2541 Credit: 254,608,838 RAC: 34,609 |
I could not find this parameter specified in any of the configuration files. ... ?? Aah, there's a default value of 5e8!! See: https://boinc.berkeley.edu/trac/wiki/JobSubmission |
Send message Joined: 28 Sep 04 Posts: 732 Credit: 49,363,408 RAC: 17,955 |
I could not find this parameter specified in any of the configuration files. ... That explains why Theory and LHCb have the same memory value in Boinc (476.84 MB). VM Manager shows LHCb memory setting to be 2048 MB and Theory 630 MB. With Theory tasks this is quite close to the default 476.84 MB so it usually doesn't create problems but it should also be set correctly for smooth ride. |
Send message Joined: 27 Sep 08 Posts: 850 Credit: 692,823,409 RAC: 77,584 |
My new ones show 2.33GB as expected. Thanks for updating |
©2024 CERN