Re: services impact on startup times

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Aug 29, 2020 at 09:27:33PM -0600, Chris Murphy wrote:
> Hi,
> 
> These are based on Fedora-Workstation-Live-x86_64-33-20200828.n.0.iso
> in a VM. The numbers are different on bare metal but correlate.
> 
> The only standout is rngd.service. That's a pretty big single hit,
> percentage wise. And I don't know if we even need it anymore. Among
> the rest, perhaps atd.service and crond.service could be disabled by
> default on new installations, in favor of systemd timers.

I think that with the recent-ish kernel changes to make /dev/urandom
non-blocking, rngd should not be installed by default.


As for crond and atd, I think we can keep them installed by default,
but inactive. I.e. make them socket activated or path activated, so that
they are only started if people install actual crontabs or run at.

We would also need to convert any packaged cronfiles into systemd
timers. But it seems that this is already mostly done. On my machine,
/etc/cron.weekly/98-zfs-fuse-scrub is the only real crontab entry.

Those are not big programs, but each thing that is running on a
machine has some small impact... 

I see the appeal of keeping them functional by default: there are countless
manual on the web, and even if people use them nowadays much less than in the
past, it'd still be nice to make this "just work" for people who follow them.


In the past, I saw pcp as a fairly big offender. I'm not sure if it
still installed by default.

Zbyszek
_______________________________________________
desktop mailing list -- desktop@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to desktop-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/desktop@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux