Page MenuHomeVyOS Platform

Improve boot time for instances with a big count of DHCP servers



Currently, tests show that during booting applying configuration for one DHCP server takes approximately up to 2 sec. For instances which run a DHCP server for several hundred interfaces, this leads to a very long time of booting. For example, booting router with ~400 interfaces takes up to 20 minutes with modern CPU and even more if the CPU is not very powerful.
We need to improve the booting process for such instances.


Difficulty level
Hard (possibly days)
Why the issue appeared?
Will be filled on close

Event Timeline

zsdc changed the task status from Open to In progress.May 22 2019, 12:16 PM
zsdc claimed this task.
zsdc created this task.
zsdc changed Difficulty level from Unknown (require assessment) to Hard (possibly days).
zsdc changed Version from - to 1.2.1.
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.

@zsdc Can you please provide a relevant config snippet? I won't have a system with 400 interfaces, but I try to measure the difference with 4 to see if it exponentially increases the boot time.

hagbard changed the task status from In progress to On hold.Sep 10 2019, 9:02 PM

In Attachment vyos configuration with 298 Vlans and 298 DHCP servers.

Every commit takes about 11 seconds
A reboot takes about 12 minutes to load all vyos configuration.

Best Regards,

My system takes 6 minutes to boot, and it only has two DHCP servers and about 12 interfaces.

It's a bare metal D-1521.

hagbard changed the task status from On hold to Open.Nov 14 2020, 3:14 PM
hagbard removed hagbard as the assignee of this task.
hagbard added a subscriber: hagbard.