Testing the Speed of my system

Kernels & Hardware, configuring network, installing services

Testing the Speed of my system

Postby dcihon » 2018-07-12 10:34

What do you think of using these commands to test the performance of a system:
Code: Select all
systemd-analyze critical-chain
systemd-analyze blame

Mine looks like this:
Code: Select all
cihonm@cihonm:/media/cdrom0$ systemd-analyze
Startup finished in 5.563s (kernel) + 32.257s (userspace) = 37.820s
graphical.target reached after 32.243s in userspace

Code: Select all
cihonm@cihonm:/media/cdrom0$ systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @32.243s
└─multi-user.target @32.243s
  └─exim4.service @28.361s +3.881s
    └─network-online.target @28.360s
      └─NetworkManager-wait-online.service @17.174s +11.186s
        └─NetworkManager.service @12.623s +4.550s
          └─dbus.service @12.314s
            └─basic.target @12.298s
              └─sockets.target @12.298s
                └─virtlogd-admin.socket @12.298s
                  └─sysinit.target @12.225s
                    └─haveged.service @12.225s
                      └─apparmor.service @10.349s +1.863s
                        └─local-fs.target @10.347s
                          └─home.mount @10.064s +282ms
                            └─systemd-fsck@dev-disk-by\x2duuid-1ee2b8d8\x2dab62\x2d4a09\x2d870a\x2d0c37e5308d5b.service @9.623s +417ms
                              └─dev-disk-by\x2duuid-1ee2b8d8\x2dab62\x2d4a09\x2d870a\x2d0c37e5308d5b.device @9.621s

Code: Select all
cihonm@cihonm:/media/cdrom0$ systemd-analyze blame
         48.470s apt-daily-upgrade.service
         30.178s apt-daily.service
         15.911s udisks2.service
         11.186s NetworkManager-wait-online.service
          8.986s tor@default.service
          8.621s certbot.service
          7.630s syslog-ng.service
          6.797s dev-sda6.device
          6.229s loadcpufreq.service
          4.899s libvirtd.service
          4.550s NetworkManager.service
          4.272s lm-sensors.service
          4.230s avahi-daemon.service
          4.022s networking.service
          3.881s exim4.service
          3.878s accounts-daemon.service
          3.530s vboxdrv.service
          3.362s keyboard-setup.service
          3.208s snapper-boot.service
          3.197s ModemManager.service
          3.129s autofs.service
          3.001s wpa_supplicant.service
          2.925s teamviewerd.service
          2.785s systemd-logind.service
          2.701s rtkit-daemon.service
          2.036s dev-loop0.device
          1.968s dev-loop3.device
          1.963s vpnagentd.service
          1.942s dev-loop2.device
          1.941s lightdm.service
          1.863s apparmor.service
          1.752s upower.service
          1.745s dev-loop1.device
          1.606s lvm2-monitor.service
          1.516s systemd-udevd.service
          1.500s colord.service
          1.357s snap-core-4206.mount
          1.289s snap-core-4407.mount
          1.287s snap-acestreamplayer-7.mount
          1.259s snap-core-4650.mount
          1.048s bluetooth.service
          983ms systemd-modules-load.service
           874ms ssh.service
           707ms binfmt-support.service
           685ms ebtables.service
           547ms run-rpc_pipefs.mount
           536ms systemd-journal-flush.service
           521ms alsa-restore.service
           502ms systemd-timesyncd.service
           495ms cpufrequtils.service
           494ms systemd-journald.service
           485ms systemd-tmpfiles-setup-dev.service
           450ms dev-mqueue.mount
           449ms dev-hugepages.mount
           438ms systemd-remount-fs.service
           420ms packagekit.service
           419ms sys-kernel-debug.mount
           417ms systemd-fsck@dev-disk-by\x2duuid-1ee2b8d8\x2dab62\x2d4a09\x2d870a\x2d0c37e5308d5b.service
           409ms resolvconf.service
           408ms systemd-sysusers.service
           357ms systemd-sysctl.service
           346ms rpcbind.service
           330ms proc-sys-fs-binfmt_misc.mount
           293ms plymouth-read-write.service
           282ms home.mount
           256ms systemd-tmpfiles-setup.service
           230ms systemd-udev-trigger.service
           209ms clamav-daemon.service
           204ms pppd-dns.service
           202ms dev-disk-by\x2duuid-42e5932b\x2dd210\x2d427f\x2daef0\x2d28aac6826539.swap
           201ms tor.service
           197ms systemd-user-sessions.service
           194ms libvirt-guests.service
           170ms systemd-tmpfiles-clean.service
           160ms ifupdown-wait-online.service
           137ms systemd-update-utmp.service
           131ms kmod-static-nodes.service
           130ms blk-availability.service
           129ms systemd-rfkill.service
            98ms rc-local.service
            92ms console-setup.service
            91ms hddtemp.service
            86ms systemd-random-seed.service
           84ms nfs-config.service
            83ms polkit.service
            80ms user@1000.service
            60ms vboxweb-service.service
            60ms vboxballoonctrl-service.service
            56ms vboxautostart-service.service
            18ms plymouth-start.service
            11ms systemd-update-utmp-runlevel.service
             3ms plymouth-quit-wait.service
             2ms openvpn.service
             2ms sys-fs-fuse-connections.mount
Posts: 225
Joined: 2012-09-23 16:18

Re: Testing the Speed of my system

Postby bw123 » 2018-07-12 17:20

That's not a good test of system performance or speed, that's only bootup time?
User avatar
Posts: 3139
Joined: 2011-05-09 06:02
Location: TN_USA

Re: Testing the Speed of my system

Postby Head_on_a_Stick » 2018-07-13 04:16

bw123 wrote:that's only bootup time?

Not even that, a workable desktop can be reached before the time quoted by those commands.

@OP: https://www.phoronix-test-suite.com/?k=downloads
Charlie don't hack
User avatar
Posts: 7639
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Testing the Speed of my system

Postby Hallvor » 2018-07-13 09:44

Try installing hardinfo. It has its own toolbox of benchmarks, and you'll get a nice report on your system.
Code: Select all
apt install hardinfo

My numbers:
Code: Select all

CPU Blowfish
CPU Blowfish
This Machine   1366 MHz   3,637
Intel(R) Celeron(R) M processor 1.50GHz   (null)   26.1876862
PowerPC 740/750 (280.00MHz)   (null)   172.816713
CPU CryptoHash
CPU CryptoHash
This Machine   1366 MHz   552,391
CPU Fibonacci
CPU Fibonacci
This Machine   1366 MHz   1,415
Intel(R) Celeron(R) M processor 1.50GHz   (null)   8.1375674
PowerPC 740/750 (280.00MHz)   (null)   58.07682
CPU N-Queens
CPU N-Queens
This Machine   1366 MHz   4,782
This Machine   1366 MHz   0,893
FPU Raytracing
FPU Raytracing
This Machine   1366 MHz   3,525
Intel(R) Celeron(R) M processor 1.50GHz   (null)   40.8816714
PowerPC 740/750 (280.00MHz)
HP Elitebook 2570p, Intel Core i5 3320-M CPU @ 2.60 GHz, 6 GB RAM, Intel HD 4000 graphics, 240 GB SSD, Debian Stretch (KDE)
User avatar
Posts: 815
Joined: 2009-04-16 18:35
Location: Norway

Re: Testing the Speed of my system

Postby dcihon » 2018-07-13 10:32

Thanks for the info.
I will try these suggestions and post back the results.
Posts: 225
Joined: 2012-09-23 16:18

Re: Testing the Speed of my system

Postby NFT5 » 2018-07-13 16:53

I think that those systemd-analyze commands are good for reviewing possible problems in your startup, but the speed of your system will also reflect in the results.

I'm fairly happy with mine:
Code: Select all
chris@BOSSDESK:~$ systemd-analyze
Startup finished in 2.070s (kernel) + 2.233s (userspace) = 4.303s
chris@BOSSDESK:~$ systemd-analyze blame
           659ms nmbd.service
           609ms samba-ad-dc.service
           534ms vboxdrv.service
           478ms home-chris-DATA.mount
           293ms NetworkManager.service
           285ms ModemManager.service
           270ms exim4.service
           249ms loadcpufreq.service
           201ms binfmt-support.service
           190ms smbd.service
           166ms nfs-common.service
           157ms systemd-logind.service
           147ms keyboard-setup.service
           139ms alsa-restore.service
           133ms rc-local.service
           133ms pppd-dns.service
           132ms ssh.service
           126ms minidlna.service
           124ms rsyslog.service
            99ms avahi-daemon.service
            82ms console-setup.service
            63ms lightdm.service
            63ms networking.service
            62ms systemd-fsck@dev-disk-by\x2duuid-09a78e50\x2d1716\x2d49c5\x2d84
            56ms udisks2.service
            56ms systemd-fsck@dev-disk-by\x2duuid-C3A8\x2dEEA4.service
            51ms home-chris-VBOX\x2dVMS.mount
            50ms packagekit.service
            49ms rtkit-daemon.service
            46ms speech-dispatcher.service
            45ms colord.service
            44ms irqbalance.service
            43ms systemd-user-sessions.service
            42ms polkitd.service
            39ms rpcbind.service
            34ms kbd.service
            34ms systemd-tmpfiles-setup-dev.service
            33ms hddtemp.service
            32ms home-chris-MYDOCS\x2dVM.mount
            32ms systemd-modules-load.service
            29ms upower.service
            23ms systemd-tmpfiles-setup.service
            22ms systemd-setup-dgram-qlen.service
            21ms systemd-udev-trigger.service
            20ms sys-kernel-debug.mount
            19ms boot-efi.mount
            18ms proc-sys-fs-binfmt_misc.mount
            17ms dev-mqueue.mount
            17ms user@117.service
            17ms hdparm.service
            17ms dev-hugepages.mount
            16ms home.mount
            15ms cpufrequtils.service
            15ms dev-sda8.swap
            11ms systemd-journal-flush.service
            10ms user@1000.service
            10ms systemd-remount-fs.service
             8ms systemd-update-utmp.service
             6ms systemd-tmpfiles-clean.service
             6ms kmod-static-nodes.service
             6ms vboxballoonctrl-service.service
             6ms vboxautostart-service.service
             5ms vboxweb-service.service
             3ms systemd-sysctl.service
             3ms udev-finish.service
             3ms systemd-update-utmp-runlevel.service
             3ms systemd-random-seed.service
             3ms systemd-udevd.service
             2ms systemd-rfkill@rfkill0.service
             1ms sys-fs-fuse-connections.mount
lines 48-70/70 (END)

hardinfo is also good for looking at system performance, but makes comparisons against a machine so old as to be irrelevant.
User avatar
Posts: 231
Joined: 2014-10-10 11:38
Location: Canberra, Australia

Re: Testing the Speed of my system

Postby CwF » 2018-07-13 22:03

My hardinfo sampling...

| X5687 x2 | E5540 | E5-1650 | x4vm | E3-1225 | i386vm |
| CPU Blowfish | 0.94 | 2.32 | 1.18 | 2.53 | 2.87 | 2.81 |
| CPU CryptoHash | 1304.78 | 708.39 | 1404.05 | 757.44 | 771.58 | 798.69 |
| CPU FIbonacci | 1.76 | 2.29 | 1.56 | 1.53 | 1.69 | 2.56 |
| CPU N-Queens | 0.76 | 0.97 | 0.58 | 5.63 | 4.92 | 4.96 |
| FPU FFT | 1.07 | 1.38 | 1.00 | .93 | .97 | .91 |
| FPU Raytracing | 7.31 | 4.27 | 3.08 | 4.22 | 3.94 | 13.50 |
Posts: 28
Joined: 2018-06-20 15:16

Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests