You are not logged in.

#1 2019-10-04 09:40:34

vlatkoB
Member
Registered: 2015-03-24
Posts: 3

[Solved] Wrong question: Freeze on heavy disk activity

I started to notice freezes on my system when there is heavy disk activity, both on reading and writing. I have two internal disks, NVME, and a classic SSD.
`root` and `home` are on `NVME` and SSD is a storage one. I tested by creating a 3GB tar and `cat`ing it to `/dev/null` on both disks.
NVME is much slower and freezes the system, while SSD does not. I have a weekly trim but performed manual as well. No change.


    Drives:    Local Storage: total: 894.27 GiB used: 741.11 GiB (82.9%)
               ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLV128HCGR-00000 size: 119.24 GiB speed: 31.6 Gb/s lanes: 4
               serial: <filter> rev: BXV7000Q scheme: GPT
               ID-2: /dev/sda vendor: Kingston model: SKC400S37512G size: 476.94 GiB speed: 6.0 Gb/s serial: <filter> rev: 00.Y
               scheme: MBR
    Partition: ID-1: / size: 30.39 GiB used: 23.91 GiB (78.7%) fs: ext4 dev: /dev/nvme0n1p2
               ID-2: /boot size: 1021.0 MiB used: 59.3 MiB (5.8%) fs: vfat dev: /dev/nvme0n1p1
               ID-3: /home size: 69.62 GiB used: 62.07 GiB (89.2%) fs: ext4 dev: /dev/nvme0n1p4
               ID-4: swap-1 size: 16.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p3

NVME is about 3 years old.
Is NVME dying or is there some fix I can do?
Could it be because NVME has only 11% free space?

Let me know if I should provide more info.

EDIT:
All internal disks are on Ext4.
Also, I just noticed it also occurs when copying large stuff from external USB spin disk to SSD. That is bypassing NVME, so it seems it is not the NVME.

EDIT2:
It turned out it is excessive swapping happening, even though there are 2/3 of mem available. When I turn the swap off, I can't reproduce it anymore.

Last edited by vlatkoB (2019-10-04 14:28:23)

Offline

Board footer

Powered by FluxBB