- Code: Select all
sudo apt-get install bootchart
I would prefer the boot times displayed to include going into the GUI as all below are.
after installing reboot and a image will be generated and stored in /var/log/bootchart as those seen below.
I will start off with 1.5 fresh install:
1.5 Tweaked:
Please review my Tweaking guide for users of 1.5 or less (does not work with gusty based distros or 1.6 currently)
1.6 fresh install:
1.7 fresh install:
Don't have time to tweak 1.7 sorry.
I was wanting to keep this section up to date it has been a history and boot times page for each os until I slipped & didn't have time, I copied the following for another section of the forum...
lol, speaking of tweaking... I have been tweaking the piss out of Ultimate Edition 1.8 all morn, expecting breakage. I have shaved ~10 to 15 secs off my boot time (I barely get to see it boot at all) If I can get bootchart to somehow work "right" I will post the results (bootchart does not calculate cache times) for example ~4 secs into my boot process the screen says I have been booting for ~26 secs. Hardy uses uuids and caches from them (readahead-list), pretty ingenious unless you change a motherboard etc. Bootchart does work, but its timings are inaccurate because of this. I'll see if I can find a way around this and post results. I will post the very first boot I ever done with it zero tweaks (freshly installed), probably also inaccurate.
Default Ultimate Edition 1.8 bootime:
Tweaked:
I purged services from my system I do not use printer, bluetooth, pcmcia, ppp etc. ran a command I am not going to publish openly then ran profile on next boot results as seen above minus read below.
this is the top part of my dmesg output tweaked (note it goes from zero seconds to 19 secs instantly), this is the uuid caching I referred to earlier.
- Code: Select all
theemahn@SledgeHammer:~$ dmesg
[ 0.000000] Linux version 2.6.24-16-generic (buildd@yellow) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 12:47:45 UTC 2008 (Ubuntu 2.6.24-16.30-generic)
[ 0.000000] Command line: root=UUID=1ed94ed4-424c-4346-9bd9-4c2d8fa4ddab ro vga=795
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
[ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000cffc0000 (usable)
[ 0.000000] BIOS-e820: 00000000cffc0000 - 00000000cffce000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000cffce000 - 00000000cfff0000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfff0000 - 00000000cfffe000 (reserved)
[ 0.000000] BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 851904) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] end_pfn_map = 1245184
[ 0.000000] DMI present.
[ 0.000000] ACPI: RSDP signature @ 0xFFFF8100000F98D0 checksum 0
[ 0.000000] ACPI: RSDP 000F98D0, 0014 (r0 ACPIAM)
[ 0.000000] ACPI: RSDT CFFC0000, 0038 (r1 031208 RSDT1611 20080312 MSFT 97)
[ 0.000000] ACPI: FACP CFFC0200, 0084 (r2 031208 FACP1611 20080312 MSFT 97)
[ 0.000000] ACPI: DSDT CFFC0440, 6E9B (r1 1ADNC 1ADNC001 1 INTL 20051117)
[ 0.000000] ACPI: FACS CFFCE000, 0040
[ 0.000000] ACPI: APIC CFFC0390, 006C (r1 031208 APIC1611 20080312 MSFT 97)
[ 0.000000] ACPI: MCFG CFFC0400, 003C (r1 031208 OEMMCFG 20080312 MSFT 97)
[ 0.000000] ACPI: OEMB CFFCE040, 0071 (r1 031208 OEMB1611 20080312 MSFT 97)
[ 0.000000] ACPI: HPET CFFC72E0, 0038 (r1 031208 OEMHPET 20080312 MSFT 97)
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000130000000
[ 0.000000] Entering add_active_range(0, 0, 159) 0 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 256, 851904) 1 entries of 3200 used
[ 0.000000] Entering add_active_range(0, 1048576, 1245184) 2 entries of 3200 used
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000130000000
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] DMA32 4096 -> 1048576
[ 0.000000] Normal 1048576 -> 1245184
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0 -> 159
[ 0.000000] 0: 256 -> 851904
[ 0.000000] 0: 1048576 -> 1245184
[ 0.000000] On node 0 totalpages: 1048415
[ 0.000000] DMA zone: 56 pages used for memmap
[ 0.000000] DMA zone: 1210 pages reserved
[ 0.000000] DMA zone: 2733 pages, LIFO batch:0
[ 0.000000] DMA32 zone: 14280 pages used for memmap
[ 0.000000] DMA32 zone: 833528 pages, LIFO batch:31
[ 0.000000] Normal zone: 2688 pages used for memmap
[ 0.000000] Normal zone: 193920 pages, LIFO batch:31
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] ATI board detected. Disabling timer routing over 8254.
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 (Bootup-CPU)
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
[ 0.000000] Processor #1
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
[ 0.000000] Processor #2
[ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
[ 0.000000] Processor #3
[ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 4, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[ 0.000000] ACPI: IRQ0 used by override.
[ 0.000000] ACPI: IRQ2 used by override.
[ 0.000000] ACPI: IRQ9 used by override.
[ 0.000000] Setting APIC routing to flat
[ 0.000000] ACPI: HPET id: 0x8300 base: 0xfed00000
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] swsusp: Registered nosave memory region: 000000000009f000 - 00000000000a0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000a0000 - 00000000000e4000
[ 0.000000] swsusp: Registered nosave memory region: 00000000000e4000 - 0000000000100000
[ 0.000000] swsusp: Registered nosave memory region: 00000000cffc0000 - 00000000cffce000
[ 0.000000] swsusp: Registered nosave memory region: 00000000cffce000 - 00000000cfff0000
[ 0.000000] swsusp: Registered nosave memory region: 00000000cfff0000 - 00000000cfffe000
[ 0.000000] swsusp: Registered nosave memory region: 00000000cfffe000 - 00000000fff00000
[ 0.000000] swsusp: Registered nosave memory region: 00000000fff00000 - 0000000100000000
[ 0.000000] Allocating PCI resources starting at d0000000 (gap: cfffe000:2ff02000)
[ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs
[ 0.000000] PERCPU: Allocating 34656 bytes of per cpu data
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1030181
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: root=UUID=1ed94ed4-424c-4346-9bd9-4c2d8fa4ddab ro vga=795
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] hpet clockevent registered
[ 0.000000] TSC calibrated against HPET
[ 19.409581] Marking TSC unstable due to TSCs unsynchronized
[ 19.409583] time.c: Detected 2300.144 MHz processor.
[ 19.409616] Console: colour dummy device 80x25
[ 19.409619] console [tty0] enabled
[ 19.409731] Checking aperture...
[ 19.409735] CPU 0: aperture @ 4000000 size 32 MB
[ 19.409737] Aperture too small (32 MB)
[ 19.420538] No AGP bridge found
[ 19.420540] Your BIOS doesn't leave a aperture memory hole
[ 19.420543] Please enable the IOMMU option in the BIOS setup
[ 19.420545] This costs you 64 MB of RAM
[ 19.441807] Mapping aperture over 65536 KB of RAM @ 4000000
[ 19.468869] Memory: 4044928k/4980736k available (2466k kernel code, 148732k reserved, 1309k data, 316k init)
[ 19.468901] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=4, Nodes=1
[ 19.547818] Calibrating delay using timer specific routine.. 4785.83 BogoMIPS (lpj=9571668)
[ 19.547846] Security Framework initialized
[ 19.547853] SELinux: Disabled at boot.
[ 19.547864] AppArmor: AppArmor initialized
[ 19.547868] Failure registering capabilities with primary security module.
[ 19.548160] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 19.549997] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 19.550873] Mount-cache hash table entries: 256
[ 19.550982] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 19.550986] CPU: L2 Cache: 512K (64 bytes/line)
[ 19.550989] CPU 0/0 -> Node 0
[ 19.550992] CPU: Physical Processor ID: 0
[ 19.550994] CPU: Processor Core ID: 0
[ 19.551015] SMP alternatives: switching to UP code
[ 19.551843] Early unpacking initramfs... done
[ 19.872190] ACPI: Core revision 20070126
[ 19.872247] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
[ 19.916626] Using local APIC timer interrupts.
[ 19.960093] APIC timer calibration result 12500772
[ 19.960095] Detected 12.500 MHz APIC timer.
[ 19.960164] SMP alternatives: switching to SMP code
[ 19.960578] Booting processor 1/4 APIC 0x1
[ 19.971238] Initializing CPU#1
[ 20.048067] Calibrating delay using timer specific routine.. 4600.53 BogoMIPS (lpj=9201074)
[ 20.048072] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 20.048074] CPU: L2 Cache: 512K (64 bytes/line)
[ 20.048076] CPU 1/1 -> Node 0
[ 20.048078] CPU: Physical Processor ID: 0
[ 20.048079] CPU: Processor Core ID: 1
[ 20.048356] AMD Phenom(TheeMahn) 9600 Quad-Core Processor stepping 02
[ 20.048457] SMP alternatives: switching to SMP code
[ 20.048779] Booting processor 2/4 APIC 0x2
[ 20.059436] Initializing CPU#2
[ 20.140029] Calibrating delay using timer specific routine.. 4600.38 BogoMIPS (lpj=9200769)
[ 20.140034] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 20.140036] CPU: L2 Cache: 512K (64 bytes/line)
[ 20.140038] CPU 2/2 -> Node 0
[ 20.140040] CPU: Physical Processor ID: 0
[ 20.140041] CPU: Processor Core ID: 2
[ 20.140315] AMD Phenom(TheeMahn) 9600 Quad-Core Processor stepping 02
[ 20.140396] SMP alternatives: switching to SMP code
[ 20.140712] Booting processor 3/4 APIC 0x3
[ 20.151368] Initializing CPU#3
[ 20.231990] Calibrating delay using timer specific routine.. 4600.39 BogoMIPS (lpj=9200789)
[ 20.231996] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
[ 20.231998] CPU: L2 Cache: 512K (64 bytes/line)
[ 20.232000] CPU 3/3 -> Node 0
[ 20.232002] CPU: Physical Processor ID: 0
[ 20.232003] CPU: Processor Core ID: 3
[ 20.232279] AMD Phenom(TheeMahn) 9600 Quad-Core Processor stepping 02
[ 20.232296] Brought up 4 CPUs
[ 20.232416] CPU0 attaching sched-domain:
[ 20.232419] domain 0: span 0f
[ 20.232420] groups: 01 02 04 08
[ 20.232423] domain 1: span 0f
[ 20.232425] groups: 0f
[ 20.232426] CPU1 attaching sched-domain:
[ 20.232427] domain 0: span 0f
[ 20.232428] groups: 02 04 08 01
[ 20.232430] domain 1: span 0f
[ 20.232432] groups: 0f
[ 20.232433] CPU2 attaching sched-domain:
[ 20.232434] domain 0: span 0f
[ 20.232435] groups: 04 08 01 02
[ 20.232437] domain 1: span 0f
[ 20.232438] groups: 0f
[ 20.232439] CPU3 attaching sched-domain:
[ 20.232440] domain 0: span 0f
[ 20.232441] groups: 08 01 02 04
[ 20.232443] domain 1: span 0f
[ 20.232444] groups: 0f
[ 20.232688] net_namespace: 120 bytes
[ 20.233045] Time: 8:30:48 Date: 04/22/08
[ 20.233068] NET: Registered protocol family 16
[ 20.233209] ACPI: bus type pci registered
[ 20.233267] PCI: Using configuration type 1
[ 20.236916] ACPI: EC: Look up EC in DSDT
[ 20.240681] ACPI: Interpreter enabled
[ 20.240685] ACPI: (supports S0 S1 S3 S4 S5)
[ 20.240700] ACPI: Using IOAPIC for interrupt routing
[ 20.240944] Error attaching device data
[ 20.240949] Error attaching device data
[ 20.240953] Error attaching device data
[ 20.240958] Error attaching device data
[ 20.247076] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 20.247273] pci 0000:00:12.0: set SATA to AHCI mode
[ 20.248469] PCI: Transparent bridge - 0000:00:14.4
[ 20.248495] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 20.248716] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE2._PRT]
[ 20.248807] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCE5._PRT]
[ 20.248912] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0PC._PRT]
[ 20.251493] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 *5 7 10 11 12 14 15)
[ 20.251607] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 10 11 12 14 *15)
[ 20.251722] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 *10 11 12 14 15)
[ 20.251835] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *10 11 12 14 15)
[ 20.251950] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 10 11 12 14 15) *0, disabled.
If I am accurate... It would be 26 secs - 19. To me it does seem like 7 to 10 secs before login screen is coming up (boots faster then my vista). I added concurrency=shell & got away with it, good to have it back in hardy, missed it in gutsy. I want to add one other thing if you look at my kernel parameter it is NOT using writeback for ext3 this would accelerate it much more, but I don't want to bork my Ultimate Edition 1.7 (which resides on the same disk).
Most likely I will have to spend time working on a tweaking guide for Ultimate Edition 1.8 I thought I would revise this to display Ultimate Edition 2.0 as well.
Ultimate Edition 2.0 (unreleased):
Ultimate Edition 2.0 tweaked:
UPDATE:
Welcome aboard EXT4 & Ultimate Edition 2.2
Edit 05/25/10:
Got a Adata 32 GB SSD, wow what a difference it makes. Flashed it.
TheeMahn