From: Heiner Kallweit <hkallweit1@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>, Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>,
"David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Realtek NIC uses over 1 Watt with no traffic
Date: Tue, 20 Nov 2018 21:14:21 +0100 [thread overview]
Message-ID: <c3ff00a1-ac51-7f27-8e90-b753f316866d@gmail.com> (raw)
In-Reply-To: <20181120144556.GC18335@lunn.ch>
On 20.11.2018 15:45, Andrew Lunn wrote:
> On Tue, Nov 20, 2018 at 09:40:25AM +0100, Paul Menzel wrote:
>> Dear Linux folks,
>>
>>
>> Using Ubuntu 18.10, Linux 4.18.0-11-generic, PowerTOP 2.9 shows, the NIC
>> uses 1.77 Watts. A network cable is plugged in, but there is no real traffic
>> according to `iftop`. Only an email program is running.
>>
>> $ lspci -nn -s 3:00.1
>> 03:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd.
>> RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev
>> 12)
>>
>> Is that a measurement error, or does the NIC really need that much power?
>
> Hi Paul
>
> This sounds like Energy Efficient Ethernet, EEE, is not enabled.
>
> What does ethtool --show-eee ethX say?
>
> Andrew
>
The r8169 driver doesn't support the get_eee ethtool_ops callback.
For certain chip versions EEE gets enabled in the PHY init, for others
not and some don't seem to support EEE at all.
Apart from EEE one important factor affecting power consumption is ASPM.
This was recently enabled for certain chip versions.
Information that would help:
whether Wake-on-LAN is enabled ("Wake-on:" line from ethtool output)
lspci -vv output for the Realtek NIC
Info from powertop about package C states. With ASPM my system reaches
50% PC7 + 50% PC10.
dmesg output filtered for "r8169". Primarily relevant is the line with
the chip name and XID.
Heiner
next prev parent reply other threads:[~2018-11-20 20:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-20 8:40 Realtek NIC uses over 1 Watt with no traffic Paul Menzel
2018-11-20 14:45 ` Andrew Lunn
2018-11-20 20:14 ` Heiner Kallweit [this message]
2018-11-20 20:31 ` Paul Menzel
2018-11-20 21:06 ` Heiner Kallweit
2018-11-20 22:25 ` Paul Menzel
2018-11-20 22:29 ` Heiner Kallweit
2018-11-20 20:20 ` Paul Menzel
2018-11-20 20:37 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c3ff00a1-ac51-7f27-8e90-b753f316866d@gmail.com \
--to=hkallweit1@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
--cc=pmenzel@molgen.mpg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).