You are not logged in.
Pages: 1
Hi, I have an issue with my laptop for a few months now. I first started with Manjaro as my distrib and I don't remember having freezes but I then switched on arch and since, I have frequent system freezes. It happens almost everytime I'm dealing with large files (copy for example) or when I've got a virtual machine running with VMWare.
I'm pretty sure this is an issue related to my disk. My disk is an Intel NVME. Here's the model : intel hbrpeknx0202a
The disk is encrypted btw.
I tried to disable APST by adding
nvme_core.default_ps_max_latency_us=0to
/etc/default/grubbut after reboot the output of the command
cat /sys/module/nvme_core/parameters/default_ps_max_latency_usis : 10000 and not the expected 0.
journalctl did not seem to indicate anything regarding this issue
Kernel version :
Linux 5.15.6-arch2-1 x86_64 Smart Log for NVME device:nvme0n1 namespace-id:ffffffff
critical_warning : 0
temperature : 45 C (318 Kelvin)
available_spare : 100%
available_spare_threshold : 10%
percentage_used : 2%
endurance group critical warning summary: 0
data_units_read : 6460276
data_units_written : 16392311
host_read_commands : 58241575
host_write_commands : 255830802
controller_busy_time : 3081
power_cycles : 278
power_on_hours : 1913
unsafe_shutdowns : 61
media_errors : 0
num_err_log_entries : 0
Warning Temperature Time : 0
Critical Composite Temperature Time : 0
Thermal Management T1 Trans Count : 0
Thermal Management T2 Trans Count : 0
Thermal Management T1 Total Time : 0
Thermal Management T2 Total Time : 0
Checking blocks 0 to 500107607
Checking for bad blocks (read-only test):
done
Pass completed, 0 bad blocks found. (0/0/0 errors)
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/mapper/vg-root
UUID=d34fabb8-088f-40d0-b93c-be097f21472b / ext4 rw,noatime 0 1
# /dev/mapper/vg-home
UUID=0475664b-8538-4ba7-ba29-85b9a33111bb /home ext4 rw,noatime 0 2
# /dev/nvme0n1p2
UUID=2FF6-29DA /efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
# /dev/mapper/vg-swap
UUID=7d2c946d-3954-42fc-933f-a3509f759b79 none swap defaults 0 0Offline
I tried to disable APST by adding
nvme_core.default_ps_max_latency_us=0
to/etc/default/grub
but after reboot the output of the commandcat /sys/module/nvme_core/parameters/default_ps_max_latency_us
is : 10000 and not the expected 0.
/etc/default/grub does nothing unless you run grub-mkconfig
/dev/mapper/vg-swap
Swap on LVM has a record of being a massive bottleneck - did you have this layout on manjaro as well?
Do you have enough RAM to test the behavior w/ "swapoff /dev/mapper/vg-swap"?
Offline
Yes I forgot to mention but of course I did
grub-mkconfigHonestly I don't remember on Manjaro. It was months ago and all I remember is that I did the automatic encrypted install.
I have 16go RAM. Is it enough to remove LVM Swap ?
Offline
For testing purposes and unless you're about to charge the system w/ a huge amount of anon pages (transient data) - yes.
Offline
Have you installed the relevant CPU µcode package? Some processors need the fixes to avoid instability.
Yes I forgot to mention but of course I did
grub-mkconfig
That doesn't update the configuration unless you direct the output to the correct location.
I have 16go RAM. Is it enough to remove LVM Swap ?
Probably not. Linux handles OOM events really badly.
Jin, Jîyan, Azadî
Offline
Yes intel ucode is correctly installed and configured in grub, initrd etc...
I forgot to add the -o option and now, APST is correctly disable.
I did try to disable temporarily my LVM Swap and it looked like my system was more responsive (maybe it's just in my head) but I still got some random freezes for like 5-10 seconds...
Last edited by Darktortue (2021-12-05 16:55:13)
Offline
Pages: 1