You are not logged in.
Ive noticed that my kernel tries to find scsi cards , raid cards and whole lot of other hardware that doesnt exist on this laptop.. this is the main cause of the damn slow boot.. how do I remove these? I think I'll just compile my own kernel and get rid of all this junk...
The ultimate Archlinux release name: "I am your father"
Offline
Yep, ReiserFS journal replay takes a while for large volumes.
Offline
Ive noticed that my kernel tries to find scsi cards , raid cards and whole lot of other hardware that doesnt exist on this laptop.. this is the main cause of the damn slow boot.. how do I remove these? I think I'll just compile my own kernel and get rid of all this junk...
Sounds like initrd is loading every module in the book. My boot time nearly doubled after upgrading to the latest kernel. So far, I've been too lazy to hack at my /etc/mkinitrd.conf file and fix things up.
Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein
Offline
I am using custom archck kernel
IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686
Offline
I made some new modifications (I wrote about it in another post) and now, I'm booting in 18s. Config : P4 3.2, 1 Go, 160 Go.
I have noticed than Reiserfs fsck takes a long time too, about 6-7s, and since I now use ext3 for my partitions, I just not mount the partitions in reiserfs from my Gentoo. I @ed all my processes except the one for gdm and I parallelize some processus in /etc/rc.sysinit. I do not have access to my computer now but in two days, I can post my config if someone is interested in looking what I have modified.
Offline
Hi,
according to bootchart, my system (rather old hardware) boots in 16 seconds:
First run: http://fopref.meinungsverstaerker.de/div/bootchart1.png
Second run: http://fopref.meinungsverstaerker.de/div/bootchart2.png
This is my /etc/rc.conf: http://fopref.meinungsverstaerker.de/div/rc.conf
I have a custom kernel and am running on a raid system (/ raid 0, /home, /usr etc raid 5). I use softwaresuspend therefor I have all these modules I load on startup, because when I resume the kernel startup costs more time than reloading the mem image.
These are my specs (rather outdated system):
model name : AMD Athlon(tm) XP 1900+
cpu MHz : 1600.341
RAM: 512 MB single bank
Board: the cheapest shit they had
Disk: 3 x Seagate, Timing buffered disk reads: 146 MB in 3.01 seconds = 48.56 MB/sec
I could shoot hwclock down as I use ntpdate to gain that second where it does nothing(?) but who cares, I suspend/resume everytime anyway (its even faster!)
Regards,
Johannes
p.s.: I don't use gdm as I have no reason for it. After I login, X is started automatically (.bashrc script for that see wiki)
Offline
I just did a few things, now when I restart I'll see if I get a few increases in speed.
(talking to a thorough bred speed fr33k here, ie italian)
"The ecological crisis is a moral issue."
Offline
i've been running initng on my laptop a few days now and there were a few problems with it that is fixed on svn now. there are at least five guys with commiting access to svn so if you go to #initng it's very likely that your fixes will be added right away. they also have a '#ifd arch' so even arch specific stuff could go in.
if you install initng from svn there still are a few things you must do manually:
1. add 'init=/sbin/initng' to the kernel line in menu.lst
2. change 'vc/%n' to 'tty%n' in udev.rules (line 102)
3. change 'vc/x' to 'ttyx' in inittab
4. put your modules in /etc/modules
5. put your hostname in /etc/conf.d/hostname like HOSTNAME="localhost"
6. put your keymap in /etc/conf.d/keymaps like KEYMAP="svorak'
7. put your services in /etc/initng/default.runlevel like 'daemon/dhcpcd/eth0'
ok, i think that's all. now it's just to reboot and pray. if that doesn't work you should keep your arch cd nearbye just in case. 8)
arch + gentoo + initng + python = enlisy
Offline
What's the main benefit of initng? Is it really faster on Arch (benchmarkable == bootstat?).. other reasons?
Offline
The benefit is that it's a bit better at loading daemons in parallel.
BTW, I've just noticed that the filesystem you use can impact boot time a lot, and in more ways than just fsck time. If I use JFS, udev takes about 5 seconds to start; if I use ext3 (with dir_index, as always), it takes less than 1 second.
(Perhaps that's because of the noatime option?)
Offline
Yes, I use ex3, so I am guessing that is why my system boots in about 21 seconds. (trying not to boast too much)
"The ecological crisis is a moral issue."
Offline
With dir_index?
(If you use ext3 without directory indexing it is slow as hell.)
Offline
How do I find out if I have dir_index?
"The ecological crisis is a moral issue."
Offline
If you let the installation scripts do the formatting, you don't have it. If you did the formatting yourself, and specified directory indexing like so:
mke2fs -j -O dir_index /dev/hdXY
Then you've got it.
Refer to this thread for more. It is possible to convert an ordinary ext3 FS into a directory indexed one, but you have to fsck it after making the change.
(And be weary of full journalling. It won't hurt read times, but all writes will take twice as long.)
Offline
What's the main benefit of initng? Is it really faster on Arch (benchmarkable == bootstat?).. other reasons?
as Gullible said above, initng loads services in parallell and lets you specify the exact behaviour. initng is a complete drop-in replacement for other boot systems with its own initscripts.
on my xp1800 laptop it's almost 10 s faster than arch so on a newer box you may only gain around 5 s. initng works something like @ in arch but is even more advanced than that. it also lets you specify which services depends on what.
arch + gentoo + initng + python = enlisy
Offline
Can it have services depend on modules?
Offline
hmm, good question Gullible. i'll ask the devs about it.
Edit: #initng is dead atm but if i may guess it's not possible to do it though.
Edit2: ok, i got an answer that it can do that but i'm not sure if you mean the exact same thing though.
arch + gentoo + initng + python = enlisy
Offline