Slashdot Mirror


Red Hat Developing Early Login with gdm

hey writes "Red Hat has been working on early login because, among other reasons, 'If we start GDM sooner, the system will "feel" faster because the user will see a login screen sooner.' Very cool."

19 of 92 comments (clear)

  1. Good idea. I hope Red Hat patents it.... by Picass0 · · Score: 2, Funny

    ... before it becomes a Microsoft 'feature'.

  2. awesome by Anonymous Coward · · Score: 4, Funny

    I tell yah, if there's one thing I love more than making my software, simpler, faster, and more effective, it's making it *appear* to be simpler, faster, and more effective. ;-)

  3. Not very cool by stjobe · · Score: 4, Insightful

    'If we start GDM sooner, the system will "feel" faster because the user will see a login screen sooner.'

    Yeah, let's all take a page out of the Windows book and fool our users... bleh.
    Why don't we try to make the system really boot faster instead?

    --
    "Total destruction the only solution" - Bob Marley
    1. Re:Not very cool by kenthorvath · · Score: 4, Insightful
      Why don't we try to make the system really boot faster instead?

      Three points:

      First, the people who are doing this don't necessarily have the technical knowledge to make the system boot faster. Everyone has their specialties and interests. This is what would make them happy and they in turn are interested in sharing it with you. Don't like it? Don't use it. Why are you posting on slashdot when you could be making the system boot faster? See how that works? It doesn't sound like such a good argument now, does it?

      Second, users take time to enter in information like logins and passwords. While they are doing this, the system can be processing other stuff and making the system come up. When the user and the system are working in parallel, things actually do get done faster.

      Lastly, there is the fairness principle. It doesn't really matter which half of the candy bar is 'bigger' when sharing it so long as one person breaks and the other chooses. Each person feels that they haven't been ripped off without regard to actual physical realities. To this end, if the system feels faster, then why should I complain? It is the user experience that is being made to improve. What else really matters?

    2. Re:Not very cool by BovineSpirit · · Score: 2, Insightful

      I imagine that their market research has shown that users don't like to wait, and that they're not bothered by the way Windows tricks them. It would be good for my 500MHz K6 because I tend to switch it on, wait an age for the login screen, then wait again for X windows to start up. If they could move some of the initial startup(httpd, mysql etc) to after Gnome is running then that would only give me one wait.
      Of course you are welcome to make whatever improvements you like, and we would all appreciate it if you shared them.

    3. Re:Not very cool by WarPresident · · Score: 2, Funny

      I turn on the computer. I go to the bathroom. I get up and go get a drink, and when I come back it's ready to use. You can't remove both delays, and you're just hiding one in the other. It's pointless.

      Kid, you don't know what waiting is until you've flicked the 3-inch long toggle switch of your 80286-16MHz Workstation to "ON", gone to the bathroom, gotten your coffee, talked to a few people in the break room, returned to your desk, and waited another few minutes for your application to finish loading before you could get any work done.

      --
      Here come da fudge!
    4. Re:Not very cool by Jahf · · Score: 2

      re: 2)

      I work for and with a Linux distribution day-in and day-out.

      I also run a Windows XP SP2 partition on the same type of box.

      The boxes are dual Opteron, less than 6 months old and with a modern 3D video card.

      I run into at least as many problems with Linux (let me rephrase ... with 4 different modern flavors of Linux) as I do with Windows XP.

      Window 95 through Me? Crap.

      Windows NT4? Yes, had a LOT of bugginess but was more stable than previous windows.

      Windows 2000? Pretty damned stable until you tried to run 3D games.

      Windows XP? Stable. Period. Not something I would use for running a web server on but that has more to do with the lack of good software to do that with compared to Windows 2003 or Linux (all my servers run linux BUT not because of core OS problems ... rather a] I switched to Linux for servers a decade ago when Windows was pure crap for anything but rebootable gaming and am therefore more familiar with sysadmin'ing a Linux box and b] I'm perfectly happy with the server offerings on Linux).

      Do I use Outlook or IE? Hell no. But that's far different from acting like a fanboy about your system becoming unresponsive. If you've actually had experience with XP (I sort of doubt it but its possible) then either you were running on bad hardware, you had bad drivers, or you taxed the system more than necessary.

      And last, before you say that Linux runs on smaller hardware, yep, but that still doesn't mean the OS is crap. Since the days of the 8086 we've had to deal with OSes outgrowing old hardware. The game manufacturers and productivity software companies have made the assumption that modern software needs modern hardware. Can you make do with less hardware for most functions, yep again, but that isn't an adequate comparison (I can make Win2K run just FINE on a P3-600 and probably smaller gear ... but I'm not going to get Quake3 running well on it). Any Linux system that can handle a modern game with full speed will also run Windows XP just fine.

      Re: 3) See re: 2)

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
  4. Is this progress? by rthall · · Score: 3, Insightful

    Does it matter that the system will feel slow as a dog as services are lauching concurrent with your login? On the popular non-open-source server platfom, I quite frequently let it sit at the login prompt for five minutes. Then the login feels fast.

    --
    Randy Hall
  5. Boot times... by avalys · · Score: 2, Insightful

    Maybe if RedHat didn't start so much extraneous crap at startup, they wouldn't need to screw around with this. How about actually working on improving the boot time, and not relying on Microsoft-like tricks to fool the user?

    --
    This space intentionally left blank.
    1. Re:Boot times... by NonSequor · · Score: 3, Insightful

      You're being ridiculous. If something makes the user's experience less frustrating with no cost then how is it a bad thing? I recall an article some time ago where someone put together a proof of concept init system using make that showed that starting services concurrently can speed up boot time. The fact is, this is unlikely to increase the time that it takes to load all of the services and they may be able to reduce it.

      I really can't see anything wrong with this.

      --
      My only political goal is to see to it that no political party achieves its goals.
  6. graphics? by monkeyserver.com · · Score: 2, Interesting

    Wait... are you talking about graphical login? Just boot don't load X on default, that will *seem* a lot faster.

    I do it out of habit. But if you want to make it into a "go faster" feature, then pretend away!

    --
    http://monkeyserver.com --- weeeeee
  7. Three words: by roystgnr · · Score: 4, Insightful

    make, make, make

    Starting up a Linux system requires satisfying some dependencies. You don't want to try mounting nfs disks until after bringing up the network. You don't want to start the X server until after the X font server is running.

    But why, exactly, must gpm not start until sendmail is finished? Just because some Red Hat employee decided that sendmail should be numbered 80 and gpm numbered 85? It's not his fault, anyway, since starting them the other way around would be just as bad.

    The underlying speed problem isn't what order Linux services are started in, it's the fact that they're only allowed to start one at a time. There's a reason why you're recommended to compile with "make -j 2" even on uniprocessor machines: even when an individual program is running as fast as it can, odds are it's I/O bound often enough that the CPU can profitably do something else at the same time. Even multiple programs waiting for the hard drive can start faster if they're started simultaneously: the drive controller can pick up whichever data is closest to the read head first, instead of being forced to data in some arbitrarily chosen order.

    I know I'm not the first person to realize this; although I can't find a web page at the moment I recall reading about someone doing this long ago. What I don't recall reading is any reason not to make your distribution start up this way. Backwards compatibility could be easily satisfied by adding phony dependencies for S01 through S99 (which in turn would depend on all the services which were listed earlier). Bloat is a concern, but even GNU make is a fraction of the size of the initscripts package on my system. If you start background and interactive services concurrently you have to worry about responsiveness, but that's what the "nice" command is for.

  8. improve overall startup performance using 'make' by dan_bethe · · Score: 3, Informative

    An IBM researcher has a sample implementation of a dependency system for standard SysV init scripts. It uses 'make' to provides deps instead of the crude, standard ordering system. Search the article for the word "dependencies" and start reading there toward the bottom if you already know how SysV init works.

  9. Fooling the user the right way by Santos+L.+Helper · · Score: 3, Interesting

    It's not always a bad thing to fool the user if you can get away with it. Jef Raskin's Canon Cat system did exactly that. On starting up it would show the user a bitmap of what the user was last working on while it loaded up the actual data in the background. Then when it's ready, it would replace the bitmap with the actual display. The thing that Raskin figured out to make it work was that it took users a couple of seconds to reorient themselves and recall what they were doing, so they would just sit and stare at the screen for a bit. And the Cat can *always* load up the real data and be ready for input before the users themselves were "booted up."

    But from TFA, it doesn't sound like the redhat guys are going to do it the right way, which means the users will figure out they've been fooled and you've just gone through all that trouble to piss them off.

  10. die init die by Hard_Code · · Score: 2, Informative

    Sys V init scripts are just archaic and are showing their age and preventing more sophisticated forms of startup. Why doesn't RedHat investigate replacing Sys V init with a new, dependency-based, parallelizable startup system like Mac OS initialization system or Seth Nickell's proposed "SystemServices" init system:

    http://www.osnews.com/story.php?news_id=4711
    http://www.gnome.org/~seth/blog/2003/Sep

    This could easily be backwards compatible such that there are services defined which are simply one-to-one mappings to scripts. Once it's dependency based, you don't have to worry about assigning hardcoded priorities manually and then writing dock gadgets that tell the user when the services are done "starting". As a user I couldn't care less that the services are done starting. Programmers have a futuristic technology called semaphores that can be used to block until a required dependency is fulfilled. If you want to print, and the print spooler hasn't started, instead of blowing chunks, you just implicitly start it. Magic! Ideally, ALL services would be lazy by default unless specifically told by the user to start up automatically (i.e. ssh server, web server, etc.)

    --

    It's 10 PM. Do you know if you're un-American?
  11. It do speed up boot by paulatz · · Score: 2, Informative

    If you read the thread on redhat, you will find out that the early-start gdm can shorten the boot process by a dozen seconds. It is not just feel.

    --
    this post contain no useful information, no need to mod it down
  12. Re:Hmmm... by tchuladdiass · · Score: 3, Insightful

    Not to mention people with laptops.

  13. Why? Kudzu. by benjamindees · · Score: 2, Informative

    Kudzu, which does hardware detection, is one of the worst offenders. Removing it shaves almost ten seconds off of boot time for me, on a 1Ghz box.

    Kudzu is also, however, integral to RedHat's "Stateless Linux" system, which reduces maintenance and increases security by booting from centralized disk images. This process is aided by Kudzu's "on-the-fly" hardware detection.

    So it's a tradeoff that RedHat seems willing to make: ease of hardware support for slightly longer boot times. I'm willing to bet many large corporate customers are willing to make the same tradeoff, so long boot times must be "worked around" instead of eliminated.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  14. Re:Hmmm... by peterpi · · Score: 2, Insightful
    You wouldn't.

    I would. I last booted 25 minutes ago. Power usage and fire risk are concerns for me.