Comment 0 for bug 1726159

Revision history for this message
George Mathioudakis (gmathioud) wrote : PCIe Error causing really slow laptop performance

I recently bought the following laptop:
Asus VivoBook X542UQ-DM148T - 15.6" (i7-7500U/8GB/256GB/GT 940MX 2GB)

It came pre-installed with Win10 and I did a fresh install of Ubuntu 16.04 LTS. The screen was flickering for some reason and installing Ubuntu 17.04 fixed the issue.

The real problem is that when I'm booting the laptop, the following error is being shown on my screen:

[ 12.866073] pcieport 0000:00:1c.5: can't find device of ID00e5
[ 12.898481] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: id=00e5
[ 12.898488] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00e5(Receiver ID)
[ 12.898491] pcieport 0000:00:1c.5: device [8086:9d15] error status/mask=00002041/00002000
[ 12.898492] pcieport 0000:00:1c.5: [ 0] Receiver Error (First)
[ 12.898493] pcieport 0000:00:1c.5: [ 6] Bad TLP

I know that this error can be hid with one of the following kernel boot arguments:
pci=nomsi / pci=noaer / pcie_aspm=off / pci=nommconf.

The weird thing is that the above output is only being shown when the laptop is on AC Power (charging). When the laptop is not connected to AC (battery-mode), it has performance issues (slow boot and slow application launching). I was trying all day long to fix the problem. I removed everything that had to do with power-saving, reinstalled, re-tweaked for performance but had no luck. While diagnosing, I had the idea to benchmark the "M2 SATA-3 SSD" that my laptop had. The results are:

* On AC Power: 522MB/s (READ) | 416MB/s (WRITE)
* On Battery Power: 32MB/s (READ) | 31MB/s (WRITE)

This explains everyting. That's why I'm having a slow boot and slow application launching!

Commands "lspci" and "dmesg" say that the error comes from the following device:
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)

I will attach lspci and dmesg output on a tar.gz file.

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: linux-image-4.10.0-37-generic 4.10.0-37.41
ProcVersionSignature: Ubuntu 4.10.0-37.41-generic 4.10.17
Uname: Linux 4.10.0-37-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: georgem 2557 F.... pulseaudio
CurrentDesktop: Unity:Unity7
Date: Sun Oct 22 23:17:57 2017
InstallationDate: Installed on 2017-10-20 (2 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 13d3:3496 IMC Networks
 Bus 001 Device 003: ID 13d3:5a01 IMC Networks
 Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X542UQ
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-37-generic.efi.signed root=UUID=38d32efc-d0cb-4a82-9e6c-e6a3bd62e51d ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.10.0-37-generic N/A
 linux-backports-modules-4.10.0-37-generic N/A
 linux-firmware 1.164.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/18/2017
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X542UQ.202
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X542UQ
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX542UQ.202:bd05/18/2017:svnASUSTeKCOMPUTERINC.:pnX542UQ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX542UQ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X542UQ
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.