How to use tc or netem to burst packets

I'm new to using tc and netem. What I'm trying to achieve is to hold udp packets (of specific ports) for lets say 10ms or few ticks and then release them at once. Without affecting the rest traffic.
So, is it achievable? If yes then how?


You can do this with sch_taprio. I'm afraid netem cant do that, but you should take a look into the "slot" configuration parameter.
I'm doing what you mentioned above with coordinated config of act_gate (marking UDP for taprio closed gate for a while) then open the gate and burst out the packets.
Sadly there is a bug in the a act_gate long to explain, so that does not work currently without patch.

1 Like

Where can I find that package? I'd like to try and test it out