Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1632823

Re: Network cooling device and how to control NIC speed on thermal condition

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: Network cooling device and how to control NIC speed on thermal condition
Date 2017-04-28 14:00 +0200
Message-ID <tBcJ4-6Ni-15@gated-at.bofh.it> (permalink)
References <tA4aS-2hp-13@gated-at.bofh.it> <tA90S-5mC-11@gated-at.bofh.it> <tB98u-4Ii-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> I collect SoC temp every a few secs. Meantime, I use ethtool -s ethX
> speed <speed> to manipulate link speed and to see how it impacts SoC
> temp. My 4 PHYs and switch are integrated into SoC and I always
> change link speed for all PHYs , no traffic on the link for this test.
> Starting with 1Gb/s and then scaling down to 100 Mb/s and then to
> 10Mb/s, I see significant  ~10 *C drop in temp while link is set to
> 10Mb/s.

Is that a realistic test? No traffic over the network? If you are
hitting your thermal limit, to me that means one of two things:

1) The device is under very heavy load, consuming a lot of power to do
   what it needs to to.

2) Your device is idle, no packets are flowing, but your thermal
   design is wrong, so that it cannot dissipate enough heat.

It seems to me, you are more interested in 1). But your quick test is
more about 2).

I would be more interested in do quick tests of switching 8Gbps,
4Gbps, 2Gbps, 1Gbps, 512Mbps, 256Bps, ... What effect does this have
on temperature?

> So, throttling link speed can really help to dissipate heat
> significantly when the platform is under threat.
> 
> Renegotiating link speed costs something I agree, it also impacts user
> experience, but such a thermal condition will not occur often I
> believe.

It is a heavy handed approach, and you have to be careful. There are
some devices which don't work properly, e.g. if you try to negotiate
1000 half duplex, you might find the link just breaks.

Doing this via packet filtering, dropping packets, gives you a much
finer grained control and is a lot less disruptive. But it assumes
handling packets is what it causing you heat problems, not the links
themselves.

	Andrew

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Network cooling device and how to control NIC speed on thermal condition Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-04-25 10:40 +0200
  Re: Network cooling device and how to control NIC speed on thermal  condition Andrew Lunn <andrew@lunn.ch> - 2017-04-25 15:20 +0200
  Re: Network cooling device and how to control NIC speed on thermal  condition Alan Cox <gnomes@lxorguk.ukuu.org.uk> - 2017-04-25 15:50 +0200
    Re: Network cooling device and how to control NIC speed on thermal condition Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-04-28 10:10 +0200
      Re: Network cooling device and how to control NIC speed on thermal  condition Andrew Lunn <andrew@lunn.ch> - 2017-04-28 14:00 +0200
        Re: Network cooling device and how to control NIC speed on thermal condition Waldemar Rymarkiewicz <waldemar.rymarkiewicz@gmail.com> - 2017-05-08 10:20 +0200
          Re: Network cooling device and how to control NIC speed on thermal  condition Andrew Lunn <andrew@lunn.ch> - 2017-05-08 16:10 +0200
  Re: Network cooling device and how to control NIC speed on thermal  condition Florian Fainelli <f.fainelli@gmail.com> - 2017-04-25 18:30 +0200

csiph-web