[PATCH V8 4/5] PCI/ASPM: save power on values during bridge init
Sinan Kaya
okaya at codeaurora.org
Fri Apr 14 18:17:02 EDT 2017
On 4/14/2017 5:44 PM, Bjorn Helgaas wrote:
> I think there's an argument to be made that if we care about ASPM
> configuration, we should be using a non-POLICY_DEFAULT setting. And I
> think there's value in having POLICY_DEFAULT be the absolute lowest-
> risk setting, which I think means option 1.
>
> What do you think?
I see your point. The counter argument is that most of the users do not
know what an ASPM kernel command line is unless they understand PCI
language.
I have been using the powersave policy option until now. I recently realized
that nobody except me is using this option. Therefore, we are wasting
power by default following a hotplug insertion.
This is the case where I'm trying to avoid. With the introduction of NVMe
u.2 drives, hotplug is becoming more and more mainstream. I decided to
take the matters into my hand with this series for this very reason.
Like you said, BIOS is out of the picture with pciehp. There is nobody
to configure ASPM following a hotplug insertion.
I can also claim that If user wants performance, they should boot with
the performance policy or pcie_aspm=off parameters.
I saw this recommendation in multiple DPDK tuning documents.
Like you said, what do we do by default is the question. Should we opt
for safe like we are doing, or try to save some power.
Maybe, we are missing a HPP option from the PCI spec.
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the linux-arm-kernel
mailing list