Bug 203265
Summary: | boot/suspend/resume performance: slow suspend/resume in pceiport device on Dell XPS13 9380 | ||
---|---|---|---|
Product: | Power Management | Reporter: | Todd Brandt (todd.e.brandt) |
Component: | Hibernation/Suspend | Assignee: | Zhang Rui (rui.zhang) |
Status: | NEEDINFO --- | ||
Severity: | normal | CC: | lenb, rui.zhang |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 5.0.0 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 178231 | ||
Attachments: |
dell-XPS-13-9380_freeze.html
dell-XPS-13-9380_mem.html issue.def issue.def issue.def |
please attach the output of lspci -tv and this can show what the pcieport actually connects. Created attachment 282411 [details]
dell-XPS-13-9380_mem.html
Here's a timeline from 5.1.0-rc4 where the _ON call happens in usb4 and took 1.6 Sec.
Created attachment 282533 [details]
issue.def
Created attachment 282697 [details]
issue.def
applies to more than dell machines
Created attachment 282701 [details]
issue.def
applies to more than dell machines, changing the maximum time to 100ms
need to see how the things are going in the latest suspend stress test. For 100ms criteria: # function call time more than N ms calltime: acpi_ps_execute_method(fullpath=\\_SB\.PCI0\.RP09\.PXP\._O[NF]*) > 100 We see this on these machines in 5.3.0: 5.3.0+ otcpl-dell-7390-cmlu freeze-x2618 2618 100.00% 5.3.0+ otcpl-whl-u mem-x2497 2497 100.00% 5.3.0+ otcpl-dell-9380-cfl freeze-x2441 2441 100.00% 5.3.0+ otcpl-dell-7390-cmlu mem-x2386 2386 100.00% 5.3.0+ otcpl-dell-9380-cfl mem-x2053 2053 100.00% 5.3.0+ otcpl-icl-u-2 mem-x2571 2 0.08% |
Created attachment 282307 [details] dell-XPS-13-9380_freeze.html The pcieport device takes almost 2 seconds to suspend and 1.5 seconds to resume on the Dell XPS 13 9380. The time is taken executing the ON/OFF code for this BIOS function: Suspend: acpi_ps_execute_method(fullpath=\_SB.PCI0.RP09.PXP._OFF) ret=0x4001 (2076.271ms) Resume: acpi_ps_execute_method(fullpath=\_SB.PCI0.RP09.PXP._ON) ret=0x4001 (1582.116ms) See the attached timeline. BIOS info: bios-release-date : 06/21/2018 bios-vendor : Dell Inc. bios-version : 99.2.10[W10]