10 stable releases

2.2.5 Mar 14, 2024
2.2.4 Feb 14, 2024
2.2.3 Jun 28, 2022
2.2.2 May 26, 2022
2.0.0 Jun 24, 2021

#113 in Science

Download history 1/week @ 2025-10-20 1/week @ 2025-10-27

782 downloads per month

Apache-2.0

365KB
10K SLoC

Resource Control Demo

Resource control aims to control compute resource distribution to improve reliability and utilization of a system. The facebook kernel and container teams have been intensively researching and implementing mechanisms and methods to advance resource control. resctl-demo demonstrates and documents various aspects of resource control using self-contained workloads in guided scenarios. Here's a screencast:

https://engineering.fb.com/wp-content/uploads/2020/10/resctl-demoV2.mp4

Getting Started

Comprehensive resource control has many requirements, some of which can be difficult to configure on an existing system. resctl-demo provides premade images to help getting started. Visit the following page for details:

https://facebookmicrosites.github.io/resctl-demo-website

For other installation options, visit:

https://github.com/facebookexperimental/resctl-demo

Once you're ready, start exploring:

$ sudo systemd-run --scope --unit resctl-demo --slice hostcritical.slice resctl-demo

Dependencies

~16–50MB
~745K SLoC