sysctl vm.swappiness
vm.swappiness = 60
cat /etc/sysctl.d/30-swap_usage.conf
cat: /etc/sysctl.d/30-swap_usage.conf: No such file or directory
when i cd to the filepath
cd /etc/sysctl.d/
there is nothing there. ls returns nothing.
sysctl vm.swappiness
vm.swappiness = 60
cat /etc/sysctl.d/30-swap_usage.conf
cat: /etc/sysctl.d/30-swap_usage.conf: No such file or directory
when i cd to the filepath
cd /etc/sysctl.d/
there is nothing there. ls returns nothing.
snapshot before
PID USER PPID CMD %MEM %CPU
6508 blackad+ 1183 ps -eo pid,user,ppid,cmd,%m 0.0 200
2156 blackad+ 890 /usr/lib/brave-browser/brav 5.2 15.7
2194 blackad+ 2167 /usr/lib/brave-browser/brav 1.7 12.3
3548 blackad+ 2170 /usr/lib/brave-browser/brav 3.5 7.9
2654 blackad+ 2170 /usr/lib/brave-browser/brav 0.9 4.3
6479 blackad+ 2170 /usr/lib/brave-browser/brav 1.0 4.0
697 root 695 /usr/lib/Xorg -nolisten tcp 0.7 3.6
3633 blackad+ 2170 /usr/lib/brave-browser/brav 3.1 2.6
855 blackad+ 757 /usr/bin/kwin_x11 --replace 1.1 2.2
3807 blackad+ 2170 /usr/lib/brave-browser/brav 2.5 2.2
890 blackad+ 757 /usr/bin/plasmashell --no-r 2.6 2.2
3379 blackad+ 2170 /usr/lib/brave-browser/brav 1.1 2.1
3593 blackad+ 2170 /usr/lib/brave-browser/brav 3.3 1.7
1083 blackad+ 852 /usr/bin/dolphin -session 1 1.0 1.3
3560 blackad+ 2156 /usr/lib/brave-browser/brav 0.8 1.3
6472 blackad+ 2170 /usr/lib/brave-browser/brav 0.9 1.1
3795 blackad+ 2170 /usr/lib/brave-browser/brav 3.4 1.1
4408 blackad+ 2170 /usr/lib/brave-browser/brav 1.1 1.0
3822 blackad+ 2170 /usr/lib/brave-browser/brav 1.9 0.9
3529 blackad+ 2170 /usr/lib/brave-browser/brav 2.2 0.7
3846 blackad+ 2170 /usr/lib/brave-browser/brav 2.3 0.6
2393 blackad+ 2156 /usr/lib/brave-browser/brav 1.1 0.6
2539 blackad+ 2170 /usr/lib/brave-browser/brav 1.6 0.6
3780 blackad+ 2170 /usr/lib/brave-browser/brav 2.1 0.5
6110 blackad+ 2170 /usr/lib/brave-browser/brav 0.9 0.5
3766 blackad+ 2170 /usr/lib/brave-browser/brav 2.1 0.4
3696 blackad+ 2170 /usr/lib/brave-browser/brav 1.8 0.3
2444 blackad+ 2170 /usr/lib/brave-browser/brav 0.9 0.3
2423 blackad+ 2170 /usr/lib/brave-browser/brav 1.2 0.3
3735 blackad+ 2170 /usr/lib/brave-browser/brav 1.8 0.3
6462 blackad+ 2170 /usr/lib/brave-browser/brav 0.8 0.3
1182 blackad+ 757 /usr/bin/ksystemstats 0.2 0.3
3495 blackad+ 2170 /usr/lib/brave-browser/brav 1.4 0.2
3754 blackad+ 2170 /usr/lib/brave-browser/brav 1.7 0.2
1959 blackad+ 757 /usr/bin/pipewire-pulse 0.1 0.2
969 blackad+ 757 /usr/bin/pipewire 0.1 0.2
3647 blackad+ 2170 /usr/lib/brave-browser/brav 1.6 0.1
2443 blackad+ 2170 /usr/lib/brave-browser/brav 1.0 0.1
3509 blackad+ 2170 /usr/lib/brave-browser/brav 1.5 0.1
6451 blackad+ 2170 /usr/lib/brave-browser/brav 0.7 0.1
2329 blackad+ 2170 /usr/lib/brave-browser/brav 1.1 0.1
658 root 1 /usr/bin/NetworkManager --n 0.2 0.1
3835 blackad+ 2170 /usr/lib/brave-browser/brav 1.2 0.0
1107 blackad+ 852 /usr/bin/konsole -session 1 1.0 0.0
1183 blackad+ 1107 /bin/zsh 0.0 0.0
625 dbus 1 /usr/bin/dbus-daemon --syst 0.0 0.0
4806 blackad+ 2170 /usr/lib/brave-browser/brav 1.0 0.0
753 root 2 [kworker/u9:1+i915_flip] 0.0 0.0
854 blackad+ 757 /usr/bin/kded5 1.0 0.0
Your top processes are still brave…
But you said it happened with Firefox as well…so my suspicion is starting to turn to the NIC…or wireless…a faulty device and/or driver…
There any way you can test and/or eliminate that?
Please provide the output of:
lspci -k
and
pamac search broadcom-wl
lspci -k
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Dell 2nd Generation Core Processor Family DRAM Controller
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
DeviceName: Onboard IGD
Subsystem: Dell 2nd Generation Core Processor Family Integrated Graphics Controller
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
Subsystem: Dell 7 Series/C210 Series Chipset Family USB xHCI Host Controller
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family MEI Controller
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family High Definition Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
Subsystem: Dell 7 Series/C216 Chipset Family PCI Express Root Port 1
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
Subsystem: Dell 7 Series/C210 Series Chipset Family PCI Express Root Port 2
Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
Subsystem: Dell 7 Series/C210 Series Chipset Family PCI Express Root Port 3
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 4 (rev c4)
Subsystem: Dell 7 Series/C216 Chipset Family PCI Express Root Port 4
Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
Subsystem: Dell 7 Series/C210 Series Chipset Family PCI Express Root Port 6
Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
Subsystem: Dell 7 Series/C210 Series Chipset Family PCI Express Root Port 7
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family USB Enhanced Host Controller
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
Subsystem: Dell HM77 Express Chipset LPC Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
Subsystem: Dell 82801 Mobile SATA Controller [RAID mode]
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
Subsystem: Dell 7 Series/C216 Chipset Family SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)
Subsystem: Dell BCM4313 802.11bgn Wireless Network Adapter
Kernel driver in use: wl
Kernel modules: bcma, wl
0b:00.0 SD Host controller: O2 Micro, Inc. OZ600FJ0/OZ900FJ0/OZ600FJS SD/MMC Card Reader Controller (rev 05)
Subsystem: Dell OZ600FJ0/OZ900FJ0/OZ600FJS SD/MMC Card Reader Controller
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
0c:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
Subsystem: Dell NetXtreme BCM5761 Gigabit Ethernet PCIe
Kernel driver in use: tg3
Kernel modules: tg3
pamac search broadcom-wl
linux67-broadcom-wl 6.30.223.271-0.17 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux66-rt-broadcom-wl 6.30.223.271-5 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux65-rt-broadcom-wl 6.30.223.271-3 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux65-broadcom-wl 6.30.223.271-35 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux61-rt-broadcom-wl 6.30.223.271-16 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux54-broadcom-wl 6.30.223.271-290 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux510-broadcom-wl 6.30.223.271-239 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux419-broadcom-wl 6.30.223.271-315 extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux66-broadcom-wl 6.30.223.271-29 [Installed] extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux61-broadcom-wl 6.30.223.271-80 [Installed] extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
linux515-broadcom-wl 6.30.223.271-168 [Installed] extra
Broadcom 802.11 Linux STA wireless driver BCM43142.
broadcom-wl-dkms 6.30.223.271-36.1 extra
Broadcom 802.11 Linux STA wireless driver
Hmmmm…welp…al looks OK, according to IR, but let’s try removing all those modules and replacing them with the -dkms
version:
pamac remove linux66-broadcom-wl linux61-broadcom-wl linux515-broadcom-wl
…followed by:
pamac install broadcom-wl-dkms
Note:
This will probably disconnect your wireless, so make sure you have another method to connect first. Or download the one to install first:
pamac install --download-only broadcom-wl-dkms
Then remove the others, and then install the downloaded one:
pamac install broadcom-wl-dkms
Hold your thumbs, cross yourself, do a little dace as offering to the great Lord of I.T., and reboot.
See if that helps.
Is Powerdevil trying to run constantly. There is currently a bug where it runs and fails constantly and while it doesn’t use a whole lot of resource, it does have a noticeable impact on CPU.
The workaround is to run:
killall org_kde_powerdevil
Run that as soon as you get in and see if it helps at all.
That doesn’t look like powerdevil, to me. But I guess eliminating the possibility can’t do harm…
I’ve been able to streamline the issue and I detect that the freezing is caused by my vscode. And it get more tricky when I realized that it only happens when start my local server(run npm program). When I work on any other project that aren’t npm related it doesn’t freeze
Thank you, I gave this a try also but it didn’t stop it from freezing.
What JavaScript build tool are you using in vscode? Webpack? Or one of the other numerous alternatives that exist these days?
I’m currently working on a React project. It’s a group project, and everyone has the same codebase on their laptops.