Skip to content

Speed up YANG bootstrap at boot #1284

@troglobit

Description

@troglobit

Description

The YANG bootstrap step takes a bit too long at boot. We should investigate if it's possible to keep /dev/shm/sr_{main,mod,ext} from buildtime in the rootfs to speed it all up.

Additional Information

The bootstrap script calls sysrepoctl (possibly twice) followed by sysrepocfg, and for each invocation all yang models are read. This is slow even on a fast x86_64 system, so it might be interesting to see if this functionality could be baked into confd instead. Meaning only creating one sysrepo context once instead of every time something needs to be done.

General Information

Anyone can help out by sponsoring development of new features or contributing pull requests.
Please use this issue for discussions related to the feature.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions