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

2017-05-15 Thread Waldemar Rymarkiewicz
On 8 May 2017 at 16:02, Andrew Lunn wrote: > Yes, this is true. I got an off-list email suggesting this power > difference is very significant, more so than actually processing > packets. this is a reason I've started to discuss this topic. PHYS consume a lot of power so from

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

2017-05-15 Thread Waldemar Rymarkiewicz
On 8 May 2017 at 16:02, Andrew Lunn wrote: > Yes, this is true. I got an off-list email suggesting this power > difference is very significant, more so than actually processing > packets. this is a reason I've started to discuss this topic. PHYS consume a lot of power so from thermal perspective

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

2017-05-08 Thread Andrew Lunn
> However, the fact is that PHYs having active 1G/s link generate much > more heat than having 100M/s link independently from network traffic. Yes, this is true. I got an off-list email suggesting this power difference is very significant, more so than actually processing packets. > All cooling

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

2017-05-08 Thread Andrew Lunn
> However, the fact is that PHYs having active 1G/s link generate much > more heat than having 100M/s link independently from network traffic. Yes, this is true. I got an off-list email suggesting this power difference is very significant, more so than actually processing packets. > All cooling

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

2017-05-08 Thread Waldemar Rymarkiewicz
On 28 April 2017 at 13:56, Andrew Lunn wrote: > 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.

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

2017-05-08 Thread Waldemar Rymarkiewicz
On 28 April 2017 at 13:56, Andrew Lunn wrote: > 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

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

2017-04-28 Thread Andrew Lunn
> I collect SoC temp every a few secs. Meantime, I use ethtool -s ethX > 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

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

2017-04-28 Thread Andrew Lunn
> I collect SoC temp every a few secs. Meantime, I use ethtool -s ethX > 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

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

2017-04-28 Thread Waldemar Rymarkiewicz
On 25 April 2017 at 15:45, Alan Cox wrote: >> I am looking on Linux thermal framework and on how to cool down the >> system effectively when it hits thermal condition. Already existing >> cooling methods cpu_cooling and clock_cooling are good. However, I >> wanted to

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

2017-04-28 Thread Waldemar Rymarkiewicz
On 25 April 2017 at 15:45, Alan Cox wrote: >> I am looking on Linux thermal framework and on how to cool down the >> system effectively when it hits thermal condition. Already existing >> cooling methods cpu_cooling and clock_cooling are good. However, I >> wanted to go further and dynamically

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

2017-04-25 Thread Florian Fainelli
Hello, On 04/25/2017 01:36 AM, Waldemar Rymarkiewicz wrote: > Hi, > > I am not much aware of linux networking architecture so I'd like to > ask first before will start to dig into the code. Appreciate any > feedback. > > I am looking on Linux thermal framework and on how to cool down the >

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

2017-04-25 Thread Florian Fainelli
Hello, On 04/25/2017 01:36 AM, Waldemar Rymarkiewicz wrote: > Hi, > > I am not much aware of linux networking architecture so I'd like to > ask first before will start to dig into the code. Appreciate any > feedback. > > I am looking on Linux thermal framework and on how to cool down the >

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

2017-04-25 Thread Alan Cox
> I am looking on Linux thermal framework and on how to cool down the > system effectively when it hits thermal condition. Already existing > cooling methods cpu_cooling and clock_cooling are good. However, I > wanted to go further and dynamically control also a switch ports' > speed based on

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

2017-04-25 Thread Alan Cox
> I am looking on Linux thermal framework and on how to cool down the > system effectively when it hits thermal condition. Already existing > cooling methods cpu_cooling and clock_cooling are good. However, I > wanted to go further and dynamically control also a switch ports' > speed based on

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

2017-04-25 Thread Andrew Lunn
On Tue, Apr 25, 2017 at 10:36:28AM +0200, Waldemar Rymarkiewicz wrote: > Hi, > > I am not much aware of linux networking architecture so I'd like to > ask first before will start to dig into the code. Appreciate any > feedback. > > I am looking on Linux thermal framework and on how to cool down

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

2017-04-25 Thread Andrew Lunn
On Tue, Apr 25, 2017 at 10:36:28AM +0200, Waldemar Rymarkiewicz wrote: > Hi, > > I am not much aware of linux networking architecture so I'd like to > ask first before will start to dig into the code. Appreciate any > feedback. > > I am looking on Linux thermal framework and on how to cool down

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

2017-04-25 Thread Waldemar Rymarkiewicz
Hi, I am not much aware of linux networking architecture so I'd like to ask first before will start to dig into the code. Appreciate any feedback. I am looking on Linux thermal framework and on how to cool down the system effectively when it hits thermal condition. Already existing cooling

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

2017-04-25 Thread Waldemar Rymarkiewicz
Hi, I am not much aware of linux networking architecture so I'd like to ask first before will start to dig into the code. Appreciate any feedback. I am looking on Linux thermal framework and on how to cool down the system effectively when it hits thermal condition. Already existing cooling