My experience with browsers on Linux is terrible

In my experience people make too many changes all over the map and lose track what has been changed or not and whether it makes any difference. It is best to change something and try it long enough to know whether it makes any difference or fixes the problem. If not change it back and do this with everything until you know for sure it was the solution. I don’t have an answer that will magically solve the problem and i also don’t know everything. I work with what i have and what i research using trial and error methods and solutions to known problems. I can only say that this is a low power dual core processor with 4 threads. It can be easily overwhelmed with processes whether on Windows or Linux.

Edit: I know that’s probably not what you want to hear but it is part of the equation.

Don’t worry, thank you for your help anyway.
I’ll try for a few days and see how it goes

If I can’t resolve it, I’ll have to make some compromises

1 Like

schedutil should be good, “performance” might just force the CPU to permanently stay at the highest possible frequency, even if no work is being done. Schedutil is a smart mode, should be only marginally slower (say 1% or 2%) than “performance” but with the added benefit of smartly turning the frequency and power draw down when not needed.

As I said I don’t think this is a problem with the CPU, based on the screenshots and results you posted. Spikes in CPU usage when you open a new tab is perfectly normal (when taking into account your particular CPU). if your usage doesn’t go up to 100% and stay there that means the CPU is not the limiting factor. But it was a factor that needed to be excluded, before testing other things.

I’d be looking at any acceleration settings in the browser itself, or switch to another browser and see if you experience the same issues (Firefox is a good candidate as Kresimir said earlier). If you experience the same issues with Firefox, you can at least rule out the browser itself as a problem.

1 Like

@Salvaju29ro
I just wanted to ask if your internet also is a factor? What type of speed do you have?

I will try other browsers but at the moment Firefox seems to slow down too

@ricklinux No i have a good connection. 80 mb / s in download
The slowness is not in the navigation, but in the “animations”, for example when I close and open a tab

@Salvaju29ro
Here are some Firefox specific info.

https://wiki.archlinux.org/title/Firefox/Tweaks#Performance

1 Like

Profiles in ram and cache in ram improved things a lot for me.
Same w/ chromium.
Worth a try.

Have you tried the zen kernel?

The profile in Ram did not completely solve the problem, but I have read what it is and will keep it anyway, because it looks good to me. Thank you for your suggestion.

@Dev0ut Not yet. I’ll try it.
I’ve seen it’s in the official repos, so I can try it out. Unfortunately the kernels installed by Aur for my pc would be unmanageable, it would take hours to compile.

1 Like

You can install it with akm

I would be interested in seeing your RAM usage during these slow downs? Also what is your swappiness set at, it might be aggressively swapping? Do you have a swap partition or swapfile? Lastly mounting your cache in /tmpfs is basically like having no cache at all. Sure it will access it quickly if you have visited the site recently i.e. during this boot. The second you turn your laptop off, that cache is gone, hence no stored images.

Hi, ram usage during slowdown hardly exceeds 5gb, so it’s not saturated
About the swap, the system slows down with or without swap enabled
When swap is enabled, it is enabled with this parameter:

/etc/sysctl.d/99-swappiness.conf

vm.swappiness = 10

Possibly even with

vm.vfs_cache_pressure=50

I could try to use the browser for a while with the physical cache and not in ram, although I don’t think that’s the problem

Tl;dr
Are you using TLP?

No, not being a laptop I never had an interest in installing it

Interesting, I was convinced this is a laptop, given the laptop specific CPU. I assume this is an AIO or compact desktop machine?

One final question from me, are you using an SSD or HDD ?

One more thing, I don’t expect switching kernels to have any effect whatsoever on the perceived performance. I wouldn’t even add that try to the possible solutions list.

I agree if it’s a regular hard drive and based on the hardware specs. I can see that being the issue.

+1. Of the big 3 KDE is the lightest choice these days. Although it or xfce are very close…

I definitely felt like Windows is faster than anything Debian based I’ve used recently, but Arch based feels the same to me. Although i generally use Firefox, i can’t comment on chrome… I wish I knew what to add to this, other than it’s very surprising and quite the opposite of what I normally notice.

it’s a mini pc

The system is installed on a sata m2 SSD

A mechanical HDD is also included in the mini pc, but it’s just for data, not for the system

As I said in the first post, I have no problems with Windows. If I had a HDD, Windows would run as slow as a crippled elephant

Could you post the output from

inxi -Faz --no-host | eos-sendlog

System:
  Kernel: 5.13.5-arch1-1 x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-linux 
  root=UUID=f3b722ee-0e1d-4cf8-8732-b162718b2435 rw i915 enable_fbc=0 apparmor=1 
  lsm=lockdown,yama,apparmor,bpf loglevel=3 nowatchdog 
  Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Arch Linux 
Machine:
  Type: Mini-pc System: AZW product: U55 v: N/A serial: <filter> 
  Mobo: AZW model: U55 serial: <filter> UEFI: American Megatrends v: VB1004 
  date: 12/30/2019 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter> 
  charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:
  Info: Dual Core model: Intel Core i3-5005U bits: 64 type: MT MCP 
  arch: Broadwell family: 6 model-id: 3D (61) stepping: 4 microcode: 2F cache: 
  L2: 3 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 15971 
  Speed: 1896 MHz min/max: 500/1900 MHz Core speeds (MHz): 1: 1896 2: 1896 
  3: 1896 4: 1895 
  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: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel HD Graphics 5500 driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:1616 class-ID: 0300 
  Display: x11 server: X.org 1.20.12 compositor: kwin_x11 driver: 
  loaded: modesetting unloaded: fbdev,vesa alternate: intel 
  resolution: <missing: xdpyinfo> 
  Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:
  Device-1: Intel Broadwell-U Audio vendor: Eldec driver: snd_hda_intel v: kernel 
  bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403 
  Device-2: Intel Wildcat Point-LP High Definition Audio driver: snd_hda_intel 
  v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.5-arch1-1 running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: no 
  Sound Server-4: PipeWire v: 0.3.32 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
  v: kernel port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Intel Wireless 3165 driver: iwlwifi v: kernel port: 3000 
  bus-ID: 02:00.0 chip-ID: 8086:3165 class-ID: 0280 
  IF: wlan0 state: up mac: <filter> 
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 
  bus-ID: 2-4:3 chip-ID: 8087:0a2a class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends 
Drives:
  Local Storage: total: 381.97 GiB used: 254.04 GiB (66.5%) 
  ID-1: /dev/mmcblk1 maj-min: 179:0 type: USB model: EB1QL size: 29.84 GiB 
  block-size: physical: 512 B logical: 512 B rotation: SSD serial: <filter> 
  scheme: MBR 
  SMART Message: Unknown smartctl error. Unable to generate data. 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD2500BEVT-22ZCT0 
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A11 scheme: GPT 
  ID-3: /dev/sdb maj-min: 8:16 model: SSD 128GB size: 119.24 GiB block-size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> 
  rev: 8A0 scheme: GPT 
Partition:
  ID-1: / raw-size: 29.06 GiB size: 28.44 GiB (97.85%) used: 12.34 GiB (43.4%) 
  fs: ext4 dev: /dev/sdb6 maj-min: 8:22 
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 316 KiB (0.1%) 
  fs: vfat dev: /dev/sdb5 maj-min: 8:21 
  ID-3: /home raw-size: 29.53 GiB size: 28.9 GiB (97.86%) used: 3 GiB (10.4%) 
  fs: ext4 dev: /dev/sdb7 maj-min: 8:23 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 70.0 C mobo: 27.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 250 Uptime: 2m wakeups: 4 Memory: 7.7 GiB used: 2.93 GiB (38.1%) 
  Init: systemd v: 249 tool: systemctl Compilers: gcc: 11.1.0 Packages: 
  pacman: 1186 lib: 250 Shell: Bash v: 5.1.8 running-in: konsole inxi: 3.3.05