Thread 'Controlling CPU resources consumed by the client on Linux'

Message boards : Questions and problems : Controlling CPU resources consumed by the client on Linux
Message board moderation

To post messages, you must log in.

AuthorMessage
krytie

Send message
Joined: 27 Nov 22
Posts: 1
Message 110571 - Posted: 28 Nov 2022, 0:25:04 UTC

I'm running due diligence over BOINC and was wondering how the client handled resource control on a Linux machine. Are the limits absolute or are resources dynamically controlled? Could I set a rule whereby a project consumers 80% of resources on a machine, but that drops down to 20% when other processes on the machine require it?

If anyone could point me to that part in the source code that does the resource control, that would be appreciated.
ID: 110571 · Report as offensive
ProfileKeith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 890
United States
Message 110572 - Posted: 28 Nov 2022, 4:04:54 UTC - in response to Message 110571.  

That fine-featured control does not exist in the client. The closest you can approximate is setting the percentage of the cpu used globally by the client and then setting some exclusions parameters to reduce the cpu availability when specific applications running on the host are detected which would knock down the current cpu usage by the client.

That feature has been an open issue for many years with respect to cpu and gpu resource control. Hasn't been worked on in a while by any existing devs as far as I know.


ID: 110572 · Report as offensive

Message boards : Questions and problems : Controlling CPU resources consumed by the client on Linux

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.