-
Notifications
You must be signed in to change notification settings - Fork 7
Description
The SPX, running the latest kernel Linux surface-pro-x 6.6.8-1, is extremely slow when a lot of IO is being performed.
The device becomes incredibly unresponsive in read or write intensive operations such as:
- Network download
- Package update / System update
- Copying files between media
After a small analysis I was able to determine the reason: the IO seems to be causing the whole system to hang.
To reproduce the issue, one can start an SSD benchmark (e.g: via the gnome-disks application) and look at the CPU usage / IO usage.
When such a test is performed, the disk is quite efficient (140MB/s in read), but the whole system start lagging:

During testing, glxgears hangs (or is extremely slow), the CPU is not under pressure and I/O is very high.
This results in a very slow system (everything freezes).
The queue scheduler currently used is none:
$ cat /sys/block/nvme0n1/queue/scheduler
[none] mq-deadline kyber bfq
Switching this makes things even worse.
Does anyone have any clue on what's going on here? I don't think IO should cause a whole system freeze