Page MenuHomeVyOS Platform

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

Description

Hello!

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.

Details

Version
1.2.1

Event Timeline

zsdc changed the task status from Open to In progress.
zsdc claimed this task.
zsdc edited a custom field.
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 subscribed.
syncer closed this task as Not Applicable.Oct 28 2024, 6:26 AM
syncer removed a project: VyOS 1.3 Equuleus (1.3.9).