Official repo of URM project. Includes:
- resource-tuner
- contextual-classifier
main: Primary development branch. Contributors should develop submissions based on this branch, and submit pull requests to this branch.
gh-pages: Used for hosting and deploying doxygen generated source documentation
This project depends on the following external libraries:
- libyaml – Used for parsing and handling YAML configuration files.
- libsystemd - Used for communication over dbus (optional)
- Installing Dependencies:
- Yocto: Add the following to your recipe or image
DEPENDS += "libyaml systemd" - Ubuntu:
sudo apt-get install -y cmake pkg-config libyaml-dev libsystemd-dev # Optional packages sudo apt-get install -y fasttext libfasttext-dev
- Yocto: Add the following to your recipe or image
- Create a build directory
rm -rf build && mkdir build && cd build- Configure the project: Default Build
cmake .. -DCMAKE_INSTALL_PREFIX=/With classifier support enabled:
cmake .. -DCMAKE_INSTALL_PREFIX=/ -DBUILD_CLASSIFIER=ON- Build the project
cmake --build .- Install to default directory (/usr/local)
sudo cmake --install .- Start the URM Server
/usr/bin/urm- Install to a custom temporary directory [Optional]
cmake --install . --prefix /tmp/urm-install- Install build tools
sudo apt-get install debhelper dh-sequence-cmake cmake pkg-config build-essential
- Build URM
dpkg-buildpackage -us -uc -ui- Note: The generated .deb files are placed in the parent directory of your source tree (one level above the workspace).
ls -l ../*.deb
- Install urm package
sudo dpkg -i ../userspace-resource-manager_1.0.0_amd64.deb
- Check urm service status
#systemctl status urm
● urm.service - URM Service
Loaded: loaded (/usr/lib/systemd/system/urm.service; enabled; preset: enabled)
Active: active (running) since Tue 2026-01-06 14:06:04 +0530; 6s ago
Main PID: 4048154 (urm)
Tasks: 35 (limit: 77057)
Memory: 8.6M (peak: 8.9M)
CPU: 24ms
CGroup: /system.slice/urm.service
└─4048154 /usr/bin/urm
- Cleanup the workspace
fakeroot debian/rules clean
Refer: https://qualcomm.github.io/userspace-resource-manager/
How to develop new features/fixes for the software. Maybe different than "usage". Also provide details on how to contribute via a CONTRIBUTING.md file.
How to contact maintainers. E.g. GitHub Issues, GitHub Discussions could be indicated for many cases. However a mail list or list of Maintainer e-mails could be shared for other types of discussions. E.g.
- Report an Issue on GitHub
- Open a Discussion on GitHub
- E-mail us for general questions
userspace-resource-moderator is licensed under the BSD-3-Clause-Clear license. See LICENSE.txt for the full license text.