Laptop's performances are low considering that it's running Manjaro

Hi everybody.
This is my first post on forum because I didn’t manage to find solution for my laptop by readings other posts with similar problems.

So, I installed Manjaro KDE Plasma yesterday and my laptop is performing low. Booting time is slow, but I guess its because I encrypted whole HDD. Anyways, I didn’t installed any app on laptop, except Brave browser. My laptop has Intel i7-3630QM quad core with 8 threads, 12 gigs of RAM and NVIDIA dedicated graph and a HDD. Opening terminal, booting after user login and other stuff is so slow in compare what I expecting. This isn’t some low spec laptop, except that it has HDD instead of SSD. What is main reason of low performance? If you need any additional info, please let me know. I am in love with Manjaro, by the way. Thanks in advance to all

This is screenshot of system info:

https://paste.pics/3edf2ceb1a2d38d291a8c7ae5b7e5cf5

Hi @ghost1, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

You don’t say what exactly you mean by that.
What is “low performance”?

This is likely the reason.
A program is: data
to run it, that data has to be read from the disk.

As I like to visualize it:
is almost literally has to be scraped off the disk :wink:
That takes time - especially with a spinning disk.

It’s not so much “bad performance” - but simply getting the data takes time
… much more time with a spinning disk than it takes with solid state drive

I still like hdd’s - I don’t care about the longer load times.
The price per storage capacity is lower and they (I still believe that) live much longer, survive more write cycles.
But that may be my biased and not well researched belief.

Well, it might be that, but at least you have one person that agrees with you: me

So, we’ll believe our fantasy together.

But, yes, that might be the bottleneck here…

This doesn’t provide much info. Please provide the information as per the link I provided.

By “low performance” I mean, like you said, long time of data retrieving, few seconds for even terminal to open. I guess that’s because I am using HDD instead of SSD. Commands that I run in terminal are executed fast. I don’t have any additional information to provide, so I guess that this question could be closed.

it definitely is
booting my laptop easily takes 1+ minute - and then another to load the DE and open a browser
once a program has been started (is in cache) - it’s fast

Exectly what is happening to me. After about 10mins of using laptop, it starts to get faster.

By this:

I’m thinking also this is correct:

Some Desktops run a file indexer - to help with having a quick search later on.
This takes resources - but once finished doesn’t impede performance any more.
It’s basically a one time occurence.

There were a lot reports of slow KDE in combination of non-installed Nvidia drivers. Do you have them installed?

KDE benefits a lot from SSD as it has tons of tiny tiny files that need to be loaded to RAM, and HDD makes it painfully slow. SSD can cut your 1 minute loading time down to something like 5-10 seconds, depending on pre-graphics services you enable. For casual users that don’t add much, 5 seconds is very likely. Once in a while, it may raise to 10 for reindexing and such, but is still far better than 1 minute.

All in all, you can point who to blame from:

$ systemd-analyze blame

It is the storage. Your best bet is an SSD with DRAM cache. SanDisk’s are of quality, and still affordable.

5.313s systemd-cryptsetup@luks\x2d2c04507c\x2d916d\x2d4424\x2d80fa\x2de6cc8726295b.service
4.016s systemd-journal-flush.service
3.749s dev-mapper-luks\x2d2e2572f7\x2d6efe\x2d4170\x2dbcae\x2defddc24e444f.device
2.157s plymouth-quit.service
2.141s plymouth-quit-wait.service
1.529s upower.service
1.389s systemd-fsck@dev-disk-by\x2duuid-2AB0\x2d3719.service
1.246s plymouth-start.service
1.181s NetworkManager.service
1.128s systemd-udev-trigger.service
 998ms ModemManager.service
 853ms polkit.service
 823ms systemd-backlight@backlight:intel_backlight.service
 816ms lvm2-monitor.service
 790ms systemd-vconsole-setup.service
 750ms systemd-logind.service
 725ms dbus.service
 724ms systemd-tmpfiles-setup-dev.service
 693ms systemd-cryptsetup@luks\x2d2e2572f7\x2d6efe\x2d4170\x2dbcae\x2defddc24e444f.service
 641ms udisks2.service
 533ms systemd-cryptsetup@luks\x2da112f613\x2d8b65\x2d4755\x2da72b\x2da48c8d93610d.service
 530ms systemd-modules-load.service
 524ms dev-mapper-luks\x2da112f613\x2d8b65\x2d4755\x2da72b\x2da48c8d93610d.swap
 429ms systemd-udevd.service
 366ms systemd-random-seed.service
 356ms user@1000.service
 270ms modprobe@fuse.service
 263ms systemd-fsck@dev-mapper-luks\x2d2c04507c\x2d916d\x2d4424\x2d80fa\x2de6cc8726295b.service
 240ms systemd-tmpfiles-setup.service
 236ms modprobe@drm.service
 213ms kmod-static-nodes.service
 212ms modprobe@configfs.service

There aren’t many processes here at all

Yep, nothing worrying. All good.

No need to, only the first 10 entries or so matter, the rest are usually negligible. Although for HDD, many of triple digits ms services take double or single on mine.

Could you let me know what’s command for that so I can paste you output here?

I requested information that would contain that info twice before, but let’s check with this as well:

mhwd --list && mhwd --listinstaalled

that was generated by the command:
systemd-analyze blame

That is just a time sorted list of what process took how long during startup of your system.

… and we still have no hardware information
to even start to put into proper context what you say

inxi -Fazy

for example

> 0000:0b:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:0de3) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.11.26               false            PCI
    video-nvidia-390xx            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0300:8086:0166) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.11.26               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-390xx-bumblebee            2021.11.26               false            PCI


Warning: No installed USB configs!

System:
  Kernel: 6.1.9-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=aa5fbd13-c55b-4c20-9d65-188451e96302 rw quiet
    cryptdevice=UUID=2e2572f7-6efe-4170-bcae-efddc24e444f:luks-2e2572f7-6efe-4170-bcae-efddc24e444f
    root=/dev/mapper/luks-2e2572f7-6efe-4170-bcae-efddc24e444f splash
    resume=/dev/mapper/luks-a112f613-8b65-4755-a72b-a48c8d93610d
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 4 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Hewlett-Packard product: HP ENVY dv6 Notebook PC
    v: 0889120000305920000620100 serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: Hewlett-Packard model: 181B v: 52.24 serial: <superuser required>
    UEFI: Insyde v: F.2E date: 09/07/2016
Battery:
  ID-1: BAT0 charge: 0% condition: 29.7/29.7 Wh (100.0%) volts: 3.8 min: 11.1
    model: 13-42 MO06062 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i7-3630QM bits: 64 type: MT MCP arch: Ivy Bridge
    gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 3134 high: 3193 min/max: 1200/3400 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 3193 2: 3193 3: 3193
    4: 3141 5: 3193 6: 2774 7: 3193 8: 3193 bogomips: 38334
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-7 process: Intel 22nm built: 2012-13 ports:
    active: LVDS-1 empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0
    chip-ID: 8086:0166 class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 635M] vendor: Hewlett-Packard
    driver: N/A alternate: nouveau, nvidia_drm, nvidia non-free: series: 390.xx+
    status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: speed: Unknown lanes: 63 link-max:
    gen: 6 speed: 64 GT/s bus-ID: 01:00.0 chip-ID: 10de:0de3 class-ID: 0300
  Device-3: Chicony HP Truevision HD type: USB driver: uvcvideo
    bus-ID: 1-1.3:4 chip-ID: 04f2:b2f8 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: X:
    loaded: intel dri: i965 gpu: i915 display-ID: :2 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: LVDS-1 mapped: LVDS1 model: LG Display 0x037f built: 2011
    res: 1920x1080 hz: 60 dpi: 143 gamma: 1.2 size: 340x190mm (13.39x7.48")
    diag: 395mm (15.5") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.2 Mesa 22.3.4 renderer: Mesa Intel HD Graphics 4000 (IVB
    GT2) direct render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
    chip-ID: 8086:1e20 class-ID: 0403
  Device-2: NVIDIA GF108 High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: Unknown lanes: 63 link-max:
    gen: 6 speed: 64 GT/s bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
  Sound API: ALSA v: k6.1.9-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.65 running: no
Network:
  Device-1: Ralink RT3290 Wireless 802.11n 1T/1R PCIe vendor: Hewlett-Packard
    driver: rt2800pci v: 2.3.0 pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 0a:00.0 chip-ID: 1814:3290 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 0b:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Ralink RT3290 Bluetooth vendor: Hewlett-Packard driver: N/A pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 0a:00.1 chip-ID: 1814:3298
    class-ID: 0d11
  Report: This feature requires one of these tools: hciconfig/bt-adapter
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 port: 5060 bus-ID: 00:1f.2 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 728.46 GiB used: 20.49 GiB (2.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD075
    size: 698.64 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 4M scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: LITE-ON IT model: LMT-32L3M-HP
    size: 29.82 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: LWE3 scheme: GPT
Partition:
  ID-1: / raw-size: 25 GiB size: 24.44 GiB (97.76%) used: 9.57 GiB (39.2%)
    fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-2e2572f7-6efe-4170-bcae-efddc24e444f
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 472 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 659.13 GiB size: 647.72 GiB (98.27%)
    used: 10.92 GiB (1.7%) fs: ext4 dev: /dev/dm-2 maj-min: 254:2
    mapped: luks-2c04507c-916d-4424-80fa-e6cc8726295b
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 14 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-a112f613-8b65-4755-a72b-a48c8d93610d
Sensors:
  System Temperatures: cpu: 58.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 260 Uptime: 36m wakeups: 355 Memory: 11.58 GiB
  used: 2.46 GiB (21.2%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
  pkgs: 1061 libs: 308 tools: pamac,yay Shell: Zsh v: 5.9 default: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.24

disable baloo, go to system settings/search/file search and uncheck all options, click apply

1 Like

Seems the driver isn’t installed. So toe install it, run:

mhwd --install pci video-hybrid-intel-nvidia-390xx-bumblebee