On Tue, Apr 12, 2016 at 7:15 PM, Paul Sturm <pst...@computervoice.com> wrote:
> From: "Tantilov, Emil S" <emil.s.tanti...@intel.com>
> To: "psturm" <pst...@computervoice.com>
> Cc: "e1000-devel" <e1000-devel@lists.sourceforge.net>
> Sent: Wednesday, April 6, 2016 12:52:35 PM
> Subject: RE: dmesg warnings for ixgbe on Xeon D-1540
>
>>>-----Original Message-----
>>>From: Paul Sturm [mailto:pst...@computervoice.com]
>>>Sent: Tuesday, April 05, 2016 10:46 AM
>>>To: Tantilov, Emil S <emil.s.tanti...@intel.com>
>>>Cc: e1000-devel <e1000-devel@lists.sourceforge.net>
>>>Subject: Re: dmesg warnings for ixgbe on Xeon D-1540
>>>
>>>Perhaps "problem" was a poor choice of words. I have not yet begun testing
>>>the interface. I first wanted to see the driver load cleanly. So I am
>>>asking about both the ACPI warning and also the pmd_set_huge message. Does
>>>that clarify my request?
>
>>If there are any issues with the driver you would generally see a message
>>prefixed with "ixgbe:". For the ACPI warning - you may have better luck
>>getting an answer on a kernel mailing list.
>>
>>Thanks,
>>Emil
>
> Emil,
>
> I am happy to try to get a resolution on the ACPI issue from another list, 
> but can you please assist with the hugepage/MTRR issue? I have built the 
> driver into the kernel and also loaded it as a module. If I do not load the 
> driver at all, I do not get the warning. If I build it in the kernel or load 
> it as a module, I get the warning. I even set a kernel param for 
> hugepagesz=1GB to make sure a huge page would be available to the driver. 
> Here is the relevant snippet from the dmesg. I am attaching the full dmesg 
> for your reference.
>
> Thanks,
>
> Paul
>
> [ 5453.184701] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - 
> version 4
> .2.1-k
> [ 5453.184704] ixgbe: Copyright (c) 1999-2015 Intel Corporation.
> [ 5453.184767] ACPI Warning: \_SB_.PCI0.BR2C._PRT: Return Package has no 
> elements (empty) (20150930/nsprepkg-126)
> [ 5453.184891] pmd_set_huge: Cannot satisfy [mem 
> 0x383fffa00000-0x383fffc00000] with a huge-page mapping due to MTRR override.
> [ 5454.248014] ACPI Warning: \_SB_.PCI0.BR2C._PRT: Return Package has no 
> elements (empty) (20150930/nsprepkg-126)
> [ 5454.248077] ixgbe 0000:03:00.0: Multiqueue Enabled: Rx Queue count = 16, 
> Tx Queue count = 16
> [ 5454.318583] ixgbe 0000:03:00.0: MAC: 5, PHY: 6, PBA No: 020000-000
> [ 5454.318585] ixgbe 0000:03:00.0: 0c:c4:7a:74:1a:21
> [ 5454.345097] ixgbe 0000:03:00.0 eno1: renamed from eth2
> [ 5454.357509] ixgbe 0000:03:00.0: Intel(R) 10 Gigabit Network Connection
> [ 5454.357680] ACPI Warning: \_SB_.PCI0.BR2C._PRT: Return Package has no 
> elements (empty) (20150930/nsprepkg-126)
> [ 5455.935104] ACPI Warning: \_SB_.PCI0.BR2C._PRT: Return Package has no 
> elements (empty) (20150930/nsprepkg-126)
> [ 5455.935167] ixgbe 0000:03:00.1: Multiqueue Enabled: Rx Queue count = 16, 
> Tx Queue count = 16
> [ 5456.005691] ixgbe 0000:03:00.1: MAC: 5, PHY: 6, PBA No: 020000-000
>
> Earlier you see:
> [ 0.325307] HugeTLB registered 1 GB page size, pre-allocated 0 pages
> [ 0.325315] HugeTLB registered 2 MB page size, pre-allocated 0 pages
>
> I also tried pre-allocating both 1GB and 2MB HugeTLBs, but the driver always 
> wants to go to a memory area that the MTRR seems to have overriden. So there 
> are HugeTLBs available, just not where the driver wants to look apparently?

Paul,

You aren't going to find a bug in the driver causing any issues.  You
would be much better off taking this onto the linux-mm list and asking
there.

I'm suspecting this is expected behavior due to the fact that you are
limited to 4K pages for regions that are defined as being UC via the
MTRR, or at least that is my understanding of how this ends up working
out.  You might reference the patch set that enabled huge pages for IO
for more information, https://lwn.net/Articles/635357/

- Alex

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to