You are not logged in.
Hello,
I recently installed a base arch system. When I launch browsers, currently tried Firefox, Brave, and Chrome. On browser launch CPU usage goes way up sometimes over 80% while memory remains below 1G then once loaded CPU drops back down below 10% then spikes again upon loading a new web page. This occurs with all browsers so I don't suspect it is browser specific. No other application spikes the CPU like that. I've read the optimization wiki and cant seem to find what I need. I'm not sure if this is a network issue that needs to be configured or a daemon issue.
Here's some details on my system:
OS: Arch Linux x86_64
Host: HP 2000 Notebook PC 0889130000305910000620100
Kernel: 5.12.13-arch1-2
Packages: 490 (pacman)
Resolution: 1366x768
WM: bspwm
Terminal: alacritty
CPU: AMD A6-5200 APU (4) @ 2.000GHz
GPU: AMD ATI Radeon HD 8400 / R3 Series
Memory: 690MiB / 7412MiB
It is a relative old laptop. I've converted the hard drive to 500GB SSD and added RAM to 8GB. I never had any issue with distros that worked out of the box. So I don't think it's a hardware issue either. Any hints on where to look is appreciated.
Thanks
Last edited by keatonh (2021-06-29 03:33:10)
Offline
So after my impatience of waiting on an answer I decided to do a live boot with a distro I knew didnt have any issues with and checked the enabled services with
sudo systemctl list-unit-files | grep enabled
I wrote down all the enabled services and ended up adding NetworkManager-dispatcher.service, NetworkManager-wait-online.service, and systemd-networkd.socket. Doing this seems to have sped up the launch time of browsers and loading webpages. Although i still get a spike upon launch and load its a little less severe and lasts only milliseconds. Possibly could still need some network config but i will continue to adjust it.
Offline
That's nonsensical and you likely made things worse.
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fHow did you originally configure your network?
Post a complete system journal from a boot where you encounteres suspicious CPU load, eg. "sudo journalctl -b -3" for 3 boots ago.
Offline