Ubuntu Boot Speed


Recommended Posts

What and how do I trim to increase the boot time.

laptop@LapTop:~$ dmesg

[4294669.478000] Memory: 380676k/392640k available (1416k kernel code, 11328k reserved, 762k data, 224k init, 0k highmem)

[4294669.478000] Checking if this processor honours the WP bit even in supervisor mode... Ok.

[4294669.478000] Calibrating delay loop... 5554.17 BogoMIPS (lpj=2777088)

[4294669.502000] Security Framework v1.0.0 initialized

[4294669.502000] SELinux: Disabled at boot.

[4294669.502000] Mount-cache hash table entries: 512

[4294669.502000] CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000

[4294669.502000] CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 00004400 00000000 00000000

[4294669.502000] CPU: Trace cache: 12K uops, L1 D cache: 8K

[4294669.502000] CPU: L2 cache: 512K

[4294669.502000] CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 00004400 00000000 00000000

[4294669.502000] CPU: Intel® Pentium® 4 CPU 2.80GHz stepping 09

[4294669.502000] Enabling fast FPU save and restore... done.

[4294669.502000] Enabling unmasked SIMD FPU exception support... done.

[4294669.502000] Checking 'hlt' instruction... OK.

[4294669.506000] Checking for popad bug... OK.

[4294669.506000] checking if image is initramfs... it is

[4294669.915000] Freeing initrd memory: 5171k freed

[4294669.916000] ACPI: Looking for DSDT in initrd... not found!

[4294669.958000] not found!

[4294670.792000] ENABLING IO-APIC IRQs

[4294670.792000] ..TIMER: vector=0x31 pin1=2 pin2=-1

[4294670.904000] NET: Registered protocol family 16

[4294670.904000] EISA bus registered

[4294670.904000] ACPI: bus type pci registered

[4294670.904000] PCI: PCI BIOS revision 2.10 entry at 0xfd968, last bus=2

[4294670.904000] PCI: Using configuration type 1

[4294670.904000] mtrr: v2.0 (20020519)

[4294670.904000] ACPI: Subsystem revision 20050729

[4294670.931000] ACPI: Interpreter enabled

[4294670.931000] ACPI: Using IOAPIC for interrupt routing

[4294670.931000] ACPI: PCI Root Bridge [PCI0] (0000:00)

[4294670.931000] PCI: Probing PCI hardware (bus 00)

[4294670.931000] ACPI: Assume root bridge [\_SB_.PCI0] segment is 0

[4294670.931000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0

[4294670.957000] PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1

[4294670.957000] Boot video device is 0000:01:05.0

[4294670.957000] PCI: Transparent bridge - 0000:00:14.4

[4294670.959000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]

[4294670.959000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]

[4294670.960000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]

[4294670.960000] ACPI: PCI Interrupt Link [LNK0] (IRQs 5 10 11) *0, disabled.

[4294670.961000] ACPI: PCI Interrupt Link [LNK1] (IRQs 5 10 11) *0, disabled.

[4294670.961000] ACPI: PCI Interrupt Link [LNK2] (IRQs 5 10 11) *0, disabled.

[4294670.961000] ACPI: PCI Interrupt Link [LNK3] (IRQs 5 10 11) *0, disabled.

[4294670.966000] burst-mode-ec-10-Aug

[4294670.966000] ACPI: Embedded Controller [EC0] (gpe 6)

[4294671.009000] Linux Plug and Play Support v0.97 © Adam Belay

[4294671.009000] pnp: PnP ACPI init

[4294671.032000] pnp: PnP ACPI: found 9 devices

[4294671.032000] PnPBIOS: Disabled by ACPI PNP

[4294671.032000] PCI: Using ACPI for IRQ routing

[4294671.032000] PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report

[4294671.037000] pnp: 00:06: ioport range 0x200-0x20f has been reserved

[4294671.037000] pnp: 00:06: ioport range 0xc14-0xc14 has been reserved

[4294671.037000] pnp: 00:06: ioport range 0xc50-0xc52 has been reserved

[4294671.037000] pnp: 00:06: ioport range 0xc6c-0xc6c has been reserved

[4294671.037000] audit: initializing netlink socket (disabled)

[4294671.037000] audit: initialized

[4294671.037000] VFS: Disk quotas dquot_6.5.1

[4294671.037000] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[4294671.037000] devfs: 2004-01-31 Richard Gooch ([email protected])

[4294671.037000] devfs: boot_options: 0x0

[4294671.037000] Initializing Cryptographic API

[4294671.038000] isapnp: Scanning for PnP cards...

[4294671.391000] isapnp: No Plug & Play device found

[4294671.406000] PNP: PS/2 Controller [PNP0303:KBC0,PNP0f13:MSE0] at 0x60,0x64 irq 1,12

[4294671.412000] i8042.c: Detected active multiplexing controller, rev 1.1.

[4294671.419000] serio: i8042 AUX0 port at 0x60,0x64 irq 12

[4294671.420000] serio: i8042 AUX1 port at 0x60,0x64 irq 12

[4294671.421000] serio: i8042 AUX2 port at 0x60,0x64 irq 12

[4294671.422000] serio: i8042 AUX3 port at 0x60,0x64 irq 12

[4294671.423000] serio: i8042 KBD port at 0x60,0x64 irq 1

[4294671.423000] Serial: 8250/16550 driver $Revision: 1.90 $ 54 ports, IRQ sharing enabled

[4294671.424000] ACPI: PCI Interrupt 0000:00:14.6 -> GSI 5 (level, low) -> IRQ 5

[4294671.424000] ACPI: PCI interrupt for device 0000:00:14.6 disabled

[4294671.424000] io scheduler noop registered

[4294671.424000] io scheduler anticipatory registered

[4294671.424000] io scheduler deadline registered

[4294671.424000] io scheduler cfq registered

[4294671.425000] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize

[4294671.426000] EISA: Probing bus 0 at eisa.0

[4294671.426000] Cannot allocate resource for EISA slot 1

[4294671.426000] Cannot allocate resource for EISA slot 8

[4294671.426000] EISA: Detected 0 cards.

[4294671.426000] NET: Registered protocol family 2

[4294671.438000] IP: routing cache hash table of 4096 buckets, 32Kbytes

[4294671.438000] TCP established hash table entries: 16384 (order: 5, 131072 bytes)

[4294671.438000] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)

[4294671.438000] TCP: Hash tables configured (established 16384 bind 16384)

[4294671.438000] NET: Registered protocol family 8

[4294671.438000] NET: Registered protocol family 20

[4294671.438000] ACPI wakeup devices:

[4294671.438000] MODM ELAN USB0 USB1 USB2

[4294671.438000] ACPI: (supports S0 S3 S4 S5)

[4294671.439000] Freeing unused kernel memory: 224k freed

[4294671.455000] vga16fb: initializing

[4294671.455000] vga16fb: mapped to 0xc00a0000

[4294671.570000] Console: switching to colour frame buffer device 80x30

[4294671.570000] fb0: VGA16 VGA frame buffer device

[4294671.587000] input: AT Translated Set 2 keyboard on isa0060/serio0

[4294672.746000] Capability LSM initialized

[4294672.757000] NET: Registered protocol family 1

[4294672.769000] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

[4294672.769000] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

[4294672.769000] ACPI: bus type ide registered

[4294672.777000] ATIIXP: IDE controller at PCI slot 0000:00:14.1

[4294672.777000] ACPI: PCI Interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 16

[4294672.777000] ATIIXP: chipset revision 0

[4294672.777000] ATIIXP: not 100% native mode: will probe irqs later

[4294672.777000] ide0: BM-DMA at 0x8060-0x8067, BIOS settings: hda:DMA, hdb:pio

[4294672.777000] ide1: BM-DMA at 0x8068-0x806f, BIOS settings: hdc:DMA, hdd:pio

[4294672.777000] Probing IDE interface ide0...

[4294673.041000] hda: FUJITSU MHT2060AT PL, ATA DISK drive

[4294673.655000] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

[4294673.655000] Probing IDE interface ide1...

[4294674.378000] hdc: SD-R2512, ATAPI CD/DVD-ROM drive

[4294674.990000] ide1 at 0x170-0x177,0x376 on irq 15

[4294674.990000] Probing IDE interface ide2...

[4294675.503000] Probing IDE interface ide3...

[4294676.015000] Probing IDE interface ide4...

[4294676.527000] Probing IDE interface ide5...

[4294677.042000] hda: max request size: 128KiB

[4294677.115000] hda: 117210240 sectors (60011 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)

[4294677.118000] hda: cache flushes supported

[4294677.118000] /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 < p5 >

[4294677.209000] hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache

[4294677.209000] Uniform CD-ROM driver Revision: 3.20

[4294677.486000] Attempting manual resume

[4294677.511000] swsusp: Suspend partition has wrong signature?

[4294677.532000] usbcore: registered new driver usbfs

[4294677.532000] usbcore: registered new driver hub

[4294677.533000] ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)

[4294677.533000] ACPI: PCI Interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 19

[4294677.533000] ohci_hcd 0000:00:13.0: ATI Technologies Inc OHCI USB Controller #1

[4294677.533000] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1

[4294677.533000] ohci_hcd 0000:00:13.0: irq 19, io mem 0xd0001000

[4294677.538000] hub 1-0:1.0: USB hub found

[4294677.538000] hub 1-0:1.0: 3 ports detected

[4294677.543000] ACPI: PCI Interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 19

[4294677.543000] ohci_hcd 0000:00:13.1: ATI Technologies Inc OHCI USB Controller #2

[4294677.543000] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2

[4294677.543000] ohci_hcd 0000:00:13.1: irq 19, io mem 0xd0002000

[4294677.548000] hub 2-0:1.0: USB hub found

[4294677.548000] hub 2-0:1.0: 3 ports detected

[4294677.553000] ACPI: PCI Interrupt 0000:02:07.0[A] -> GSI 16 (level, low) -> IRQ 16

[4294677.553000] ohci_hcd 0000:02:07.0: NEC Corporation USB

[4294677.553000] ohci_hcd 0000:02:07.0: new USB bus registered, assigned bus number 3

[4294677.553000] ohci_hcd 0000:02:07.0: irq 16, io mem 0xd0202000

[4294677.583000] hub 3-0:1.0: USB hub found

[4294677.583000] hub 3-0:1.0: 3 ports detected

[4294677.614000] ACPI: PCI Interrupt 0000:02:07.1 -> GSI 18 (level, low) -> IRQ 18

[4294677.614000] ohci_hcd 0000:02:07.1: NEC Corporation USB (#2)

[4294677.614000] ohci_hcd 0000:02:07.1: new USB bus registered, assigned bus number 4

[4294677.614000] ohci_hcd 0000:02:07.1: irq 18, io mem 0xd0203000

[4294677.644000] hub 4-0:1.0: USB hub found

[4294677.644000] hub 4-0:1.0: 2 ports detected

[4294677.740000] 8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)

[4294677.740000] 8139cp: pci dev 0000:02:03.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip

[4294677.740000] 8139cp: Try the "8139too" driver instead.

[4294677.741000] 8139too Fast Ethernet driver 0.9.27

[4294677.741000] ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 19 (level, low) -> IRQ 19

[4294677.742000] eth0: RealTek RTL8139 at 0xa000, 00:02:3f:23:88:07, IRQ 19

[4294677.742000] eth0: Identified 8139 chip type 'RTL-8101'

[4294677.774000] ACPI: PCI Interrupt 0000:02:07.2[C] -> GSI 19 (level, low) -> IRQ 19

[4294677.774000] ehci_hcd 0000:02:07.2: NEC Corporation USB 2.0

[4294677.795000] ehci_hcd 0000:02:07.2: new USB bus registered, assigned bus number 5

[4294677.795000] ehci_hcd 0000:02:07.2: irq 19, io mem 0xd0204400

[4294677.795000] ehci_hcd 0000:02:07.2: park 0

[4294677.795000] ehci_hcd 0000:02:07.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004

[4294677.795000] hub 5-0:1.0: USB hub found

[4294677.795000] hub 5-0:1.0: 5 ports detected

[4294680.274000] ACPI: CPU0 (power states: C1[C1] C2[C2])

[4294680.281000] ACPI: Thermal Zone [THRM] (30 C)

[4294680.552000] Attempting manual resume

[4294680.552000] swsusp: Suspend partition has wrong signature?

[4294680.563000] kjournald starting. Commit interval 5 seconds

[4294680.563000] EXT3-fs: mounted filesystem with ordered data mode.

[4294681.855000] md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27

[4294685.945000] Adding 1132540k swap on /dev/hda5. Priority:-1 extents:1

[4294686.290000] EXT3 FS on hda2, internal journal

[4294695.489000] parport: PnPBIOS parport detected.

[4294695.489000] parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]

[4294695.576000] lp0: using parport0 (interrupt-driven).

[4294695.600000] mice: PS/2 mouse device common for all mice

[4294695.971000] alps.c: Enabling hardware tapping

[4294696.060000] input: PS/2 Mouse on isa0060/serio4

[4294696.064000] input: AlpsPS/2 ALPS GlidePoint on isa0060/serio4

[4294696.567000] ts: Compaq touchscreen protocol output

[4294699.594000] device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]

[4294700.716000] cdrom: open failed.

[4294703.513000] Linux agpgart interface v0.101 © Dave Jones

[4294703.522000] agpgart: Detected Ati IGP9100/M chipset

[4294703.542000] agpgart: AGP aperture is 32M @ 0xd2000000

[4294703.621000] pci_hotplug: PCI Hot Plug PCI Core version: 0.5

[4294703.627000] shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5

[4294703.627000] shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5

[4294704.071000] ACPI: PCI Interrupt 0000:00:14.5 -> GSI 5 (level, low) -> IRQ 5

[4294705.547000] ACPI: PCI Interrupt 0000:00:14.6 -> GSI 5 (level, low) -> IRQ 5

[4294706.082000] Linux Kernel Card Services

[4294706.082000] options: [pci] [cardbus] [pm]

[4294706.097000] ACPI: PCI Interrupt 0000:02:04.0[A] -> GSI 17 (level, low) -> IRQ 17

[4294706.097000] Yenta: CardBus bridge found at 0000:02:04.0 [103c:006b]

[4294706.097000] Yenta: Enabling burst memory read transactions

[4294706.097000] Yenta: Using CSCINT to route CSC interrupts to PCI

[4294706.097000] Yenta: Routing CardBus interrupts to PCI

[4294706.097000] Yenta TI: socket 0000:02:04.0, mfunc 0x01111d22, devctl 0x64

[4294706.318000] Yenta: ISA IRQ mask 0x0e58, PCI irq 17

[4294706.318000] Socket status: 30000006

[4294706.334000] ACPI: PCI Interrupt 0000:02:04.1 -> GSI 16 (level, low) -> IRQ 16

[4294706.334000] Yenta: CardBus bridge found at 0000:02:04.1 [103c:006b]

[4294706.334000] Yenta: Using CSCINT to route CSC interrupts to PCI

[4294706.334000] Yenta: Routing CardBus interrupts to PCI

[4294706.334000] Yenta TI: socket 0000:02:04.1, mfunc 0x01111d22, devctl 0x64

[4294706.555000] Yenta: ISA IRQ mask 0x0e58, PCI irq 16

[4294706.555000] Socket status: 30000006

[4294708.020000] Real Time Clock Driver v1.12

[4294708.104000] input: PC Speaker

[4294711.259000] floppy0: no floppy controllers found

[4294711.785000] ndiswrapper version 1.1 loaded (preempt=no,smp=no)

[4294711.931000] ndiswrapper: driver bcmwl5 (Broadcom,10/20/2004, 3.70.22.0) loaded

[4294711.931000] ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 18 (level, low) -> IRQ 18

[4294711.937000] ndiswrapper: using irq 18

[4294712.546000] wlan0: ndiswrapper ethernet device 00:90:4b:55:68:4f using driver bcmwl5, configuration file 14E4:4320:103C:12F4.5.conf

[4294712.546000] wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP

[4294713.087000] NET: Registered protocol family 17

[4294715.973000] eth0: link down

[4294716.876000] NET: Registered protocol family 10

[4294716.876000] Disabled Privacy Extensions on device c02eb280(lo)

[4294716.876000] IPv6 over IPv4 tunneling driver

[4294718.749000] ACPI: AC Adapter [ACAD] (off-line)

[4294718.896000] ACPI: Battery Slot [bAT1] (battery present)

[4294718.915000] ACPI: Power Button (FF) [PWRF]

[4294718.915000] ACPI: Lid Switch [LID]

[4294718.915000] ACPI: Power Button (CM) [PWRB]

[4294719.019000] ibm_acpi: ec object not found

[4294719.140000] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)

[4294724.490000] apm: BIOS not found.

[4294726.258000] [drm] Initialized drm 1.0.0 20040925

[4294726.264000] ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 16 (level, low) -> IRQ 16

[4294726.269000] [drm] Initialized radeon 1.16.0 20050311 on minor 0: ATI Technologies Inc RS300M AGP [Radeon Mobility 9100IGP]

[4294726.270000] agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.

[4294726.270000] agpgart: reserved bits set in mode 0x1f00020f. Fixed.

[4294726.270000] agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.

[4294726.270000] agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode

[4294726.270000] agpgart: Putting AGP V3 device at 0000:01:05.0 into 8x mode

[4294726.275000] [drm] Loading R200 Microcode

[4294726.982000] eth0: no IPv6 routers present

[4294727.281000] wlan0: no IPv6 routers present

Link to post
Share on other sites

I am not sure what the defualt services ubuntu startrs are, but you may not need all of them at bootup. You can type this command to show you what services you have running at bootup

ls -l /etc/rc2.d

for example if you do not need printing you could disable cups. you would use this command

update-rc.d -f cupsys remove

these are a few services you may not use: ssh, ppp(dial up?), apmd(not needed if using acpid?), rsync(think this is only needed to run an rsync server?). i would goolge alot of the services

if you are using wireless, does it stall out when trying to get an ip using your wired connection? Are their any other srvices that seem to make it hang, you could see these while it is booting.

edit added later//

I found this list of services that someone already documented. He maked in red the stuff he does not need. it apears he disable about half of his services. That will speed things up a lot.

http://doc.gwos.org/index.php/Speed_up_boot

Edited by shanenin
Link to post
Share on other sites

In addition to turning off un-needed services as Shane suggested you can increase boot speed by re-compiling your kernel supporting only hardware you have. It could take a good deal of experimentation to get all the correct modules but IMO is worth it.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...