You are not logged in.
24 seconds! Click thumbnail above to enlarge. Trying to speed up my Arch... again! It's an addiction, like overclocking. Tweak tweak, tinker... optimize. I have yet to compile my own kernel though. Will attempt that some other day. Do you guys see some modules that I don't need?
lsmod:
Module Size Used by
w83627hf 24980 0
hwmon_vid 3328 1 w83627hf
capability 3592 0
commoncap 5760 1 capability
vboxdrv 49664 0
kqemu 120996 0
fuse 39188 8
evdev 8192 1
nvidia 7859072 24
snd_intel8x0 28700 3
snd_ac97_codec 95268 1 snd_intel8x0
snd_pcm_oss 36896 0
snd_pcm 68996 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 19332 1 snd_pcm
snd_page_alloc 8072 2 snd_intel8x0,snd_pcm
snd_mixer_oss 14464 1 snd_pcm_oss
snd 44644 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore 6496 1 snd
ac97_bus 2432 1 snd_ac97_codec
usbhid 39744 0
hid 28032 1 usbhid
ff_memless 5256 1 usbhid
intel_agp 21780 1
agpgart 27096 2 nvidia,intel_agp
sg 26652 0
sr_mod 14756 0
cdrom 33952 1 sr_mod
uhci_hcd 22416 0
ehci_hcd 32012 0
i2c_core 20096 1 nvidia
e1000 117696 0
usbcore 123016 4 usbhid,uhci_hcd,ehci_hcd
sd_mod 22912 10
reiserfs 233856 1
ext3 119560 1
jbd 54440 1 ext3
mbcache 7040 1 ext3
ata_piix 13572 7
ata_generic 5380 0
libata 105780 2 ata_piix,ata_generic
lspci:
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82875P/E7210 Processor to PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GT] (rev a1)
02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
03:01.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
03:02.0 Multimedia audio controller: Creative Labs SB X-Fi
/etc/fstab
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 ro,user,noauto,unhide 0 0
/dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
/dev/fd0 /mnt/fd0 vfat user,noauto 0 0
/dev/sda2 / reiserfs noatime,notail 0 1
/dev/sda3 /home ext3 data=journal,rw 0 1
/dev/sdb3 swap swap defaults 0 0
/etc/mkinitcpio.conf
MODULES="ata_generic ata_piix libata ext3 reiserfs jbd sd_mod"
BINARIES=""
FILES=""
HOOKS="base udev autodetect"
udev takes a long time but I guess that it's not faster removing it and replacing with manually loading modules? Any other tips for optimization?
Offline
Where did you get that image from? I need that tool
fi-dschi
Offline
The image is made with bootchart
http://www.bootchart.org/
I use to play around with optimizing the boot process a year ago or so but got tired of it since it made my system more unstable just to gain a couple of seconds. Not really unstable in a way that it crashed, more in a way that some stuff didn't get loaded on boot time (timing problems). It wasn't really worth it in the end. For those how ever want to play with it you will learn a lot about how stuff are connected and why some stuff need to be loaded before others. Pretty much learn how the boot process is structure.
Offline
hmm, I am sorry but this (24s) is not really impressive. Time from grub to kdm/gdm 24s then few sec to load GUI and linux total boot time looks pretty bad (laptop).
But I guess, there is not much real interest to make kernel load faster and users have to live with slower (than other OSes) boot time.
Offline
When dash got in Core, I read on some Debian site it helped their boot time a lot.
Do you think the same could be done for Arch? I.e. converting all bash scripts to dash.
Offline
I tried to run bootchart on my laptop because I think startup time got slower since I switched from ext3 to JFS. How can I improve speed for my laptop?
digiKam developer - www.digikam.org
Offline
Offline