<div dir="ltr">Hello OpenVZ community,<br><br>Recently I identified a package called &quot;ctpreset&quot; on a new container created, installed from here [1], and after looking into the .deb&#39;s content, I found that it overrides some systemd configs (copied below) every Monday at 01:00.<br><br>The overrides are:<br><br>[Manager]<br>DefaultCPUAccounting=no<br>DefaultIOAccounting=no<br>DefaultIPAccounting=no<br>DefaultBlockIOAccounting=no<br>DefaultMemoryAccounting=no<br>DefaultTasksAccounting=no<br>DefaultTasksMax=infinity<br><br>Continuing the research, I found that Systemd started enabling those flags from kernel 4.15 and newer [2] and it&#39;s interesting to see that if we would like to disable such resource accounting, we would need to regularly &quot;fight&quot; the systemd config.<br><br>From a performance perspective, I see such measures as positive, considering that OpenVZ itself already does the resource accounting for the container.<br><br>I would like to know your opinion :)<br><br>Paulo Coghi<br><br>[1] <a href="https://repo.virtuozzo.com/ctpreset/deb/">https://repo.virtuozzo.com/ctpreset/deb/</a><br>[2] <a href="https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html">https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html</a></div>