You are not logged in.

#1 2011-08-08 19:03:06

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Why is Linux 3.0 booting so fast?

Just a short explanation: why is Linux 3.0 booting so fast? It almost instantly loads the daemons.

Best regards
Martin

Offline

#2 2011-08-08 19:19:46

freezway
Member
Registered: 2010-06-16
Posts: 15

Re: Why is Linux 3.0 booting so fast?

Hell if I know, mine boots the same speed

Offline

#3 2011-08-08 19:23:19

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Re: Why is Linux 3.0 booting so fast?

Maybe I need to be more precise. The daemons are loading the same speed. But the time the boot sequenceneeds to reach the daemons is approx. 3 times faster!

Offline

#4 2011-08-08 20:17:08

ctarwater
Member
Registered: 2009-02-05
Posts: 300

Re: Why is Linux 3.0 booting so fast?

sandstorm wrote:

Maybe I need to be more precise. The daemons are loading the same speed. But the time the boot sequenceneeds to reach the daemons is approx. 3 times faster!

I noticed this as well but I didn't take any measurements to prove it  tongue

My laptop running grub w/32 bit Arch (and my wife's) and our media center running Grub2 with 64bit arch all seemed to boot noticeably faster.

Offline

#5 2011-08-08 21:15:42

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Why is Linux 3.0 booting so fast?

Maybe it's actually the new udev or initscripts rather than the kernel - I bet most of us didn't reboot until the new kernel appeared. In any case, I don't notice a big speedup here, but it was always very fast on my machines.

Offline

#6 2011-08-08 21:21:25

thesofty
Member
From: Nuremberg, Germany
Registered: 2011-05-09
Posts: 46

Re: Why is Linux 3.0 booting so fast?

sandstorm wrote:

Maybe I need to be more precise. The daemons are loading the same speed. But the time the boot sequenceneeds to reach the daemons is approx. 3 times faster!

I upgraded my kernel to 3.0 today, I had the same impression. smile

Offline

#7 2011-08-08 21:36:38

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Why is Linux 3.0 booting so fast?

Faster here too. I was getting tons of udev messages upon startup for the last few days that i never got before. That seemed to slow things down a lot. But now all that has gone.

Offline

#8 2011-08-08 22:04:22

examon
Member
Registered: 2011-05-07
Posts: 208

Re: Why is Linux 3.0 booting so fast?

my laptop is booting exactly the same with 3.0

Offline

#9 2011-08-08 22:46:23

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: Why is Linux 3.0 booting so fast?

Its all thanks to the awesome fixes to the initscripts, thank the arch devs!

Offline

#10 2011-08-08 22:50:15

nawitus
Member
Registered: 2009-05-11
Posts: 112

Re: Why is Linux 3.0 booting so fast?

Just measured my boot time, no difference here. Although I already had a quite optimized boot.

Offline

#11 2011-08-08 22:56:11

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: Why is Linux 3.0 booting so fast?

Probably not the kernel. The initscripts are more likely the reason. Unless this  kernel used a different compression or something, which I doubt.

Offline

#12 2011-08-08 23:10:51

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Why is Linux 3.0 booting so fast?

Initscripts for sure.

Offline

#13 2011-08-09 02:26:54

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 136

Re: Why is Linux 3.0 booting so fast?

The Arch kernel maintainers added a "change-default-console-loglevel.patch" which probably decreases the verbosity of the boot messages displayed.  I have "debug" on my kernel line so I don't notice.

Offline

#14 2011-08-09 02:52:35

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Why is Linux 3.0 booting so fast?

How measure? Stopwatch, heartbeat or bootchart? Can haz sum pruf?


This silver ladybug at line 28...

Offline

#15 2011-08-09 05:06:23

sandstorm
Member
From: Zurich [CH] & Mannheim [DE]
Registered: 2005-08-13
Posts: 171

Re: Why is Linux 3.0 booting so fast?

lolilolicon wrote:

How measure? Stopwatch, heartbeat or bootchart? Can haz sum pruf?

From my side I can only tell I measured by the heartbeat. Could be the initscripts and that the less output created improves the boot sequence. Since I only use the standard Archlinux installation I have a significant improvement. Maybe by eliminating the initscript output. But I was never aware of how fast it can boot!

Offline

#16 2011-08-09 07:05:12

igndenok
Member
From: Sidoarjo, Indonesia
Registered: 2010-06-07
Posts: 160

Re: Why is Linux 3.0 booting so fast?

jelly wrote:

Its all thanks to the awesome fixes to the initscripts, thank the arch devs!

Thanks to the Arch devs, I notice speed improvement after reboot using 3.0 for the first time


Ask, and it shall be given you.
Seek, and ye shall find.
Knock, and it shall be opened unto you.

Offline

#17 2011-08-09 07:49:15

Jelle
Member
From: Netherlands
Registered: 2011-01-30
Posts: 84

Re: Why is Linux 3.0 booting so fast?

I noticed the same, but also when booting Gentoo (with the 3.0 kernel). Anyhow, it's very welcome and perhaps I'll do away with e4rat now.

Last edited by Jelle (2011-08-09 07:50:06)

Offline

#18 2011-08-09 09:20:51

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: Why is Linux 3.0 booting so fast?

I'm not so sure. My desktop arch stops a tiny bit at "Probing EDD". Is EDD really needed on a desktop machine? Seems it is for bigger disks (8 TB?) or raid? I know that I haven't seen it before and that it is a kernel config parameter. It wasn't activated in 2.6.39 it seems. Anyhow, I put edd=off on my notebook kernel line and it booted a bit faster without problems. I will try it on my desktop as well.

Offline

#19 2011-08-09 13:07:01

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Why is Linux 3.0 booting so fast?

Add 'loglevel=7' to the kernel command line. I bet it will be slower again.

Offline

Board footer

Powered by FluxBB