blob: a983a57cf26b8b797342642b983e38aea5852a1f [file] [log] [blame] [view] [edit]
# resourced - Chrome OS Resource Management Daemon
resourced supports the following 2 D-Bus interfaces for resource management.
Check go/resourced for details.
* org.chromium.MemoryPressure - low memory notification API
* When memory pressure is high, notifying subsystems to free memory.
* Method GetAvailableMemoryKB - returns the available memory.
* Method GetMemoryMarginsKB - returns the margin (threshold) for critical
and moderate memory pressure.
## ChromeOS Config
The following chromeos-config values are supported:
* resource/
* {ac,dc}
* web-rtc-power-preferences/
* governor/
* ondemand/
* powersave-bias
* epp/..
* fullscreen-power-preferences/
* governor/..
* epp/..
* vm-boot-power-preferences/
* governor/..
* epp/..
* borealis-gaming-power-preferences/
* governor/..
* epp/..
* arcvm-gaming-power-preferences/
* governor/..
* epp/..
* default-power-preferences/
* governor/..
* epp/..
## Debugging
You can use the following to call the dbus service:
```bash
$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.SetRTCAudioActive byte:1
$ dbus-send --print-reply --system --dest=org.chromium.ResourceManager /org/chromium/ResourceManager org.chromium.ResourceManager.GetRTCAudioActive
```