[GH-ISSUE #456] I have a question about limiting CPU and RAM for the containers #279

Closed
opened 2026-10-15 12:59:16 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @SofiaKSBarros on GitHub (Jul 10, 2026).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/456

So, I don't know how really create this issue properly, but I just wanted to ask if there is a way to limit the containers to use only 4, 8 cpu cores or even limit the amount of RAM it will use so it don't overuse the system resources
An example:
When launching a game on Steam and it runs the vulkan shader stuff, it just uses all of my cpus so it can finish the vulkan shaders, but that's a problem since it's using all of my cpu cores to do so, if I could limit it, it would be way much better!

Originally created by @SofiaKSBarros on GitHub (Jul 10, 2026). Original GitHub issue: https://github.com/games-on-whales/wolf/issues/456 So, I don't know how really create this issue properly, but I just wanted to ask if there is a way to limit the containers to use only 4, 8 cpu cores or even limit the amount of RAM it will use so it don't overuse the system resources An example: When launching a game on Steam and it runs the vulkan shader stuff, it just uses all of my cpus so it can finish the vulkan shaders, but that's a problem since it's using all of my cpu cores to do so, if I could limit it, it would be way much better!
Author
Owner

@Skerga commented on GitHub (Jul 10, 2026):

Under the hood wolf uses docker and docker has some features to restrict resource usage. https://docs.docker.com/engine/containers/resource_constraints/ all those options should be possible to set per app in the config.

<!-- gh-comment-id:4932681107 --> @Skerga commented on GitHub (Jul 10, 2026): Under the hood wolf uses docker and docker has some features to restrict resource usage. https://docs.docker.com/engine/containers/resource_constraints/ all those options should be possible to set per app in the config.
Author
Owner

@ABeltramo commented on GitHub (Jul 10, 2026):

Also, see here: https://github.com/games-on-whales/wolf/issues/204#issuecomment-2900444176

<!-- gh-comment-id:4932715317 --> @ABeltramo commented on GitHub (Jul 10, 2026): Also, see here: https://github.com/games-on-whales/wolf/issues/204#issuecomment-2900444176
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#279
No description provided.