[systemd-bugs] [Bug 72611] systemctl is-enabled scales poorly with many units

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 11 14:52:51 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72611

--- Comment #8 from David Strauss <david at davidstrauss.net> ---
Since most of the time is spent in readlink_and_canonicalize() on the symlinks
in multi-user.target.wants, it would be very helpful to avoid a scan of all
symlinks in *.wants.

Can we assume the name of the symlink is the same as the target? That's
certainly the case with how systemd creates the links. With that assumption, we
could examine a single symlink rather than canonicalizing them all.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131211/3f86c5f5/attachment.html>


More information about the systemd-bugs mailing list