Public bug reported:

my instance

root@iZbp12x7bx8gp999t1zp62Z:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

netplan version:  1.1.1-1~ubuntu24.04.1


add many veth in instance
```
for nu in $(seq 20 2000);do                                                     
                                                                                
                                                                      
   ip link add "veth${nu}" type veth peer name "vethoer${nu}"                   
                                                                                
                                                                      
done

```
and execute  `netplany apply` command execution is slow

root@iZbp12x7bx8gp999t1zp62Z:~# time netplan apply

real    1m20.402s
user    0m40.302s
sys     0m22.891s

in netplan_cli/cli/commands/apply.py function  command_apply  traverse
all network card devices for UDEV processing  (udevadm', 'test-builtin'
...). I think this may not be necessary. Should we only process the
devices in the netplan configuration file

** Affects: netplan.io (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- netplan apply very slow when there are many veth devices,
+ netplan apply very slow when there are many veth devices

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098831

Title:
  netplan apply very slow when there are many veth devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2098831/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to