Choose style:

Author Topic: Boot up Time question  (Read 521 times)

0 Members and 1 Guest are viewing this topic.

Offline stevesveryown

  • Member
  • ***
  • Posts: 113
  • Karma: 23
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 8 & Peppermint 9
Boot up Time question
« on: April 22, 2018, 04:27:58 pm »
Hi all,

I've seen several postings from months ago with no resolve.  I have a nice modern system that that has plenty of oomph.  It takes 63 seconds to boot up.  Not horrible in the scheme of things but slower than I expect.  So far I reduced my bios splash screen time and grub time down to 3 seconds each.  Here is my results when I run systemd-analyze and systemd-analyze blame:

Spoiler (click here to view / hide)
systemd-analyze
Startup finished in 14.748s (kernel) + 39.545s (userspace) = 54.293s
[close]


Spoiler (click here to view / hide)
13.814s dev-sda1.device
         11.284s ntp.service
         10.909s keyboard-setup.service
          9.749s systemd-udevd.service
          8.740s NetworkManager-wait-online.service
          3.996s snapd.service
          3.827s mintsystem.service
          3.667s apparmor.service
          3.661s run-rpc_pipefs.mount
          3.276s udisks2.service
          2.452s mnt-wwn\x2d0x5000c50044649282\x2dpart1.mount
          2.424s NetworkManager.service
          2.269s systemd-sysctl.service
          2.191s grub-common.service
          2.069s nmbd.service
          2.038s ModemManager.service
          1.965s samba-ad-dc.service
          1.875s vboxdrv.service
          1.828s upower.service
          1.719s accounts-daemon.service
          1.331s systemd-modules-load.service
          1.295s dev-mqueue.mount
          1.262s dev-hugepages.mount
          1.261s sys-kernel-debug.mount
          1.139s colord.service
[close]

I'm not sure what the ntp.service or the keyboard-setup.service does.  I didn't see those on anyone else's output.  Could the ntp be because I am running Plex?  As far as keyboard I am using a usb type.  VinDSL you seem to be the spped guru here, what can I do?
Thanks!

Steve

My main machine:
AMD FX-8320 Piledriver (Vishera) 3.5GHz (4.1GHz turbo) (Eight Core) AM3+ 8MB Cache
AMD Black Edition Copper HeatPipe EXTRA QUIET fan
NVIDIA GeForce GT 730
ASUS SABERTOOTH 990FX AM3+, SLI & Cross Fire, SATA3, USB 3.0
16GB (2x8GB) PC17000 DDR3 2133 Dual Channel (high p

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1080
  • Karma: 119
  • Peppermint7
    • View Profile
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: Boot up Time question
« Reply #1 on: April 22, 2018, 05:56:04 pm »
HDD?
I use a SSD and my default boot is 19 sec.
Get rid of apparmor if you are not using it as a server.
Also, get rid of samba if you don't need it.

Skickat från min SM-G900F via Tapatalk


Offline amlc

  • nOOb
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Re: Boot up Time question
« Reply #2 on: June 01, 2018, 12:15:17 pm »
How do I get rid of samba and other server-oriented software?
Have a good day and keep the great work!

Best wishes, Mateo.

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1080
  • Karma: 119
  • Peppermint7
    • View Profile
  • Peppermint version(s): Peppermint 7 Respin (64bit)
Re: Boot up Time question
« Reply #3 on: June 01, 2018, 04:37:31 pm »
Code: [Select]
sudo apt-get remove --purge apparmor

Have a look at this, if you want it faster
https://forum.peppermintos.com/index.php/topic,3700.msg62402.html#msg62402

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21242
  • Karma: 2391
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Boot up Time question
« Reply #4 on: June 01, 2018, 05:53:03 pm »
And if you're not using samba (sharing files to a Windows PC)
Code: [Select]
sudo apt-get remove samba system-config-samba
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Online zebedeeboss

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2461
  • Karma: 483
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): Peppermint 9 x64
Re: Boot up Time question
« Reply #5 on: June 02, 2018, 11:41:55 am »
Hi all,

I've seen several postings from months ago with no resolve.  I have a nice modern system that that has plenty of oomph.  It takes 63 seconds to boot up.  Not horrible in the scheme of things but slower than I expect.  So far I reduced my bios splash screen time and grub time down to 3 seconds each.  Here is my results when I run systemd-analyze and systemd-analyze blame:

Spoiler (click here to view / hide)
systemd-analyze
Startup finished in 14.748s (kernel) + 39.545s (userspace) = 54.293s
[close]


Spoiler (click here to view / hide)
13.814s dev-sda1.device
         11.284s ntp.service
         10.909s keyboard-setup.service
          9.749s systemd-udevd.service
          8.740s NetworkManager-wait-online.service
          3.996s snapd.service
          3.827s mintsystem.service
          3.667s apparmor.service
          3.661s run-rpc_pipefs.mount
          3.276s udisks2.service
          2.452s mnt-wwn\x2d0x5000c50044649282\x2dpart1.mount
          2.424s NetworkManager.service
          2.269s systemd-sysctl.service
          2.191s grub-common.service
          2.069s nmbd.service
          2.038s ModemManager.service
          1.965s samba-ad-dc.service
          1.875s vboxdrv.service
          1.828s upower.service
          1.719s accounts-daemon.service
          1.331s systemd-modules-load.service
          1.295s dev-mqueue.mount
          1.262s dev-hugepages.mount
          1.261s sys-kernel-debug.mount
          1.139s colord.service
[close]

I'm not sure what the ntp.service or the keyboard-setup.service does.  I didn't see those on anyone else's output.  Could the ntp be because I am running Plex?  As far as keyboard I am using a usb type.  VinDSL you seem to be the spped guru here, what can I do?

I am going to take a guess and say this is your machine going through its boot up routine.  Do you multiboot?

What is the time from grub to system ready?

I have similar startup times to yours from cold boot.  Big desktop machines will be slower than laptops.  My win 10 lappy cold boots in 10 secs.

From choosing Peppermint in the grub menu. System is ready in under 5 secs.

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P9 x64 Desktop - Intel(R) Core(TM) i7-6700K @ 4.00GHz - 32Gb RAM - NVIDIA GTX1060 6Gb - 2 x 27 " 4k 3840x2160
x64 Laptop - Intel(R) Core i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline stevesveryown

  • Member
  • ***
  • Posts: 113
  • Karma: 23
  • Peppermint Fan
    • View Profile
    • stevesveryown
  • Peppermint version(s): Peppermint 8 & Peppermint 9
Re: Boot up Time question
« Reply #6 on: June 03, 2018, 10:01:10 am »

I am going to take a guess and say this is your machine going through its boot up routine.  Do you multiboot?

What is the time from grub to system ready?

I have similar startup times to yours from cold boot.  Big desktop machines will be slower than laptops.  My win 10 lappy cold boots in 10 secs.

From choosing Peppermint in the grub menu. System is ready in under 5 secs.

Regards Zeb...

No dual booting, straight Peppermint on my desktop, 45 seconds from grub to logon screen.  I guess in the grand scheme of things 45 seconds shouldn't be a worry.  My pc is left on most of the time anyway.

Thanks Zeb.
Thanks!

Steve

My main machine:
AMD FX-8320 Piledriver (Vishera) 3.5GHz (4.1GHz turbo) (Eight Core) AM3+ 8MB Cache
AMD Black Edition Copper HeatPipe EXTRA QUIET fan
NVIDIA GeForce GT 730
ASUS SABERTOOTH 990FX AM3+, SLI & Cross Fire, SATA3, USB 3.0
16GB (2x8GB) PC17000 DDR3 2133 Dual Channel (high p

Online zebedeeboss

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2461
  • Karma: 483
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): Peppermint 9 x64
Re: Boot up Time question
« Reply #7 on: June 03, 2018, 10:15:06 am »
Do you have swap enabled?  If so, Is the UUID the same in fstab as it is in the output of
Code: [Select]
blkid
Else ignore

Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P9 x64 Desktop - Intel(R) Core(TM) i7-6700K @ 4.00GHz - 32Gb RAM - NVIDIA GTX1060 6Gb - 2 x 27 " 4k 3840x2160
x64 Laptop - Intel(R) Core i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080