пятница

[Bug 1726159] Re: PCIe BUS Error causing really slow laptop performance

We should not need to use "pci=noaer". Generally we should not see
reproducible PCIe Correctable Errors in significant numbers. Some have
reported that "pcie_aspm=off" avoids the errors. If that's the case for
you, see
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2043665/comments/6
and help me investigate it!

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/1726159

Title:
PCIe BUS Error causing really slow laptop performance

Status in linux package in Ubuntu:
Confirmed

Bug description:
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, tried different kernels 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.

--------------------------------------------------------------------------
UPDATE: When the laptop is fully charged and still on AC (but not charging since it is 100% charged), the errors appear again but the SSD speed is normal (~500 Read/Write).
--------------------------------------------------------------------------
UPDATE: I installed 'tlp' Advanced Power Management package and when using the command 'tlp ac', the SSD speed gets back to normal! The option does not persist across reboots.
--------------------------------------------------------------------------

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1726159/+subscriptions

Комментариев нет:

Отправить комментарий