netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Very slow remove interface from kernel
@ 2023-05-09  8:22 Martin Zaharinov
  2023-05-09 10:20 ` Ido Schimmel
  0 siblings, 1 reply; 16+ messages in thread
From: Martin Zaharinov @ 2023-05-09  8:22 UTC (permalink / raw)
  To: Eric Dumazet, netdev

Hi Eric 

I think may be help for this :


I try this on kernel 6.3.1 

add vlans : 
for i in $(seq 2 4094); do ip link add link eth1 name vlan$i type vlan id $i; done
for i in $(seq 2 4094); do ip link set dev vlan$i up; done


and after that run : 

for i in $(seq 2 4094); do ip link del link eth1 name vlan$i type vlan id $i; done


time for remove for this 4093 vlans is 5-10 min .

Is there options to make fast this ?


Same problem is when have 5-6k ppp interface kernel very slow unregister device.


best regards,	
m.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-05-25  7:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-09  8:22 Very slow remove interface from kernel Martin Zaharinov
2023-05-09 10:20 ` Ido Schimmel
2023-05-09 10:32   ` Eric Dumazet
2023-05-09 11:10     ` Martin Zaharinov
2023-05-09 12:36       ` Eric Dumazet
2023-05-09 18:50         ` Martin Zaharinov
2023-05-09 20:08           ` Ido Schimmel
2023-05-09 20:16             ` Martin Zaharinov
2023-05-10  5:31             ` Martin Zaharinov
2023-05-10  6:06             ` Martin Zaharinov
2023-05-10  9:40               ` Eric Dumazet
2023-05-10 13:15                 ` Martin Zaharinov
2023-05-25  7:50                 ` Martin Zaharinov
2023-05-10  9:16             ` Martin Zaharinov
2023-05-10  9:22               ` Eric Dumazet
2023-05-09 20:08         ` Martin Zaharinov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).