Jump to content


systemd-analyze

boot time analyze plot

  • Please log in to reply
48 replies to this topic

#1 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,927 posts

Posted 01 February 2014 - 09:57 PM

I keep finding out really neat things about systemd. The first was how journalctl shows system logs in a much simpler way than browsing logs.
Now I just found the systemd-analyze function to quickly show boot time.
roger@brain:~$ systemd-analyze
Startup finished in 3.742s (kernel) + 7.600s (userspace) = 11.343s
Pretty fast and I haven't even tried to optimise it.
You can also get a graphical depiction like the old bootchart with:
$ systemd-analyze plot > plot.svg
I won't post mine because it's huge, but it showed it could save another 4 seconds off userspace time if it wasn't waiting for ntp.
Cool stuff! :thumbsup: B)
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 02 February 2014 - 12:30 AM

I am also a big fan of systemd. Here are my results:
 comhack@Cerberus ~ % systemd-analyze
Startup finished in 1.876s (kernel) + 7.309s (userspace) = 9.185s

comhack@Cerberus ~ % systemd-analyze blame
1.663s systemd-logind.service
1.252s lm_sensors.service
1.207s cpupower.service
1.182s rpcbind.service
1.055s ntpd.service
933ms urxvtd@comhack.service
760ms nfsd.service
736ms systemd-fsck@dev-disk-by\x2duuid-3067b591\x2d934e\x2d4c73\x2da4a7\x2de5d9da6c267a.service
664ms systemd-fsck@dev-disk-by\x2duuid-cb0d6b0f\x2d1c2a\x2d46c8\x2d99eb\x2dbbe4e1bcb1b5.service
628ms systemd-fsck@dev-disk-by\x2duuid-3fc84665\x2d73ed\x2d46ed\x2da4c6\x2d31d4ce2bc1b7.service
603ms kmod-static-nodes.service
590ms sys-kernel-debug.mount
588ms dev-hugepages.mount
574ms systemd-modules-load.service
546ms dev-mqueue.mount
518ms systemd-vconsole-setup.service
494ms alsa-restore.service
443ms systemd-tmpfiles-clean.service
408ms systemd-udev-trigger.service
344ms polkit.service
317ms systemd-remount-fs.service
312ms systemd-sysctl.service
290ms tmp.mount
246ms user@1000.service
213ms systemd-tmpfiles-setup-dev.service
111ms home.mount
78ms systemd-user-sessions.service
70ms systemd-random-seed.service
67ms systemd-journal-flush.service
55ms systemd-tmpfiles-setup.service
47ms backup.mount
43ms udisks.service
36ms systemd-update-utmp.service
24ms dev-disk-by\x2duuid-bc069bca\x2d6b4d\x2d4174\x2db6e4\x2d9bf8ece14ae7.swap
19ms MEDIA.mount
15ms systemd-udevd.service
2ms network.service
1ms sys-kernel-config.mount
1ms srv-nfs4-MEDIA.mount
comhack@Cerberus ~ % 

Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 02 February 2014 - 08:01 AM

Here is mine from my newly installed ssd,

Quote

[11:18][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 5.128s (kernel) + 13.117s (userspace) = 18.246s

Hmm. Not as fast as you guys. :hmm:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#4 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,927 posts

Posted 02 February 2014 - 08:14 AM

View Postabarbarian, on 02 February 2014 - 08:01 AM, said:

Hmm. Not as fast as you guys. :hmm:
Do the blame or plot thing to see what's taking time in userspace. Mine was ntp so would be similar to SB's otherwise.
5.135s ntp.service

registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#5 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 02 February 2014 - 08:24 AM

Hmm. Looks like I certainly have a unique Arch os. :hysterical:

Quote

[11:34][bloodaxe@longship ~]$ systemd-analyze blame
11.672s dhcpcd@eth0.service
   415ms media.mount
    77ms user@1000.service
    71ms systemd-udev-trigger.service
    70ms kmod-static-nodes.service
    62ms systemd-sysctl.service
    61ms systemd-vconsole-setup.service
    60ms systemd-fsck@dev-disk-by\x2duuid-65C5330150F0B7C3.service
    57ms dev-hugepages.mount
    57ms dev-mqueue.mount
    57ms sys-kernel-debug.mount
    48ms sys-kernel-config.mount
    42ms systemd-logind.service
    35ms systemd-fsck-root.service
    32ms systemd-tmpfiles-clean.service
    19ms systemd-tmpfiles-setup-dev.service
    18ms ntpd.service
    15ms systemd-tmpfiles-setup.service
    13ms systemd-journal-flush.service
    12ms alsa-restore.service
    11ms systemd-random-seed.service
9ms systemd-udevd.service
8ms systemd-update-utmp.service
lines 1-23...skipping...
11.672s dhcpcd@eth0.service
   415ms media.mount
    77ms user@1000.service
    71ms systemd-udev-trigger.service
    70ms kmod-static-nodes.service
    62ms systemd-sysctl.service
    61ms systemd-vconsole-setup.service
    60ms systemd-fsck@dev-disk-by\x2duuid-65C5330150F0B7C3.service
    57ms dev-hugepages.mount
    57ms dev-mqueue.mount
    57ms sys-kernel-debug.mount
    48ms sys-kernel-config.mount
    42ms systemd-logind.service
    35ms systemd-fsck-root.service
    32ms systemd-tmpfiles-clean.service
    19ms systemd-tmpfiles-setup-dev.service
    18ms ntpd.service
    15ms systemd-tmpfiles-setup.service
    13ms systemd-journal-flush.service
    12ms alsa-restore.service
    11ms systemd-random-seed.service
9ms systemd-udevd.service
8ms systemd-update-utmp.service
7ms systemd-user-sessions.service
5ms tmp.mount
5ms systemd-remount-fs.service
lines 1-26...skipping...
11.672s dhcpcd@eth0.service
   415ms media.mount
    77ms user@1000.service
    71ms systemd-udev-trigger.service
    70ms kmod-static-nodes.service
    62ms systemd-sysctl.service
    61ms systemd-vconsole-setup.service
    60ms systemd-fsck@dev-disk-by\x2duuid-65C5330150F0B7C3.service
    57ms dev-hugepages.mount
    57ms dev-mqueue.mount
    57ms sys-kernel-debug.mount
    48ms sys-kernel-config.mount
    42ms systemd-logind.service
    35ms systemd-fsck-root.service
    32ms systemd-tmpfiles-clean.service
    19ms systemd-tmpfiles-setup-dev.service
    18ms ntpd.service
    15ms systemd-tmpfiles-setup.service
    13ms systemd-journal-flush.service
    12ms alsa-restore.service
    11ms systemd-random-seed.service
9ms systemd-udevd.service
8ms systemd-update-utmp.service
7ms systemd-user-sessions.service
5ms tmp.mount
5ms systemd-remount-fs.service
1ms sys-fs-fuse-connections.mount
~

My system should be faster than Josh's.

As for example,

Mine = 42ms systemd-logind.service
Josh  = 1.663s systemd-logind.service
Mine = 62ms systemd-sysctl.service
Josh = 312ms systemd-sysctl.service
However I seem to have a hold up or two,

Mine = 11.672s dhcpcd@eth0.service
Josh = don't seem to have this

Mine = 415ms media.mount
Josh = 19ms MEDIA.mount


Now why my output shows three times I have no idea. The results are interesting though. I guess I need to brush up on optimizing my system.
I'll post the output of my system running on the F3 hdd for a comparison.

:breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#6 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 02 February 2014 - 08:41 AM

Quote

60 GB SSD

[11:18][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 5.128s (kernel) + 13.117s (userspace) = 18.246s

500 GB F3 HDD

[12:27][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 7.296s (kernel) + 16.808s (userspace) = 24.105s

Second try with 500 GB F3

[12:43][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 5.268s (kernel) + 12.859s (userspace) = 18.127s


True to form my system is throwing up strange results. After " systemd-analyze blame" I end up with "lines 1-31/31(END)" but no standard prompt. An the results are odd.




Faster = 7.515s dhcpcd@eth0.service
Miles slower =  3.539s systemd-fsck@dev-disk-by\x2duuid-d7b2d735\x2d3c66\x2d4e53\x2d92
  Miles slower = 2.533s systemd-logind.service

I think the system did a fsck check on a drive which may explain some results.

All is well though as me system is still acting strangely. Who needs normal. o:)

Here is the output from my second try with the F3

Quote

6.039s dhcpcd@eth0.service
  1.697s media.mount
  1.640s systemd-fsck@dev-disk-by\x2duuid-f407013b\x2dd8e3\x2d4f7b\x2db
  1.635s systemd-fsck@dev-disk-by\x2duuid-6332a101\x2dc1e5\x2d47a4\x2d9
  1.060s systemd-logind.service
   646ms systemd-fsck@dev-disk-by\x2duuid-d7b2d735\x2d3c66\x2d4e53\x2d9
  6.039s dhcpcd@eth0.service
  6.039s dhcpcd@eth0.service
  1.697s media.mount
  1.640s systemd-fsck@dev-disk-by\x2duuid-f407013b\x2dd8e3\x2d4f7b\x2db
  1.635s systemd-fsck@dev-disk-by\x2duuid-6332a101\x2dc1e5\x2d47a4\x2d9
  1.060s systemd-logind.service
   646ms systemd-fsck@dev-disk-by\x2duuid-d7b2d735\x2d3c66\x2d4e53\x2d9
   456ms systemd-fsck@dev-disk-by\x2duuid-65C5330150F0B7C3.service
   452ms systemd-udev-trigger.service
   410ms kmod-static-nodes.service
   386ms dev-hugepages.mount
   386ms sys-kernel-debug.mount
   385ms dev-mqueue.mount
   376ms boot.mount
   326ms systemd-tmpfiles-setup.service
   321ms systemd-vconsole-setup.service
   298ms systemd-user-sessions.service
   288ms systemd-sysctl.service
   276ms home.mount
   247ms sys-kernel-config.mount
   246ms systemd-remount-fs.service
   222ms user@1000.service
   194ms systemd-random-seed.service
   188ms var.mount
   125ms dev-disk-by\x2duuid-0549b8b3\x2d2e81\x2d478b\x2d96ae\x2d195389
   123ms ntpd.service
    98ms systemd-tmpfiles-setup-dev.service
    55ms systemd-udevd.service
    46ms systemd-update-utmp.service
    22ms systemd-journal-flush.service
    15ms tmp.mount
7ms alsa-restore.service
5ms sys-fs-fuse-connections.mount

Almost every result is different to the first try with the F3 (not shown). It would seem that every boot is different, as any cobbler would tell you. Also a slow ssd does not boot faster than a standard hard drive.
What a load of old cobblers. :Laughing:

Edited by abarbarian, 02 February 2014 - 08:57 AM.

Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#7 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 02 February 2014 - 10:17 AM

Well first off, the output will not end with a command prompt unless you hit q afterwards. The reason being is so you can scroll the output if need be. Secondly if you do not remove unneeded services, your boot will be much slower. Lastly, unless you followed the wiki entry for SSDs, aligned your partitions and used the trim option; your SSD will not be any faster than your sata drive.
https://wiki.archlin...SSD_Performance
https://wiki.archlin...SD_Benchmarking
https://wiki.archlin...oot_Performance
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#8 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 02 February 2014 - 11:27 AM

View Postsecuritybreach, on 02 February 2014 - 10:17 AM, said:

Lastly, unless you followed the wiki entry for SSDs, aligned your partitions and used the trim option; your SSD will not be any faster than your sata drive.
https://wiki.archlin...SSD_Performance
https://wiki.archlin...SD_Benchmarking
https://wiki.archlin...oot_Performance


Quote

[15:19][root@longship bloodaxe]# blockdev --getalignoff /dev/sdf1   
0
[15:20][root@longship bloodaxe]# hdparm -I /dev/sdf |grep TRIM
   * Data Set Management TRIM supported (limit 1 block)
[15:20][root@longship bloodaxe]#

Fstab entry

/dev/sdf1  /    ext4   defaults,noatime,discard   0  1


Well as per the wiki me ssd is set up ok. An it is still not noticeably faster at boot than me hdd. Work wise it is certainly faster.
Yup I do need to look into setting me system up but am a tad under pressure from the bride at the moment. :shifty:

Edited by abarbarian, 02 February 2014 - 11:28 AM.

Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#9 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,927 posts

Posted 02 February 2014 - 06:56 PM

Another good guide here:
http://freedesktop.o.../Optimizations/

Quote

systemd can already offer boot times of < 1s for the Core OS (userspace only, i.e. only the bits controlled by systemd) and < 2s for a complete up-to-date desktop environments on simpler (but modern, i.e. SSDs) laptops if configured properly
:o
More tweaking is in order, boys! ;)

Those Arch wiki guides on SSDs are possibly the best around.
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#10 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,927 posts

Posted 03 February 2014 - 11:55 AM

Sans ntp -
Startup finished in 3.608s (kernel) + 4.851s (userspace) = 8.460s
B)

Later that same evening, removed lvm-related stuff -
systemctl mask lvm2-activation-early.service
systemctl mask lvm2-activation.service
Startup finished in 3.542s (kernel) + 3.724s (userspace) = 7.266s

Still a few more I can hide but, would I even notice? :)
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#11 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 03 February 2014 - 04:31 PM

Faster than a speeding bullet mate. You should change your nic to The Flash. :worthy:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#12 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 30 May 2014 - 08:28 AM

Quote

&#9584;&#9472;><(((“>$ systemd-analyze   30/05/14
Startup finished in 6.876s (kernel) + 15.271s (userspace) = 22.147s

Well I made a few tweaks to systemd and thankfully I still have a working system. This is baffling the heck out of me as I get a different time for startup and userspace every time.
My findings are not very scientific as I have made some changes to my set up. In that I now can start the pc and go straight into a grub menu instead of having to use the boot menu. An I have sucessfully added a W7 to grub that works. So no more fiddling about and waiting. I can just power up and either run to Arch or hit W7 in the grub menu.

:breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#13 OFFLINE   ichase

ichase

    Chasing the Penguin

  • Forum MVP
  • 1,835 posts

Posted 30 May 2014 - 10:41 AM

dhcpcd@eth0.service is a beast.  Once I got my laptop loaded on the SSD and started running on WiFi, I disabled that service because if memory serves me, I was registering something like 13 seconds for that one service alone.  I know there are those on here that are not fans of systemd, but this penguin is DEFINITELY a fan.  ;)
Ian Chase

Try Parted Magic The must have tool for any linux user's tool box.  (Contains Gparted, wifi support, Clonezilla, SuperGrubDisk/2, plop bootloader and more!!!)
CNI Radio

"I'm in repair.............I'm not together, but I'm getting there"
- John Mayer


Registered Linux User:  526317 10/22/2010
  Posted Image

#14 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 30 May 2014 - 12:35 PM

Well if your using ethernet, you may as well use a static ip anyway.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#15 OFFLINE   ichase

ichase

    Chasing the Penguin

  • Forum MVP
  • 1,835 posts

Posted 30 May 2014 - 05:21 PM

After the incorporation of systemd, I did not know how to make a static IP.  The server which is still under inet has a static IP.  Has been a LONG TIME since I updated the server because "If it ain't broke, don't fix it"  :)  Though, that theory is about to change with needing to hit it remotely.  ;)
Ian Chase

Try Parted Magic The must have tool for any linux user's tool box.  (Contains Gparted, wifi support, Clonezilla, SuperGrubDisk/2, plop bootloader and more!!!)
CNI Radio

"I'm in repair.............I'm not together, but I'm getting there"
- John Mayer


Registered Linux User:  526317 10/22/2010
  Posted Image

#16 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 31 May 2014 - 01:31 AM

Here is the custom systemd service I made called network.service and located at /etc/systemd/system/network.service :
[Unit]
Description=Wired Static IP Connectivity
Wants=network.target
Before=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/network
ExecStart=/sbin/ip link set dev enp3s0 up
ExecStart=/sbin/ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev enp3s0
ExecStart=/sbin/ip route add default via 192.168.1.1

ExecStop=/sbin/ip addr flush dev enp3s0
ExecStop=/sbin/ip link set dev enp3s0 down

[Install]
WantedBy=multi-user.target

Replace the IP you want, your router IP and also the device label. Then systemctl enable network.service and disable the dhcpcd@eth0.service  service.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#17 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 18 June 2014 - 07:08 AM

View Postsecuritybreach, on 31 May 2014 - 01:31 AM, said:

Here is the custom systemd service I made called network.service and located at /etc/systemd/system/network.service :
[Unit]
Description=Wired Static IP Connectivity
Wants=network.target
Before=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/conf.d/network
ExecStart=/sbin/ip link set dev enp3s0 up
ExecStart=/sbin/ip addr add 192.168.1.2/24 broadcast 192.168.1.255 dev enp3s0
ExecStart=/sbin/ip route add default via 192.168.1.1

ExecStop=/sbin/ip addr flush dev enp3s0
ExecStop=/sbin/ip link set dev enp3s0 down

[Install]
WantedBy=multi-user.target

Replace the IP you want, your router IP and also the device label. Then systemctl enable network.service and disable the dhcpcd@eth0.service  service.

Would that work for me ? I am on AOL using their router, an as far as I know I do not have a static IP addy. :hmm:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#18 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 18 June 2014 - 10:07 AM

Well I use that getting a static IP from my router, not from my ISP. The router gets the dynamic IP from the ISP.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#19 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 18 June 2014 - 10:25 AM

Here is my new systemd-analyze after setting everything up:

Posted Image
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#20 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 18 June 2014 - 07:55 PM

Neat results. :Laie_95:  I'll have to look into the IP/router thingy next week. :th_1sm330office-work:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#21 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,927 posts

Posted 18 June 2014 - 08:32 PM

Mine is still 7.5 secs after 6 months from installing. But then I didn't set AHCI when I installed it and the Vertex2 is about 4 years old now. Many improvements have happened then.
I may have to lash out for one of these new-fangled SSDs soon. The Samsung 840 series is often in the top of the performance charts at Tom's Hardware.
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#22 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 19 June 2014 - 07:25 AM

You need a 240/256 GB ssd or above to see the fastest results. Josh would not even have time to blink at start up if he had one instead of his slow 120 GB. :tease:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#23 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 15 July 2014 - 08:14 AM

Here are the results of my old set up.

Quote

60 GB SSD

[11:18][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 5.128s (kernel) + 13.117s (userspace) = 18.246s

500 GB F3 HDD

[12:27][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 7.296s (kernel) + 16.808s (userspace) = 24.105s

Second try with 500 GB F3

[12:43][bloodaxe@longship ~]$ systemd-analyze
Startup finished in 5.268s (kernel) + 12.859s (userspace) = 18.127s

An here are the results of my new super dooper four core cpu and me much faster 120 GB ssd (not as good as 240 GB) and a totally clean fresh standard install of Arch 64. Now you would expect lightening fast results would you not after all that effort.

Quote

$ systemd-analyze
Startup finished in 6.522s (kernel) + 1min 30.279s (userspace) = 1min 36.802s

Impressive eh ! :Laughing:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image

#24 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,625 posts

Posted 15 July 2014 - 10:22 AM

You need to run
systemd-analyze blame
to see why it is taking so long. You should have a 1-2 second boot time with an ssd. Also, does your drive support trim and did you follow the wiki entry for ssds?
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#25 OFFLINE   abarbarian

abarbarian

    Thread Kahuna

  • Forum MVP
  • 5,735 posts

Posted 15 July 2014 - 08:23 PM

Well I have sorted a few small glitches I have made in me new install and I tried a systemd-analyze and this is what I got. :Laughing:

$ systemd-analyze
Startup finished in 6.940s (kernel) + 1min 30.366s (userspace) = 1min 37.306s


Quote

Also, does your drive support trim and did you follow the wiki entry for ssds?



He he you asked me that same Q for the last ssd I used. Same A=yes. :breakfast:



Quote

1min 50.954s man-db.service
   109ms systemd-logind.service
    96ms systemd-fsck@dev-disk-by\x2duuid-57d782bb\x2dee4d\x2d430f\x2d92
    94ms systemd-vconsole-setup.service
    92ms alsa-restore.service
    91ms systemd-fsck@dev-disk-by\x2duuid-1e0a60e6\x2d465a\x2d49fd\x2d9e
    87ms dhcpcd.service
    62ms systemd-rfkill@rfkill0.service
    49ms systemd-update-utmp.service
    47ms systemd-udev-trigger.service
    46ms logrotate.service
    42ms user@1000.service
    30ms systemd-journal-flush.service
    25ms tmp.mount
    23ms dev-hugepages.mount
    21ms dev-mqueue.mount
    21ms shadow.service
    21ms home.mount
    20ms systemd-remount-fs.service
    20ms systemd-tmpfiles-setup-dev.service
    19ms systemd-random-seed.service
    19ms sys-kernel-config.mount
    18ms var.mount
17ms sys-kernel-debug.mount
    16ms systemd-tmpfiles-setup.service
    11ms systemd-sysctl.service
    10ms kmod-static-nodes.service
  92ms alsa-restore.service
    91ms systemd-fsck@dev-disk-by\x2duuid-1e0a60e6\x2d465a\x2d49fd\x2d9e
    87ms dhcpcd.service
    62ms systemd-rfkill@rfkill0.service
    49ms systemd-update-utmp.service
    47ms systemd-udev-trigger.service
    46ms logrotate.service
    42ms user@1000.service
    30ms systemd-journal-flush.service
    25ms tmp.mount
    23ms dev-hugepages.mount
    21ms dev-mqueue.mount
    21ms shadow.service
    21ms home.mount
    20ms systemd-remount-fs.service
    20ms systemd-tmpfiles-setup-dev.service
    19ms systemd-random-seed.service
    19ms sys-kernel-config.mount
    18ms var.mount
    17ms sys-kernel-debug.mount
    16ms systemd-tmpfiles-setup.service
    11ms systemd-sysctl.service
    10ms kmod-static-nodes.service
9ms systemd-tmpfiles-clean.service
8ms systemd-user-sessions.service
5ms systemd-udevd.service
4ms sys-fs-fuse-connections.mount

here is the miscreant,

Quote

1min 50.954s man-db.service

Funny I never had that service in my last look at blame.Of to see what it is. :breakfast:
Install ARCH
You'll never need to install it again
"I did and I'm really happy"

Posted Image~~~~~~~~~~~~~Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users