You are not logged in.

#1 2009-03-27 00:05:48

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

slow boot

Arch linux boots very slowly on my dual core 3Ghz 4 GB ram system... even windows (when it was installed) booted faster. Is there anything I can do to speed it up? Or figure out why it's so slow? It takes more than a whole minute. sad


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#2 2009-03-27 00:21:40

Mogger
Member
From: Sweden
Registered: 2008-12-07
Posts: 153
Website

Re: slow boot

Try out Bootchart.

Offline

#3 2009-03-27 00:22:04

FreakGuard
Member
Registered: 2008-04-27
Posts: 103

Offline

#4 2009-03-27 13:18:37

Lexion
Member
Registered: 2008-03-23
Posts: 510

Re: slow boot


urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand

Offline

#5 2009-03-27 13:52:42

Primoz
Member
From: Ljubljana-Slovena-EU
Registered: 2009-03-04
Posts: 688

Re: slow boot

I found out that removing my ATA disks sped up boot time a lot.
So if you have non system ATA disk throw it out. big_smile

As it seems something like hardware problem, I know I had one. Even with every posible thing in background it was still slow. then I decided to throw my ATA disks out and now it flies.
Well it still needs cca 19-23s to boot but that's nothing compared to prvious boottimes.


Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.

Offline

#6 2009-03-27 14:18:58

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: slow boot

before you try to speed up anything:
see what is slowing down your system:
check /var/log/messages.log
for errors and waiting

Offline

#7 2009-03-27 15:47:15

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: slow boot

my only question about boot speed is:
how can reduce the first seven seconds of starting?

bootchart270309.png


takedown [~] \ $  more /etc/mkinitcpio.conf
MODULES="ext4"
BINARIES=""
FILES=""
HOOKS="base udev sata"

Offline

#8 2009-03-27 16:07:50

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: slow boot

Instead of using the 'sata' hook, you could put only the required modules in MODULES.
What you'll always need is 'sd_mod' and the filesystem module for your root partition. The only thing that's variable is the driver for your disk controller; on my machines for example, I'm using 'ata_piix', 'sata_nv' or 'ahci'. Use 'dmesg' to find yours.


1000

Offline

#9 2009-03-27 16:40:32

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: slow boot

byte:
like that?

MODULES="sd_mod sata_nv ext4"
BINARIES=""
FILES=""
HOOKS="base udev"

¿?

Offline

#10 2009-03-27 17:09:21

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: slow boot

That should work if you have an Nvdia chipset.


1000

Offline

#11 2009-03-27 17:20:08

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: slow boot

thanks a lot, i will try it

Offline

#12 2009-03-27 17:23:57

JK3mp
Member
Registered: 2009-03-25
Posts: 105

Re: slow boot

I have similiar specs and Arch boots up fine, around 8 seconds actually. Check the message logs like suggested above and see what daemons you have running in the background. I don't have much on my archa and i keep it pretty clean aside from my music and what i NEED i don't install alot of extra's . I found adding special effects like compiz slowed me down alot...my boot time too. So just check that kind of stuff and decide what you need more and can live with out.

Offline

#13 2009-03-27 22:42:56

takedown
Member
From: Argentina
Registered: 2008-08-31
Posts: 219

Re: slow boot

takedown wrote:

byte:
like that?

MODULES="sd_mod sata_nv ext4"
BINARIES=""
FILES=""
HOOKS="base udev"

¿?

nothing happend. I change my mkinitcpio.cong and then run: mkinitcpio -g /boot/kernel26.img

the same result

Offline

#14 2009-03-27 23:06:50

haxit
Member
From: /home/haxit
Registered: 2008-03-04
Posts: 1,247
Website

Re: slow boot

Try recompiling your kernel via abs.
Also:
Finally, a girl on the forums!

Last edited by haxit (2009-03-27 23:07:29)


Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.

Offline

#15 2009-03-27 23:13:02

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: slow boot

it all depends of your experience with linux:
1) re-compile kernel:
- get rid of initrd
- maybe limit number of modules loaded
2) trim down rc.sysinit
3) optimize disk/fs performance (latencies, fsck)
4) optimize kde

I have similiar specs and Arch boots up fine, around 8 seconds actually.

8sec? doubt it with any DE, even without quite difficult to do.

Last edited by broch (2009-03-27 23:15:05)

Offline

#16 2009-03-28 00:33:19

JK3mp
Member
Registered: 2009-03-25
Posts: 105

Re: slow boot

Thats actually it right now...i DON"T have a DE  for arch. At least for now....im newer and still working on getting it dowloaded ... i only have wireless and so downloading is only going at 8kb/s max for some odd reason :S. Going to a friends tommorow to borrow there ethernet cable xD.

Offline

#17 2009-06-04 00:43:09

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: slow boot

Along with the huge slow down I also started having errors and stability problems. Soooo...turns out my ram was really bad. (40,000+ errors on memtest) I RMA'd it and reinstalled Arch (in case something was corrupted). Its working great now. But thanks for letting me know about all these great programs, they are very useful. Sorry I didn't post in a long time...had finals and then moved to a new apartment.


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

Board footer

Powered by FluxBB