LWN.net Logo

Reboot frequency?

Reboot frequency?

Posted Mar 13, 2013 16:07 UTC (Wed) by dwmw2 (subscriber, #2063)
In reply to: Reboot frequency? by dowdle
Parent article: Duffy: Improving the Fedora boot experience

To be honest, if each reboot is the result of a 'yum update', then I'd rather we try to shave five or ten minutes off the time that it takes yum to initialise itself and *start* looking for things to update, than bother speeding up the boot itself.


(Log in to post comments)

Reboot frequency?

Posted Mar 13, 2013 16:31 UTC (Wed) by mjg59 (subscriber, #23239) [Link]

We should get all the bootloader and early userspace developers to start working on the package manager instead?

Reboot frequency?

Posted Mar 13, 2013 16:50 UTC (Wed) by dwmw2 (subscriber, #2063) [Link]

Heh. Well that wasn't what I meant, as you well know. But now you come to mention it, it might be quite a good idea. At least they might be able to understand locking, and come up with a way for it to handle Ctrl-C. And have some vague understanding of efficient ways to handle data structures.

Yeah, why not?

Reboot frequency?

Posted Mar 13, 2013 18:11 UTC (Wed) by rgmoore (✭ supporter ✭, #75) [Link]

They're already working on a replacement/improvement to yum: DNF. My impression has been mostly positive; it's certainly a lot faster at the dependency resolving part. I'm not sure if it's any better at the initialization and cache refreshing.

Reboot frequency?

Posted Mar 13, 2013 18:31 UTC (Wed) by rahulsundaram (subscriber, #21946) [Link]

It is definitely better however it is still experimental and there are some serious bugs and you might want to be careful.

https://admin.fedoraproject.org/pkgdb/acls/bugs/dnf

Since it is command line compatible, I have a bash alias and just pretend it is yum. Works well mostly.

Reboot frequency?

Posted Mar 14, 2013 2:07 UTC (Thu) by dowdle (subscriber, #659) [Link]

Dude, while you are running yum you and your system can do lots of other things... so if yum is slower than you want, do can do other things with that time. The boot process... not so much.

Reboot frequency?

Posted Mar 14, 2013 8:53 UTC (Thu) by dwmw2 (subscriber, #2063) [Link]

Perhaps you're cleverer than I am, but I find the problem with that approach is that by the time it is actually doing something useful, I'll forget it's there. So it'll be sitting at a [y/n] prompt in a long-lost terminal when I next run yum from somewhere else, a few days later.

And because of its broken approach to locking, the dormant background one is still holding the lock, rather than dropping it before asking the question and then re-acquiring it when I respond. Meaning that the new one refuses to work, and I end up having to play hunt-the-xterm to find the original invocation of yum.

We've strayed quite a long way from the original topic now, I concede. But to try to drag us back in that direction... if the user interaction folks want to point at something an say "this is a really bad user experience. Here's a design for how you fix it", then they could do worse than looking at yum.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds