openSUSE TW slow - for months

Hello,

I’ve been using TW since November 2022. I started with KDE, a disaster. Moved to GNOME, which was OK other than I hated it. I’m now back on XFCE and i3 (as always). I had a feeling it was slower than any other Linux distro I’ve used but didn’t much care. Today, however, I used Debian with XFCE and bloody hell if that thing wasn’t at least 5 times as quick. Boot time was the same but the browser, terminals, file managers - the lot! was faster. Especially Firefox which is abysmally slow, relatively. I’m not ready to quit Susie yet and I would like to know what I’m doing wrong - it’s almost always my fault.

My PC has 4xCore i5-7400, 16G RAM and an SSD.

Any ideas?

Edit: I just tested Fedora and Linux Mint - both are lightening fast compared to TW.

Something’s wrong. More details are needed. Paste here input/output using </> tags (icon above input window) in a GUI terminal from:

inxi -Faz

Here you go; I hope it’s useful:

System:
  Kernel: 6.3.7-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.3.7-1-default
    root=UUID=2e1e4fcd-5fc9-41d1-bc14-58ba465ac9a2 splash=silent
    mitigations=auto quiet security=apparmor
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.38 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: LightDM v: 1.32.0 Distro: openSUSE Tumbleweed 20230620
Machine:
  Type: Desktop System: HP product: 750-514 v: 1.01
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: HP model: 82F1 v: 1.01 serial: <superuser required> UEFI: AMI
    v: F.04 date: 12/19/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> charge: 0%
    rechargeable: yes status: discharging
  Device-2: hidpp_battery_1 model: Logitech Wireless Mouse M510
    serial: <filter> charge: 0% rechargeable: yes status: discharging
CPU:
  Info: model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF2
  Topology: cpus: 1x cores: 4 smt: <unsupported> 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: 3000 min/max: 800/3500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 3000 2: 3000 3: 3000 4: 3000 bogomips: 24000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, STIBP: disabled,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: HDMI-A-1,HDMI-A-2 empty: DP-1 bus-ID: 00:02.0 chip-ID: 8086:5912
    class-ID: 0300
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10:5
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.8 compositor: xfwm v: 4.18.0 driver:
    X: loaded: modesetting unloaded: fbdev,vesa alternate: intel dri: iris
    gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-size: <missing: xdpyinfo>
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: HP 23es
    serial: <filter> built: 2016 res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2
    size: 509x286mm (20.04x11.26") diag: 584mm (23") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI-2 pos: right model: Dell ST2321L
    serial: <filter> built: 2012 res: 1920x1080 hz: 60 dpi: 96 gamma: 1.2
    size: 509x286mm (20.04x11.26") diag: 585mm (23") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-10:5
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.3.7-1-default status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:095a class-ID: 0280
  IF: wlp2s0 state: down 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: e000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:4 chip-ID: 8087:0a2a
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 1.31 TiB used: 18.39 GiB (1.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7LN128HCHP-000H1
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2H0Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Crucial model: CT250MX500SSD1
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 023 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD10EZEX-60WN4A0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: GPT
  ID-4: /dev/sde maj-min: 8:64 vendor: SanDisk model: USB 3.2Gen1
    size: 57.3 GiB block-size: physical: 512 B logical: 512 B type: USB rev: 3.2
    spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 230.38 GiB size: 230.38 GiB (100.00%)
    used: 18.39 GiB (8.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 230.38 GiB size: 230.38 GiB (100.00%)
    used: 18.39 GiB (8.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-4: /opt raw-size: 230.38 GiB size: 230.38 GiB (100.00%)
    used: 18.39 GiB (8.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
  ID-5: /var raw-size: 230.38 GiB size: 230.38 GiB (100.00%)
    used: 18.39 GiB (8.0%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 2 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sdb3 maj-min: 8:19
Sensors:
  System Temperatures: cpu: 38.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 298 Uptime: 6h 23m wakeups: 45 Memory: available: 15.39 GiB
  used: 2.28 GiB (14.8%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 alt: 13 Packages: pm: rpm pkgs: N/A
  note: see --rpm tools: yast,zypper Shell: Bash v: 5.2.15
  running-in: xfce4-terminal inxi: 3.3.27

Edit: I just noticed that my keyboard and mouse battery levels are at 0% :frowning: . I think the upower update went awry yesterday. On Debian it showed as 55% and 70% respectively.

I have two Kaby Lake desktops, so the same basic hardware, same core count on one, half on the other but with same thread count 4, but not depending on any batteries or wireless:

# inxi -CSM --vs
inxi 3.3.27-00 (2023-05-07)
System:
  Host: ab250 Kernel: 6.2.12-1-default arch: x86_64 bits: 64 Desktop: Trinity
    v: R14.1.0 Distro: openSUSE Tumbleweed 20230614
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B250M-C v: Rev X.0x
    serial: 171013077301155 UEFI: American Megatrends v: 1608 date: 10/21/2019
CPU:
  Info: quad core model: Intel Core i5-7500T bits: 64 type: MCP cache:
    L2: 1024 KiB
  Speed (MHz): avg: 2225 min/max: 800/3300 cores: 1: 800 2: 2700 3: 2700
    4: 2700
# inxi -Gaz
Graphics:
  Device-1: Intel HD Graphics 630 vendor: ASUSTeK driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1,HDMI-A-2 empty: DP-2,HDMI-A-1,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
    unloaded: fbdev,vesa alternate: intel dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2560x2640 s-dpi: 120 s-size: 541x558mm (21.30x21.97")
    s-diag: 777mm (30.6")
  Monitor-1: DP-1 pos: primary,bottom model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI-2 pos: top model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.1.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes
#

# inxi -CMS --vs
inxi 3.3.27-00 (2023-05-07)
System:
  Host: gb250 Kernel: 6.2.12-1-default arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.5 Distro: openSUSE Tumbleweed 20230522
Machine:
  Type: Desktop System: Gigabyte product: B250M-D3H v: N/A serial: N/A
  Mobo: Gigabyte model: B250M-D3H-CF v: x.x serial: N/A
    UEFI: American Megatrends v: F10 date: 12/14/2018
CPU:
  Info: dual core model: Intel Core i3-7100T bits: 64 type: MT MCP cache:
    L2: 512 KiB
  Speed (MHz): avg: 2750 min/max: 800/3400 cores: 1: 3400 2: 3400 3: 3400
    4: 800
# inxi -Gaz
Graphics:
  Device-1: Intel HD Graphics 630 vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: DP-1,HDMI-A-1 empty: DP-2,HDMI-A-2,HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:5912 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: modesetting unloaded: fbdev,vesa alternate: intel dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 120 s-size: 948x304mm (37.32x11.97")
    s-diag: 996mm (39.19")
  Monitor-1: DP-1 pos: right model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes
#

Operationally there is no problem of lack of speed on either. They are subjected to random instances of delayed X startup about which a bug is open. I haven’t upgraded their kernels from 6.2.12 yet.

I recognize nothing in your inxi output that is suspect. Have you tried looking for runaway processes with htop or top? Have you tried logging into an alternate session type to XFCE, IceWM perhaps, to see whether a system problem or an XFCE-only problem? The only place I have XFCE is on a Mint or two, and rarely used, so no meaningful familiarity with it. I think among regular helpers here most are using Plasma or Gnome. As seen above in inxi, I have one on Plasma, the other on TDE.

Which file system are you using at least for the system partition?

Hello disaster mong!

I am using Tumbleweed / KDE since August 2016. My experience is quite different, even with the oldest and smallest machine: “I like its snappiness.:wink:

Presumably you did some tinkering. Try a pristine system first, e.g. https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-KDE-Live-x86_64-Current.iso.

I run TW on Core i5-4800/8Gb with a snappy experience including firefox and KDE. Your experience with Debian confirms that the hardware is capable enough. For debugging, I would recommend doing some basic benchmarks (hdparm, sysbench). If your websurfing is low-risk, you should probably turn-off exploit mitigation in Yast/Boot Loader/Kernel parameters. Compare your benchmarking to Debian, if possible.

Assuming Btrfs as the file-system used by the system partition –

  • Have you, ever, performed any Btrfs housekeeping?

Thanks for taking a look. I tried TOP, nothing weird - well, maybe the memory is a bit high (1.2GB on a cold boot as opposed to Debian’s 400MB) but I don’t care about that at all. My average load is very low.

I tried IceWM and my usual i3 and both are about the same. I expected i3 to run like a formula one car but it’s not noticeably different from XFCE.

So, I reinstalled TW on a laptop (Thinkpad) with similar specs to my desktop with KDE Plasma and it was almost identical to XFCE in terms of speed except for Firefox which was even slower. I uninstalled the packaged version and replaced it with my own build and that solved that issue (I think Susie’s build of Firefox is wonky because, relatively, it’s slow on all my machines). I also installed Brave and Chromium and they are both operating as expected. The other issue on KDE Plasma is that two programs, GNUCash and KeepassXC, hang Plasma for exactly 5 seconds on close making the taskbar useless for that whopping 5 seconds. First world problems, eh?

Maybe I have a network issue Tumbleweed doesn’t like that Debian and Fedora don’t have a problem with.

Am I better off sticking to KDE purely because it, along with GNOME, is what the maintainers mainly focus on? As I mainly use my computer for writing C, C++, database administration, and occasionally Web Development :frowning: (when I’m guilt tripped into it) it doesn’t particularly matter what I use - I don’t use it for “fun” for the most part.

I appreciate your input.

Hi karlmistelberger,

“DisasterMong” would have been a much better username!

No tinkering outside of my i3 configuration and general XFCE ugliness cleanup. I have some time today so I might do a fresh install with KDE Plasma (and remove 90% of the funk that I’ll never use). It sure is pretty though.

What do you mean by “low-risk” web browsing? No porn etc. :shushing_face:. I will try it, thanks.

I just realized I can do replies in a single post - my little brain doesn’t find this website particularly intuitive. Sorry for the multiple posts.

@dcurtisfra

No, I haven’t touched Btrfs.

Yep.

Services on host 3400g: http://mistelberger.net/cgls-3400g.txt You may download and view in less or kate. Idle load is one percent. Desktop stays responsive at high load averages:

3400g:~ # w
17:28:46 up  1:50,  4 users,  load average: 30.86, 12.31, 5.65
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
karl     tty7     :0               15:38    1:50m  2:57   0.20s /usr/bin/startplasma-x11
karl     pts/0    :0               15:38    1:50m  0.00s  2.81s /usr/bin/kded5
karl     pts/1    :0               15:38    2.00s  0.23s  0.03s /bin/bash
karl     pts/3    :0               15:41    2:14  17:09   0.03s /bin/bash
3400g:~ # 
3400g:~ # stress-ng --cpu 0
stress-ng: info:  [11824] defaulting to a 86400 second (1 day, 0.00 secs) run per stressor
stress-ng: info:  [11824] dispatching hogs: 32 cpu
^Cstress-ng: info:  [11824] successful run completed in 210.23s (3 mins, 30.23 secs)
3400g:~ # 

YaST provides two methods of networking to choose from (NM & Wicked, either of which various apps demand be installed, though not necessarily enabled), but openSUSE provides also a third, which can only be enabled manually, and which I use on 100% of my desktop PCs: systemd-network (in static IP mode). You could give a try to either of those you do not currently use.

YaST Network doesn’t allow me to change anything and I don’t know how to use/setup systemd-network in static IP mode. I’ll take a look at the documentation.

IMO… I wouldn’t worry about it … if networking is working fine and not experiencing any delays, no need to get off into yet another “tedium”. :+1:

YaST in admin mode should allow switching between NetworkManager and Wicked, but only if both are installed. Systemd-network is an optional package, so would need to be installed before switching to it. Systemd-network configuration goes in /etc/systemd/network, and existence of /etc/resolv.conf needs to be ensured. I do that by creating it manually and disabling or uninstalling anything containing string “resolv”. Config template for ipv4:

# ip a | grep eth0:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
# cat /etc/systemd/network/eth0.network
[Match]
PermanentMACAddress=.:.:.:.:.:.

[Network]
Address=..../..
DNS=....
Gateway=....
IPv6AcceptRA=no
LinkLocalAddressing=no

@myswtest
IMO… I wouldn’t worry about it … if networking is working fine and not experiencing any delays, no need to get off into yet another “tedium”. :+1:

I admit, I do not like to mess with my OS. But apparently I back myself into a corner and do it anyway.

@mrmazda
YaST in admin mode should allow switching between NetworkManager and Wicked, but only if both are installed. Systemd-network is an optional package, so would need to be installed before switching to it. Systemd-network configuration goes in /etc/systemd/network, and existence of /etc/resolv.conf needs to be ensured. I do that by creating it manually and disabling or uninstalling anything containing string “resolv”.

Thanks for the information. I saw in YaST Software that it wasn’t installed.

Would it be prudent to use the de facto KDE Plasma? I don’t really care what I use (except for GNOME, not doing that).

Does anyone here use KeepassXC on Plasma without it hanging on close (only on X11, fine on wayland)? It’s bloody annoying.

Does anyone here use KeepassXC on Plasma without it hanging on close (only on X11, fine on wayland)? It’s bloody annoying.

Yes. No problems at all on X11.

@t_neo
Yes. No problems at all on X11.

OK, I definitely have something funky going on - two separate computers, both slow and when using Plasma KeepassXC (and GNUCash) hangs every time on close. Tried @mrmazda’s setup, no difference. I might have to put this to the side and get back to work now.

You mean systemd-network, or just switching between NM and Wicked? Switching to systemd-network means using systemctl to disable old way and enable new way, then restart network or computer, not simply installing and creating config files:

# systemctl status systemd-networkd wicked
● systemd-networkd.service - Network Configuration
     Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2023-05-12 19:22:38 EDT; 1 month 10 days ago
TriggeredBy: ● systemd-networkd.socket
       Docs: man:systemd-networkd.service(8)
   Main PID: 567 (systemd-network)
     Status: "Processing requests..."
      Tasks: 1 (limit: 4915)
     CGroup: /system.slice/systemd-networkd.service
             └─ 567 /usr/lib/systemd/systemd-networkd

○ wicked.service
     Loaded: masked (Reason: Unit wicked.service is masked.)
     Active: inactive (dead)
# systemctl list-unit-files | egrep 'net|wick|solv' | sort
dbus-org.freedesktop.network1.service  alias           -
network-online.target                  static          -
network-pre.target                     static          -
network.service                        alias           -
network.target                         static          -
systemd-network-generator.service      disabled        disabled
systemd-networkd-wait-online.service   masked          disabled
systemd-networkd.service               enabled         disabled
systemd-networkd.socket                enabled         disabled
systemd-resolved.service               disabled        disabled
wicked.service                         masked          disabled
wickedd-auto4.service                  masked          disabled
wickedd-dhcp4.service                  masked          disabled
wickedd-dhcp6.service                  masked          disabled
wickedd-nanny.service                  masked          disabled
wickedd-pppd@.service                  masked          disabled
wickedd.service                        masked          disabled