LMDE boot process so slow.. suggestion to speedup?

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

LMDE boot process so slow.. suggestion to speedup?

Post by lahirdenganselamat »

I think that debian based supposed to be faster than ubuntu based, but somehow, my boot process took soo long.. dmesg report 73sec, and add the KDE load, from grub to usable desktop, it need ~2 minutes.. sigh.. I really need suggestion here..

this is my inxi result:

Code: Select all

aragorn@aragorn-1215b ~ $ inxi -Fx
System:    Host: aragorn-1215b Kernel: 3.2.0-3-amd64 x86_64 (64 bit, gcc: 4.6.3) 
           Desktop: KDE 4.8.4 (Qt 4.8.2) Distro: Linux Mint Debian Edition
Machine:   System: ASUSTeK product: 1215B version: x.x
           Mobo: ASUSTeK model: 1215B version: x.xx Bios: American Megatrends version: 0503 date: 11/30/2011
CPU:       Dual core AMD E-350 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 sse4a ssse3 svm) bmips: 6400.5 
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
Graphics:  Card: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] bus-ID: 00:01.0 
           X.Org: 1.12.3.902 driver: fglrx Resolution: 1366x768@60.0hz 
           GLX Renderer: AMD Radeon HD 6310 Graphics GLX Version: 4.2.11762 - CPC Direct Rendering: Yes
Audio:     Card-1: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI Audio [Radeon HD 6250/6310] driver: snd_hda_intel bus-ID: 00:01.1
           Card-2: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) driver: snd_hda_intel bus-ID: 00:14.2
           Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network:   Card: Broadcom BCM4313 802.11b/g/n Wireless LAN Controller driver: brcmsmac bus-ID: 01:00.0
           IF: wlan0 state: up mac: 48:5d:60:b5:e8:a2
Drives:    HDD Total Size: 320.1GB (57.3% used) 1: id: /dev/sda model: ST9320325AS size: 320.1GB 
Partition: ID: / size: 18G used: 13G (74%) fs: ext4 ID: /home size: 46G used: 31G (71%) fs: ext4 
           ID: swap-1 size: 3.14GB used: 0.00GB (0%) fs: swap 
Sensors:   System Temperatures: cpu: 72.8C mobo: N/A gpu: 71.00C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 144 Uptime: 3:11 Memory: 1026.8/3569.2MB Runlevel: 2 Gcc sys: 4.7.1 Client: Shell inxi: 1.8.17 
aragorn@aragorn-1215b ~ $ 
and this part of my dmesg:

Code: Select all

[    7.308269] Switching to clocksource tsc
[    7.452259] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    7.500342] ata1.00: ATA-8: ST9320325AS, 0003SDM1, max UDMA/133
[    7.500358] ata1.00: 625142448 sectors, multi 16: LBA48 NCQ (depth 31/32)
[    7.503125] ata1.00: configured for UDMA/133
[    7.503670] scsi 0:0:0:0: Direct-Access     ATA      ST9320325AS      0003 PQ: 0 ANSI: 5
[    7.516119] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[    7.516238] sd 0:0:0:0: [sda] Write Protect is off
[    7.516244] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    7.516294] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    7.630433]  sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
[    7.633503] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.638100] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    8.354221] usb 2-4: New USB device found, idVendor=13d3, idProduct=5702
[    8.354235] usb 2-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    8.354245] usb 2-4: Product: USB2.0 UVC VGA WebCam
[    8.354252] usb 2-4: Manufacturer: Azurewave
[    8.354259] usb 2-4: SerialNumber: 200901010001
[    8.628268] usb 3-5: new full-speed USB device number 2 using ohci_hcd
[    8.804529] usb 3-5: New USB device found, idVendor=13d3, idProduct=3315
[    8.804538] usb 3-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    8.804542] usb 3-5: Product: Bluetooth module
[    8.804546] usb 3-5: Manufacturer: Broadcom Corp
[    8.804549] usb 3-5: SerialNumber: 74F06DC14669
[    9.313761] uvesafb: (C) 1988-2010, AMD Technologies Inc. , WRESTLER, 01.00, OEM: AMD ATOMBIOS, VBE v3.0
[    9.410410] uvesafb: VBIOS/hardware supports DDC2 transfers
[    9.757286] uvesafb: monitor limits: vf = 60 Hz, hf = 48 kHz, clk = 71 MHz
[    9.757763] uvesafb: scrolling: redraw
[    9.757775] uvesafb: request region 0x3c0-0x3e0 failed
[    9.758380] uvesafb: probe of uvesafb.0 failed with error -5
[    9.762971] vga16fb: initializing
[    9.762979] vga16fb: mapped to 0xffff8800000a0000
[    9.762990] checking generic (c0000000 300000) vs hw (a0000 10000)
[    9.763115] fbcon: VGA16 VGA (fb1) is primary device
[    9.763120] fbcon: Remapping primary device, fb1, to tty 1-63
[   10.204813] fb1: VGA16 VGA frame buffer device
[   10.759977] Btrfs loaded
[   11.089847] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   26.439343] udevd[407]: starting version 175
[   27.295543] ACPI: acpi_idle registered with cpuidle
[   27.317249] ACPI: AC Adapter [AC0] (off-line)
[   27.416213] ACPI: Battery Slot [BAT0] (battery present)
[   27.640750] powernow-k8: Found 1 AMD E-350 Processor (2 cpu cores) (version 2.20.00)
[   27.640906] powernow-k8:    0 : pstate 0 (1600 MHz)
[   27.640910] powernow-k8:    1 : pstate 1 (1280 MHz)
[   27.640914] powernow-k8:    2 : pstate 2 (800 MHz)
[   27.952358] Bluetooth: Core ver 2.16
[   27.952438] NET: Registered protocol family 31
[   27.952446] Bluetooth: HCI device and connection manager initialized
[   27.952457] Bluetooth: HCI socket layer initialized
[   27.952465] Bluetooth: L2CAP socket layer initialized
[   27.953076] Bluetooth: SCO socket layer initialized
[   27.960521] asus_wmi: ASUS WMI generic driver loaded
[   27.972161] Bluetooth: Generic Bluetooth USB driver ver 0.6
[   27.973267] usbcore: registered new interface driver btusb
[   27.994269] cfg80211: Calling CRDA to update world regulatory domain
[   28.016683] ACPI: resource piix4_smbus [io  0x0b00-0x0b07] conflicts with ACPI region SMRG [io 0xb00-0xb0f]
[   28.016696] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   28.039568] asus_wmi: Initialization: 0x0
[   28.039679] asus_wmi: BIOS WMI version: 0.9
[   28.039888] asus_wmi: SFUN value: 0x0
[   28.041729] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input6
[   28.047538] asus_wmi: Backlight controlled by ACPI video driver
[   28.060240] fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[   28.060249] Disabling lock debugging due to kernel taint
[   28.099172] SP5100 TCO timer: SP5100 TCO WatchDog Timer Driver v0.01
[   28.099384] SP5100 TCO timer: mmio address 0xbafe00 already in use
[   28.146726] [fglrx] Maximum main memory to use for locked dma buffers: 3414 MBytes.
[   28.147305] [fglrx]   vendor: 1002 device: 9802 count: 1
[   28.147868] [fglrx] ioport: bar 1, base 0xf000, size: 0x100
[   28.147892] pci 0000:00:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[   28.147901] pci 0000:00:01.0: setting latency timer to 64
[   28.148420] [fglrx] Kernel PAT support is enabled
[   28.148463] [fglrx] module loaded - fglrx 8.98.2 [Jul 27 2012] with 1 minors
[   28.232056] Linux media interface: v0.10
[   28.323610] Linux video capture interface: v2.00
[   28.358502] uvcvideo: Found UVC 1.00 device USB2.0 UVC VGA WebCam (13d3:5702)
[   28.377182] cfg80211: World regulatory domain updated:
[   28.377197] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   28.377208] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.377219] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   28.377228] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   28.377237] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.377247] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.379093] input: USB2.0 UVC VGA WebCam as /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4:1.0/input/input7
[   28.380376] usbcore: registered new interface driver uvcvideo
[   28.380387] USB Video Class driver (1.1.1)
[   28.619247] brcmsmac 0000:01:00.0: bus 1 slot 0 func 0 irq 7
[   28.619344] brcmsmac 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   28.619360] brcmsmac 0000:01:00.0: setting latency timer to 64
[   28.632245] psmouse serio1: synaptics: Touchpad model: 1, fw: 7.4, id: 0x1c0b1, caps: 0xd04733/0xa40000/0xa0400
[   28.706295] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input8
[   28.828124] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   28.832721] cfg80211: Calling CRDA for country: US
[   28.849264] cfg80211: Regulatory domain changed to country: US
[   28.849272] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   28.849278] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   28.849283] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   28.849288] cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.849293] cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.849298] cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.849302] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   28.918623] snd_hda_intel 0000:00:01.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19
[   28.918771] snd_hda_intel 0000:00:01.1: irq 43 for MSI/MSI-X
[   28.918835] snd_hda_intel 0000:00:01.1: setting latency timer to 64
[   29.051571] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
[   29.052123] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/sound/card0/input9
[   29.053419] snd_hda_intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   29.187883] input: HDA ATI SB Mic as /devices/pci0000:00/0000:00:14.2/sound/card1/input10
[   29.189371] input: HDA ATI SB Headphone as /devices/pci0000:00/0000:00:14.2/sound/card1/input11
[   31.845666] Adding 3066876k swap on /dev/sda2.  Priority:-1 extents:1 across:3066876k 
[   31.906381] EXT4-fs (sda1): re-mounted. Opts: (null)
[   32.647663] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   33.033706] device-mapper: uevent: version 1.0.3
[   33.033956] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[   33.315421] loop: module loaded
[   35.914006] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[   36.274618] fuse init (API version 7.17)
[   44.023870] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input12
[   44.350142] ieee80211 phy0: brcms_ops_config: change monitor mode: false (implement)
[   44.350162] ieee80211 phy0: brcms_ops_config: change power-save mode: false (implement)
[   44.350663] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   44.352817] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   44.630684] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   44.630698] Bluetooth: BNEP filters: protocol multicast
[   44.648382] Bluetooth: RFCOMM TTY layer initialized
[   44.648401] Bluetooth: RFCOMM socket layer initialized
[   44.648408] Bluetooth: RFCOMM ver 1.11
[   44.749585] lp: driver loaded but no devices found
[   44.808372] ppdev: user-space parallel port driver
[   46.471683] vboxdrv: Found 2 processor cores.
[   46.472814] vboxdrv: fAsync=0 offMin=0x390 offMax=0x1995
[   46.473523] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[   46.473528] vboxdrv: Successfully loaded version 4.2.0 (interface 0x001a0004).
[   46.723868] vboxpci: IOMMU not found (not registered)
[   46.842963] usbcore: registered new interface driver usbserial
[   46.843006] USB Serial support registered for generic
[   46.843934] usbcore: registered new interface driver usbserial_generic
[   46.843941] usbserial: USB Serial Driver core
[   47.352370] fglrx_pci 0000:00:01.0: irq 44 for MSI/MSI-X
[   47.354811] [fglrx] Firegl kernel thread PID: 3883
[   47.355375] [fglrx] Firegl kernel thread PID: 3884
[   47.355940] [fglrx] Firegl kernel thread PID: 3885
[   47.356330] [fglrx] IRQ 44 Enabled
[   53.645421] [fglrx] Gart USWC size:1116 M.
[   53.645433] [fglrx] Gart cacheable size:442 M.
[   53.645450] [fglrx] Reserved FB block: Shared offset:0, size:1000000 
[   53.645460] [fglrx] Reserved FB block: Unshared offset:fc81000, size:37f000 
[   53.645470] [fglrx] Reserved FB block: Unshared offset:17ff4000, size:c000 
[   60.667611] wlan0: authenticate with c0:c1:c0:2c:ca:11 (try 1)
[   60.692784] wlan0: authenticated
[   60.693556] wlan0: associate with c0:c1:c0:2c:ca:11 (try 1)
[   60.699009] wlan0: RX AssocResp from c0:c1:c0:2c:ca:11 (capab=0x21 status=0 aid=18)
[   60.699026] wlan0: associated
[   60.699507] ieee80211 phy0: brcms_ops_bss_info_changed: qos enabled: true (implement)
[   60.699534] ieee80211 phy0: brcmsmac: brcms_ops_bss_info_changed: associated
[   60.699548] ieee80211 phy0: changing basic rates failed: -22
[   60.699560] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 0 (implement)
[   60.701512] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   61.463371] ieee80211 phy0: brcms_ops_bss_info_changed: arp filtering: enabled true, count 1 (implement)
[   71.120032] wlan0: no IPv6 routers present
[   73.956972] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
aragorn@aragorn-1215b ~ $ 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
jjaythomas

Re: LMDE boot process so slow.. suggestion to speedup?

Post by jjaythomas »

I think that debian based supposed to be faster than ubuntu based, but somehow, my boot process took soo long.. dmesg report 73sec, and add the KDE load, from grub to usable desktop, it need ~2 minutes.. sigh.. I really need suggestion here..
When they/we say Debian is a faster system it is BUT in the context of running and resources used. As far as the 'Boot' process it self it is relativelly slower.
1. The most meaningful things you can do are use a Runtime manager (I like BUM, but I believe theirs one in the default LMDE install also) and turn off unneeded services (blutooth, cron, cups(printing), sane (Scanning), ect) if you don't use or use seldomlly then they'll only start/load as needed (OR NEVER!).
2. Besides that also modify startup and session apps ect.
3. May want to try lighter DE (Xfce, LXDE) or use a WM only solution (openbox, icewm ect.) tho won't speed up boot as much as think (boot is the system stuff mainly then a small percentage devoted to the DE/session) :roll:

Hopefully Debian will get some of the enhancements some other debian based distro already utilise (BFS scheduler sysmd (or similiar) for more concurrent processes happening in boot. :wink: Mint custom kernel? :roll:

J.Jay
User avatar
lahirdenganselamat
Level 4
Level 4
Posts: 420
Joined: Mon Oct 17, 2011 10:30 pm
Location: Yogyakarta

Re: LMDE boot process so slow.. suggestion to speedup?

Post by lahirdenganselamat »

thanks jjaythomas :D i tried BUM, disable some services, applied some tips from debian wiki and now I think my boot process is better :D
I've read several article about systemd, and when Debian remove the essential flag removed from sysvinit, I'll give it a try.. :D
Brian49

Re: LMDE boot process so slow.. suggestion to speedup?

Post by Brian49 »

You could also try instaling the package readahead-fedora. It's in the repositories. Don't be put off by the name; it works fine on a Debian-based system. It reduces my boot-time from over one minute to about 35 seconds, from hitting the power button to a working desktop.
jjaythomas

Re: LMDE boot process so slow.. suggestion to speedup?

Post by jjaythomas »

Thank You Brian :D
Forgot about that one (used on Xubuntu few years back) doesn't help much on current 'Buntu's Boxes'.
on LMDE (I use SWIFT Linux with Xfce so officially a LMDXish (mongrel) :oops: :twisted: Still shaves couple seconds from boot (still Xubuntu faster, but not by much) :mrgreen:

J.Jay
bigbenaugust

Re: LMDE boot process so slow.. suggestion to speedup?

Post by bigbenaugust »

Debian going systemd would be the best way... maybe after 7.0 goes gold, it will come to sid and testing and make it into LMDE.

I should look into readahead-fedora, though.
Locked

Return to “LMDE Archive”