Skip to content

Export Citation

        
          
@article{fieni-2024,
TITLE = {{PowerAPI: A Python framework for building software-defined power meters}},
AUTHOR = {Fieni, Guillaume and Acero, Daniel Romero and Rust, Pierre and Rouvoy, Romain},
URL = {https://hal.science/hal-04601379},
JOURNAL = {{Journal of Open Source Software}},
PUBLISHER = {{Open Journals}},
VOLUME = {9},
NUMBER = {98},
PAGES = {6670},
YEAR = {2024},
MONTH = Jun,
DOI = {10.21105/joss.06670},
KEYWORDS = {Power ; Energy ; Toolkit ; Measurement ; Framework},
PDF = {https://hal.science/hal-04601379/file/10.21105.joss.06670-3.pdf},
HAL_ID = {hal-04601379},
HAL_VERSION = {v1},
}
          
          
              
      

How to active cgroups V1

You can enable cgroups V1 by adding systemd.unified_cgroup_hierarchy=false and systemd.legacy_systemd_cgroup_controller=false as permanent parameters of the kernel. In order to that follow these instructions:

  • Open the GRUB file:

    sudo nano /etc/default/grub
    

  • Add to GRUB_CMDLINE_LINUX_DEFAULT the two parameters:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash systemd.unified_cgroup_hierarchy=false systemd.legacy_systemd_cgroup_controller=false"
  • Update grub:
    sudo update-grub