You are not logged in.
Ok, I am using Arch for one week now and it's great and unlikely other distros I was able to set everything up as I wanted it and to run like I wanted it to run.
It's fast, it makes u learn a lot about linux and the community is great.
Now, I said that it's fast ,especially compared to SuSE, but there is one thing annoying me: Hotplug.
The boot process is very straight forward except for Hotplug. The boot process would be about 10s wouldnt there be Hotplug that needs about 9s.
So I wanted to ask if there is a way of making my machine boot even faster to have boot times as fast as e.g. a Mac.
Or if u have other suggestions of making my pc faster plz post them here.
I would really like to make my system faster.
Thx in advance, borisb
Offline
Take a look what modules are loaded by hotplug, then disable it.
Put those modules in MODULES array in rc.conf, probably you will need to put some parameters for modules in modprobe.conf.
My system boots in about 15-20 sec. (boot and startx/xdm)
Offline
What's the rush in booting your computer? Speeding up the boot process doesn't necessarily make the entire system faster. I don't see what the problem is in giving hotplug a few seconds to start. Is it absolutely vital that you shave off 10 seconds from the boot process?
Offline
you dont needhotplug anyway, just stick your modules in the modules array in rc.conf as suggested by torindan.
Offline
Agreed - the biggest change for boot speeds is to disable hotplug when you know your running modules.
A common misconception is that the hotplug daemon is needed for pluggable devices (usb, firewire, etc) - while that's true, you don't need the hotplug daemon.
The hotplug daemon, called on startup, finds the module for all hardware it finds at that time, then exits... this is called "coldplugging" - loading modules for devices *already there*... this should really only be done once. Add the modules hotplug found to the daemons array.
Hotplug itself is still used for pluggable devices, but in these cases the scripts are called directly by udev, and not the hotplug daemon.
So, if you removed the hotplug daemon, you can still use usb devices.
Offline
A common misconception is that the hotplug daemon is needed for pluggable devices (usb, firewire, etc) - while that's true, you don't need the hotplug daemon.
The hotplug daemon, called on startup, finds the module for all hardware it finds at that time, then exits... this is called "coldplugging" - loading modules for devices *already there*... this should really only be done once. Add the modules hotplug found to the daemons array.
Hotplug itself is still used for pluggable devices, but in these cases the scripts are called directly by udev, and not the hotplug daemon.
So, if you removed the hotplug daemon, you can still use usb devices.
Wow. great info there phrak. I didn't actually know that.
Sweet. I never liked running the hotplug daemon at boot, and now I know that I don't have to! 8)
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
you can look here for some more tips : http://wiki2.archlinux.org/index.php/Post installation tips
and also, i found this strange/intresting idea of using lshwd instead of hotplug, although its non-english, i think you'll get the idea : http://wiki2.archlinux.org/index.php/Sustituyendo a Hotplug con LSHWD
Offline
You should search the forum for information about backgrounding parts of the DAEMONS array. If done correctly this could net a few seconds on startup. I really don't see the point since my system boots in ~10s without any deliberate optimizations.
Offline
and also, i found this strange/intresting idea of using lshwd instead of hotplug, although its non-english, i think you'll get the idea : http://wiki2.archlinux.org/index.php/Sustituyendo a Hotplug con LSHWD
Who's the author of this wiki entry?? It seems to be creat. But i don't understand it completly. It would be great if someone could translate it to english.
Offline
you can look here for some more tips : http://wiki2.archlinux.org/index.php/Post installation tips
and also, i found this strange/intresting idea of using lshwd instead of hotplug, although its non-english, i think you'll get the idea : http://wiki2.archlinux.org/index.php/Sustituyendo a Hotplug con LSHWD
z4ziggy hates hotplug with a passion!
Offline
z4ziggy hates hotplug with a passion!
so do i - not only is it ass slow... it also loads waaaay too much crap and gets crap wrong alot... it should really cache stuff like "ok, last boot I loaded modules for these devices... all our devices now are the same, reload this list of modules"
Offline
Thx to all the help I'm really happy to get my Linux-Box even faster.
P.S. If u ask why I am tryin to disable Hotplug: I am trying to convince a friend of using Linux and he got a shock after seeing how long SuSE needed to boot. (It booted 2 minutes without counting all the BIOS and GRUB things on a P4 3.2 Ghz with 2 GB System Memory and then asked for the screen diagonal in millimetres !!!)
So now I bet with him that Arch will boot faster than the M$-Thing (And it's booting incredibly fast I have to assume) :shock:
Offline
Who's the author of this wiki entry?? It seems to be creat. But i don't understand it completly. It would be great if someone could translate it to english.
Legout, I'm the author of that wiki entry. I can try to translate it by myself, but probably I'll need some help. I'm an spanish language user of arch (I'm cuban, xD), then I'm not speak/write english very well.
See you
NeOnsKuLL
Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter
Offline
NeOnsKuLL: If you translate the document, I or somebody can go through it and make sure it makes sense in English. I'm always impressed with people who know even enough of a second language to say "I don't speak this language very well". ;-)
Dusty
Offline
NeOnsKuLL: If you translate the document, I or somebody can go through it and make sure it makes sense in English. I'm always impressed with people who know even enough of a second language to say "I don't speak this language very well". ;-)
Dusty
And he even knew to say "well" instead of "good" - which is more than alot of high school students
Offline
OK, I made the translation. It's here http://wiki2.archlinux.org/index.php/Replacing Hotplug with LSHWD
I made it with the help of the Google translation service for some words.
See you
NeOnsKuLL
Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter
Offline
tnx for the translation NeOnsKuLL.
you wrote "lshwd does not detect some things, like cards of audio. " - i would appreciate if you can elaborate on this (card ids, lshwd output with unsupported hw, etc). tnx.
Offline
In my home linuxbox if I use my lshwd instead of hotplug, I don't hace audio. I'll say you the audio card id the next week, because now I'm in my job and I don't have Internet in my home.
See you
NeOnsKuLL
PD: By the way, thanks for both hwd and lshwd, they are great software, and a big help for all.
Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter
Offline
If you want to make Arch faster, use a CK kernel. If you want to make Arch faster and test features which may either be awesome, buggy as hell, or some combination thereof, use an MM kernel.
Offline
Or you guys can compile your own kernel and not use modules at all. The only module I have is for nvidia and I load it via /etc/rc.conf. heh.
Offline
i find identifying which config file options refer to which modules a nightmare though, any tips? Aside from read through the WHOLE kernel config instructions for every option
Offline
OK, I made the translation. It's here http://wiki2.archlinux.org/index.php/Replacing Hotplug with LSHWD
And as promised, I've edited it for correct English. Nice work!! :-)
Dusty
Offline
I tried to take all modules from lsmod and put them in rc.conf, the computer worked but it felt like xorg took longer to start.
Offline
Or you guys can compile your own kernel and not use modules at all. The only module I have is for nvidia and I load it via /etc/rc.conf. heh.
that's only a speed increase on module load, and it's barely anything - I recommend against it
Offline
I tried to take all modules from lsmod and put them in rc.conf, the computer worked but it felt like xorg took longer to start.
I don't think that's related to loading modules in rc.conf,
xorg should start in a few seconds otherwise there is something wrong,
do you have your hostname in /etc/hosts ?
arch + gentoo + initng + python = enlisy
Offline