Network bandwidth limitation and cgroups

Hello, beginner to LXD here, so I am sorry in advance if this question is stupid.

I am trying to find out, how is the network bandwidth limitation implemented in relationship with cgroups.
For example, when I limit memory via

lxc profile set default limits.memory 512MB

I can find the corresponding value in


But when I limit the network bandwidth via

lxc profile device set default eth0 limits.ingress/egress 100Mbit

I can’t find the correct cgroup file anywhere. So does the implementation use something else than cgroups? (Cannot find it anywhere in net_cls nor net_prio)

Thank you in advance.

Bandwidth limits uses tc and queue disciplines.

1 Like