[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 15:57:43 PST 2013


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

--- Comment #10 from David Strauss <david at davidstrauss.net> ---
I submitted a patch to the mailing list that compares the basename of the
symlink with the target we're searching for. It skips the performance-killing
symlink target lookup if there's no match.

I'm sure there's another step or two we can do for more optimization, like not
iterating through *.wants directories at all. I'd also like to ensure we're
consistent in enforcing the symlink naming elsewhere in the code, but that
could be a TODO.

-- 
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/05475841/attachment-0001.html>


More information about the systemd-bugs mailing list