nvme driver issue causing massive system lag on resume from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When I resume from suspend, my system initially appears to be frozen. The screen is black and/or the input devices are not working.
After several minutes, I can switch to a console (and then to the desktop) but the system is under full load, to the point that even trivial commands will take up to three minutes to execute.
The only way out of this situation is to do a reboot.
I see that dmesg is showing an NVME related stack trace and then the repeating message "timeout, completion polled".
I ran into the same issue a few months ago when I started using my current motherboard (ASUS Prime x470-PRO). It got solved by flashing my BIOS to the latest version. ASUS have not put out any newer since then so I guess this will require a kernel fix.
UPDATE: this would appear to be happening only when I run my CPU in powersave mode (reduced speed and 4-6 vCPUs disabled).
release: ubuntu 20.04
kernel: Linux Dapple 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
also tried kernel: Linux Dapple 5.4.0-34-generic #38-Ubuntu SMP Mon May 25 15:46:55 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux (developer repository)
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 8 04:43:36 2020
InstallationDate: Installed on 2020-04-05 (63 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
IwConfig:
lo no wireless extensions.
enp10s0 no wireless extensions.
MachineType: System manufacturer System Product Name
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187
RfKill:
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/13/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5406
dmi.board.
dmi.board.name: PRIME X470-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
I am including the output of the dmesg command as ran immediately after resume from suspend - it shows the stack trace I am referring to in my bug report.