Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Stryker on 27 June 2003, 11:14

Title: faster boot
Post by: Stryker on 27 June 2003, 11:14
One of the most common arguments I hear among my friends against linux is: "It takes too long to bootup, Windows only takes 8 seconds". I've also noticed that it's the only argument that actually holds up. Is there anything I can do to decrease the bootup time to neutralize this arguement? I'm running RedHat 9. I tried disabling nearly all of the services, still doesn't quite cut it as far as speed. I tried recompiling the kernel for only the hardware that I have, but it always fails while compiling.
Title: faster boot
Post by: xyle_one on 27 June 2003, 11:45
i work as a graphic designer/ animator and my machine is never off. Who cares how long it takes to boot up? if thats the only argument windoids have then that sounds good to me. fuck 'em.

other than my pointless post, i have n oidea how to make linx boot faster, sorry   :(
Title: faster boot
Post by: JH on 27 June 2003, 13:39
Set your boot loader delay to minimum.

Remove all unnecessary drivers from your kernel.

Remove all unnecessary modules.

Remove unnecessary services from your default runlevel (especially slow to start are postgres and proxy servers).

Make sure you don't have a 2 minute delay while mailserver trying to find a DNS server.

Anyway, boot time isn't critical providing you don't boot up 10 times a day. And Windows, actually, isn't so fast to start as drowing the desktop isn't the last point. It's very common for MS to make it look like fast to start, take Word as example - sometimes it load some components up to a couple of minutes after you think it's started.
Title: faster boot
Post by: choasforages on 3 July 2003, 10:19
compile your own kernel. and remove services that you don't need like sendmail and such
iv had a version of Choasnet OS boot in about 20 seconds on my 500mhz. and the windiods probably have their time wrong. its from power on, to usable. not when windows gui is showing but shit's still loading and you can't do anything.
Title: faster boot
Post by: Stryker on 3 July 2003, 11:29
Well... I'm not for windows, everyone should know this by now. But here's what I have experienced.

I turn windows on, under 8 seconds I get a desktop with no disk activity. I can open word, write a few sentences, close it. and shut it off improperly. I turn it back on and the file is still there... I dont care if it is secretly loading stuff... I got my stuff done. If I can get linux to start faster by  having some things load like that then I'd do it.
With linux, it takes about 40 seconds to be up and running. I consider that extra 32 seconds worth it, but I would really like to see it be comparable to 8.
Title: faster boot
Post by: jtpenrod on 3 July 2003, 13:43
quote:
i work as a graphic designer/ animator and my machine is never off. Who cares how long it takes to boot up? if thats the only argument windoids have then that sounds good to me. fuck 'em.
Yeah, I've heard that too. With Linux, you just boot it up and let it run. So it takes a little longer to boot. Fast booting is important to Winderz (l)users since they have to do it so often.

The reason that Winderz boots so fast is that it's not designed in the modular manner that Linux is. It is also the reason why an application cock-up in Win* will bring down the whole OS. If something fails in Linux, you just kill the misbehaving app, and everything continues to work right. I'll take that over a somewhat faster boot time any day  (http://tongue.gif)

Of course, you can speed the boot times up by not going into graphical mode on boot, and you can always edit your /etc/inittab file to this:
Code: [Select]
That'll put you into Run Level 3, pure command line (Slack has this as its default). You'll have to enter "startx" at the command prompt to activate X and the graphical desktop.
_______________________________________
Live Free or Die: Linux
(http://www.otakupc.com/etsig/dolphin.gif)
"There: now you'll never have to look at those dirty Windows anymore"
      --Daffy Duck
Title: faster boot
Post by: TheKnifeThrower on 3 July 2003, 18:43
quote:
Originally posted by Stryker:
I turn windows on, under 8 seconds I get a desktop with no disk activity.



The fastest I ever got a PC to boot up was a P2400 with 64mb of ram and windows95b on it. It took 30 seconds to get to the desktop and to stop disk activity.
Title: faster boot
Post by: Stryker on 4 July 2003, 00:23
quote:
Originally posted by TheKnifeThrower:



The fastest I ever got a PC to boot up was a P2400 with 64mb of ram and windows95b on it. It took 30 seconds to get to the desktop and to stop disk activity.



 (http://smile.gif)  AMD Athlon XP 2700+ w/ 512mb RAM PC2700 333FSP 60gb EIDE 7200rpm UDMA5 (100mb/s)... but i'm getting a scsi.

How about something similiar to the hibernate feature?
Title: faster boot
Post by: solo on 10 July 2003, 13:14
my pc usually boots in about 25 seconds without my misbehaving second hard drive in, which takes 30 seconds for the kernel to timeout on trying to contact (im sure winderz does that too). 25 seconds is fine for me, because I only reboot once every 2 or 3 days (alrhough some misbehaving sound app has been opening /dev/dsp and not closing it, really pissing me off. i think someone should make a kernel module for flushing unclosed abandoned file descriptors)
Title: faster boot
Post by: solo on 18 July 2003, 11:29
im gonna try and make my redhat box boot as fast as possible.... so stryker: youll be hearing from me on that
Title: faster boot
Post by: runkpock on 18 July 2003, 14:24
of course you should look at your startup scripts
to trim down on useless startup programs, like
sendmail is a classic, _most_ people dont need to
start up a mail server on a PC. You can even start
processes in the background on bootup, so that the
system does more than one thing at a time. but
you should always use the KISS method with things
that dont make much of a difference, like bootup
times  ;)  Of course you can change it, it's not
binary only, don't let freedom choke you too badly.
Title: faster boot
Post by: Fett101 on 18 July 2003, 22:38
Fastest boot I've seen! (http://fett101.mine.nu/space/boot.jpg)
Title: faster boot
Post by: excyle-the-art-fag on 19 July 2003, 06:53
Who the hell cares, I leave my system running, or just use software suspend.
Title: faster boot
Post by: slvadcjelli42 on 29 July 2003, 07:23
quote:
Originally posted by Fury: Freedom Fighter:
some misbehaving sound app has been opening /dev/dsp and not closing it, really pissing me off. i think someone should make a kernel module for flushing unclosed abandoned file descriptors)


Haha, I should have read this before posting my sound problem question! That's exactly what was happening to me, I just didn't realize it for a while. I think it was actually Gaim that was doing it, ever since I started using the version that came with the OS I haven't had that problem (although that version is not as good)
A little bit more on topic: My experience with startup times is pretty much the same, windows has been faster for me but boots up in one big, uninformative chunk. (I definitely noticed the difference the last time I turned on my PC with XP, and all I saw was a logo and a little scrolling animation.)  :rolleyes:
Title: faster boot
Post by: solo on 31 July 2003, 07:11
yeah i think it was gaim too, i turned sounds off and it doesnt happen any more.
Title: faster boot
Post by: sime on 1 August 2003, 03:58
Hey Stryker,

how ya doing?

Leave it on mate it's a server based OS it's not supposed to be rebooted every 5 mins.

$MS on the other hand needs to boot fast as it goes down more often than a pair of trousers in a house of disrepute.

Constant rebooting of PC's only gives you chip creep anyway, shortening the life expectancy of the CPU.

Later

Sime
Title: faster boot
Post by: jasonlane on 1 August 2003, 04:47
LOL  :D    :D    :D    :D
Title: faster boot
Post by: insomnia on 1 August 2003, 06:16
quote:
Originally posted by Stryker:
One of the most common arguments I hear among my friends against linux is: "It takes too long to bootup, Windows only takes 8 seconds".


8 Seconds??????????
...that's a world record.
Title: faster boot
Post by: Stryker on 2 August 2003, 03:14
quote:
Originally posted by insomnia:


8 Seconds??????????
...that's a world record.



i get windows up in 4 seconds...
  :confused:
Title: faster boot
Post by: insomnia on 2 August 2003, 03:43
quote:
Originally posted by Stryker:


i get windows up in 4 seconds...
   :confused:  


On PC ????
You must have a very special driver...


  :eek:    :eek:    :eek:
Title: faster boot
Post by: Stryker on 2 August 2003, 04:03
I'll write out all my specs later if u want. I used all the default drivers, no updates or anything.
Title: faster boot
Post by: insomnia on 2 August 2003, 04:22
quote:
Originally posted by Stryker:
I'll write out all my specs later if u want. I used all the default drivers, no updates or anything.


That whould be very apriciated.    ;)     (but only tells half the story...)
...it takes me even more time to get all the right colours on my desk...
Accidently edited urs instead of mine, aw well
it booted in 4 seconds with the old hard drive, this 4 gig is slow.

[ August 02, 2003: Message edited by: Stryker ]

[ August 02, 2003: Message edited by: Stryker ]

Title: faster boot
Post by: Stryker on 2 August 2003, 10:15
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2744494986 (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2744494986)

you might have to do a little research on the mobo as most stuff is built in.
Title: faster boot
Post by: Faust on 3 August 2003, 00:24
Linux boots up faster for me than Windows (XP) does...  Am I just different and strange or is anyone else like this?
Title: faster boot
Post by: insomnia on 3 August 2003, 02:27
quote:
Originally posted by Stryker:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2744494986 (http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2744494986)

you might have to do a little research on the mobo as most stuff is built in.



Like you know, you have to boot your system in 2 steps.
Only the 2nd boots your os (MBR).
It takes you 2.3 sec. (or more) to boot your CPU (BIOS).
That leaves you 1.7 seconds to boot XP.
That's totally impossible, even if cleant your startup(msconfig) to the minimum.

PS: Booting to fast is also bad for your os.
Title: faster boot
Post by: insomnia on 3 August 2003, 04:51
quote:
Originally posted by Faust:
Linux boots up faster for me than Windows (XP) does...  Am I just different and strange or is anyone else like this?

In GRUB xp really does boot faster.
Still..., lilo is a lot faster.  ;)
Title: faster boot
Post by: Stryker on 3 August 2003, 08:06
quote:
Originally posted by insomnia:


Like you know, you have to boot your system in 2 steps.
Only the 2nd boots your os (MBR).
It takes you 2.3 sec. (or more) to boot your CPU (BIOS).
That leaves you 1.7 seconds to boot XP.
That's totally impossible, even if cleant your startup(msconfig) to the minimum.

PS: Booting to fast is also bad for your os.



if my video card (nvidia) didn't show me that damn logo for so long, i could safely say the machine boots in 4 seconds or so. when I was saying 4 seconds I was meaning from the time it begins to load windows, to the time it's done.
1.7 seconds is very possible, with fast ram and hibernation. pc2700 256mb will boot fast, if i add the other 256mb stick it takes a little longer.

How is having a fast computer bad for it?
Title: faster boot
Post by: insomnia on 4 August 2003, 04:05
lol
u never give up, do u?  :rolleyes:
Title: faster boot
Post by: TheQuirk on 4 August 2003, 05:09
quote:
Originally posted by insomnia:
lol
u never give up, do u?   :rolleyes:  



Answer the question. I'm interested, too.
Title: faster boot
Post by: Unforgiven1 on 4 August 2003, 11:27
on my machine...it takes about 15 seconds to be useable.  that's with a 2 gig processor, 400 mhz front side bus, and 30 gigs on info on an 80 gig hard drive.  I haven't tried linux yet...but with all the restarting, you do with windows..per day, that comes out to about 10 minutes worth of startup time  :D
Title: faster boot
Post by: flap on 4 August 2003, 20:30
quote:
Originally posted by Fury: Freedom Fighter:
(alrhough some misbehaving sound app has been opening /dev/dsp and not closing it, really pissing me off. i think someone should make a kernel module for flushing unclosed abandoned file descriptors)


That isn't necessary. If the process isn't running anymore then the file won't be open. You shouldn't ever need to reboot unless you're upgrading the kernel.
Title: faster boot
Post by: insomnia on 5 August 2003, 04:16
quote:
Originally posted by Stryker:


if my video card (nvidia) didn't show me that damn logo for so long, i could safely say the machine boots in 4 seconds or so. when I was saying 4 seconds I was meaning from the time it begins to load windows, to the time it's done.
1.7 seconds is very possible, with fast ram and hibernation. pc2700 256mb will boot fast, if i add the other 256mb stick it takes a little longer.



Couldn't it be u're not starting from a cold state?  ;)
Title: faster boot
Post by: insomnia on 5 August 2003, 04:23
quote:
Originally posted by Stryker:

How is having a fast computer bad for it?


Why do you ask? (please read again!)   :confused:    :confused:
Title: faster boot
Post by: flap on 5 August 2003, 04:36
Because you said
 
quote:
PS: Booting to fast is also bad for your os.

and he wants to know what the hell you're talking about.
Title: faster boot
Post by: Stryker on 5 August 2003, 04:46
Because you said
 
quote:
PS: Booting to fast is also bad for your os.

and I want to know what the hell you're talking about.

Thanks flap   ;)
Title: faster boot
Post by: insomnia on 5 August 2003, 04:49
quote:
Originally posted by flap:
Because you said :
 PS: Booting to fast is also bad for your os.
and he wants to know what the hell you're talking about.


  :rolleyes:    :rolleyes:    :rolleyes:  
...so you think you need a fast system to boot fast?
keep dreaming!
Title: faster boot
Post by: Stryker on 5 August 2003, 04:50
quote:
Originally posted by insomnia:


Couldn't it be u're not starting from a cold state?   ;)  



When I do it takes about 4 seconds. otherwise it's about 2.
Title: faster boot
Post by: Stryker on 5 August 2003, 04:54
quote:
Originally posted by insomnia:

   :rolleyes:      :rolleyes:      :rolleyes:  
...so you think you need a fast system to boot fast?
keep dreaming!



Perhaps you misunderstood. I want to know why booting fast is bad for my computer.
Title: faster boot
Post by: insomnia on 5 August 2003, 06:52
quote:
Originally posted by Stryker:
Perhaps you misunderstood. I want to know why booting fast is bad for my computer.

I really don't know.
I only know it's bad for u're OS (XP).(please don't change my words...  :(  )
I will never believe u're able to boot xp from a cold state in 4 seconds. Still it is possible to do this below 10 sec. To do this u prob. first cleared your bootloader.
After this most peeps use something like bootvis. U can do this on every PC.
PROBLEMS:
*Not every proces in XP is capable for following this too fast speed: in those cases your system will most likely freeze.
*When booting, u're system has to find more than one place on your drive. If u go to fast your hardware can't follow, damaging your file structure (Boot.ini).
*Placing new hardware will get very difficult.
*XP caches system changes (even msconfig). If u boot to fast it can lose these, giving u the "unmountable_boot_volume" error (or freeze)
 
I know my english s*cks, u'll find more and better explannations here: www.annoyances.org (http://www.annoyances.org)
Title: faster boot
Post by: Stryker on 5 August 2003, 07:04
quote:

I really don't know.
I only know it's bad for u're OS (XP).(please don't change my words...   :(   )
I will never believe u're able to boot xp from a cold state in 4 seconds.


OK, but it did (I formatted since then).

 
quote:

Still it is possible to do this below 10 sec.


I never had it take more than 10 seconds.

 
quote:

To do this u prob. first cleared your bootloader.
After this most peeps use something like bootvis. U can do this on every PC.
PROBLEMS:



*Microsoft makes it.

 
quote:

*Not every proces in XP is capable for following this too fast speed: in those cases your system will most likely freeze.
*When booting, u're system has to find more than one place on your drive. If u go to fast your hardware can't follow, damaging your file structure (Boot.ini).
*Placing new hardware will get very difficult.
*XP caches system changes (even msconfig). If u boot to fast it can lose these, giving u the "unmountable_boot_volume" error (or freeze)



All that stuff happens eventually anyways.
I dont really use windows much, but whenever it's installed for more than a week it always starts doing crap like that. I thought it was supposed to be a few months, so that I can upgrade to the newest version of windows and, of course, not have the problems (why do people do that anyways?). I guess booting isn't the only thing i'm doing faster than normal.
I use RedHat 9 and am working on freebsd, it's a little complicated to get the gui working.

 
quote:

I know my english s*cks, u'll find more and better explannations here:
www.annoyances.org (http://www.annoyances.org)


I'll look at that in a few.