<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt">Hi guys,</span><br></div><div><div dir="ltr"><div style="font-size:12pt;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;margin:0px;color:rgb(0,0,0);background-color:rgb(255,255,255)">
<br>
</div>
<div><span style="font-size:12pt;font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;margin:0px;color:rgb(0,0,0);background-color:rgb(255,255,255)">I'm trying
 to figure out how to set a per task/job limit for I/O speed (IOPS, throughput or maybe both, even better,<span> </span><a href="https://facebookmicrosites.github.io/cgroup2/docs/io-controller.html#protecting-workloads-with-iolatency" title="https://facebookmicrosites.github.io/cgroup2/docs/io-controller.html#protecting-workloads-with-iolatency" id="m_-5157580162040292035m_7425108983946325538OWAd7ace46f-bc26-c98e-5ae4-c00109aec7af" style="margin:0px" target="_blank">io.latency</a>).
 After reading around the documentation and forums, I'm unable to find a setting to set this. As a workaround, I have set the limit under the slurmstepd cgroup(v2) scope  (<code>/sys/fs/cgroup/system.slice/slurmstepd.scope</code>), but this sets it at the
 global level, not per task. I am aware that I can also do the same thing with<span> </span><a href="https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html" title="https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html" id="m_-5157580162040292035m_7425108983946325538OWA2b3d6b56-8f30-be93-f211-e5c338729135" style="margin:0px" target="_blank">systemd.resource-control</a>.
 But again, this would be at the global level. Does anyone know how to set per-task resource limits for IO with cgroup using slurm?</span></div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Regards,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Eugene</div>
</div>

</div></div></div>