Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Fredy P.
On Thu, 2019-07-25 at 17:34 +0200, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 02:31:40PM +, Jan Beulich wrote: > > On 25.07.2019 16:17, Roger Pau Monné wrote: > > > On Thu, Jul 25, 2019 at 01:59:22PM +, Jan Beulich wrote: > > > > On 25.07.2019 15:47, Roger Pau Monné wrote: > > > > >

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 02:31:40PM +, Jan Beulich wrote: > On 25.07.2019 16:17, Roger Pau Monné wrote: > > On Thu, Jul 25, 2019 at 01:59:22PM +, Jan Beulich wrote: > >> On 25.07.2019 15:47, Roger Pau Monné wrote: > >>> On Thu, Jul 25, 2019 at 09:29:01AM -0400, Fredy P. wrote: > On Th

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Jan Beulich
On 25.07.2019 16:17, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 01:59:22PM +, Jan Beulich wrote: >> On 25.07.2019 15:47, Roger Pau Monné wrote: >>> On Thu, Jul 25, 2019 at 09:29:01AM -0400, Fredy P. wrote: On Thu, 2019-07-25 at 15:13 +0200, Roger Pau Monné wrote: > On Thu, Jul

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Fredy P.
-- Fredy Pulido, Consultant en logiciel libre Infrastructure, Infonuagique et architecture de systèmes Savoir-faire Linux, Montréal, Qc Bureau : (+ 1) 514 276-5468 p.410 Message de confidentialité : Ce courriel (de même que les fichiers joints) est strictement réservé à l'usage de la personne ou

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 01:59:22PM +, Jan Beulich wrote: > On 25.07.2019 15:47, Roger Pau Monné wrote: > > On Thu, Jul 25, 2019 at 09:29:01AM -0400, Fredy P. wrote: > >> On Thu, 2019-07-25 at 15:13 +0200, Roger Pau Monné wrote: > >>> On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote:

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 01:43:34PM +, Jan Beulich wrote: > On 25.07.2019 15:13, Roger Pau Monné wrote: > > On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: > >> On 25.07.2019 14:44, Fredy P. wrote: > >>> On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: > >> What hard

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Jan Beulich
On 25.07.2019 15:47, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 09:29:01AM -0400, Fredy P. wrote: >> On Thu, 2019-07-25 at 15:13 +0200, Roger Pau Monné wrote: >>> On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: On 25.07.2019 14:44, Fredy P. wrote: > On Wed, 2019-07-24

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Jan Beulich
On 25.07.2019 15:13, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: >> On 25.07.2019 14:44, Fredy P. wrote: >>> On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: >> What hardware interface does thermald (or the driver in Linux if >> there's

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 09:29:01AM -0400, Fredy P. wrote: > On Thu, 2019-07-25 at 15:13 +0200, Roger Pau Monné wrote: > > On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: > > > On 25.07.2019 14:44, Fredy P. wrote: > > > > On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: > > >

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Fredy P.
On Thu, 2019-07-25 at 15:13 +0200, Roger Pau Monné wrote: > On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: > > On 25.07.2019 14:44, Fredy P. wrote: > > > On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: > > > > > > What hardware interface does thermald (or the driver in > >

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Roger Pau Monné
On Thu, Jul 25, 2019 at 12:54:46PM +, Jan Beulich wrote: > On 25.07.2019 14:44, Fredy P. wrote: > > On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: > What hardware interface does thermald (or the driver in Linux if > there's one) use to get the temperature data? > > > > I

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Fredy P.
On IRC Andrew told me "I can see why thermal monitoring is useful from dom0, and we should figure out some way to fix it, but simply undoing that change isn't the right thing to do" -- Fredy Pulido, Consultant en logiciel libre Infrastructure, Infonuagique et architecture de systèmes Savoir-fair

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Jan Beulich
On 25.07.2019 14:44, Fredy P. wrote: > On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: What hardware interface does thermald (or the driver in Linux if there's one) use to get the temperature data? > > In our initial POC using Xen 4.8.x we where using Linux coretemp driver >

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-25 Thread Fredy P.
On Wed, 2019-07-24 at 17:41 +0200, Roger Pau Monné wrote: > > > What hardware interface does thermald (or the driver in Linux if > > > there's one) use to get the temperature data? In our initial POC using Xen 4.8.x we where using Linux coretemp driver reading by example /class/sys/hwmon/hwmon0/t

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Fredy P.
On Wed, 2019-07-24 at 17:35 +0200, Roger Pau Monné wrote: > OK, I assumed the question was about reading the CPU temperature and > then changing the frequency of the CPU, but not related to T-states. Yes, the question is about reading the CPU temperature, How to change it is already "solved" (we w

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Jan Beulich
On 24.07.2019 17:35, Roger Pau Monné wrote: > On Wed, Jul 24, 2019 at 02:47:19PM +, Jan Beulich wrote: >> On 24.07.2019 16:36, Roger Pau Monné wrote: >>> On Wed, Jul 24, 2019 at 10:01:40AM -0400, Fredy P. wrote: My objective is to get CPU frequency throttling based on the temperatur

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Roger Pau Monné
On Wed, Jul 24, 2019 at 11:25:55AM -0400, Fredy P. wrote: > Hello, answering between lines > On Wed, 2019-07-24 at 16:36 +0200, Roger Pau Monné wrote: > > On Wed, Jul 24, 2019 at 10:01:40AM -0400, Fredy P. wrote: > > > If the answer for first question is not, then there is any way to > > > get > >

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Roger Pau Monné
On Wed, Jul 24, 2019 at 02:47:19PM +, Jan Beulich wrote: > On 24.07.2019 16:36, Roger Pau Monné wrote: > > On Wed, Jul 24, 2019 at 10:01:40AM -0400, Fredy P. wrote: > >> My objective is to get CPU frequency throttling based on the > >> temperature in a Xen/OpenWRT(dom0) system. > >> > >> After

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Fredy P.
es copies et le supprimer de votre système informatique. Forwarded Message From: Fredy P. To: Roger Pau Monné Subject: Re: [Xen-devel] CPU frequency throttling based on the temperature Date: Wed, 24 Jul 2019 11:00:51 -0400 Hello, answering between lines On Wed, 2019-07-24 at 16:

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Jan Beulich
On 24.07.2019 16:36, Roger Pau Monné wrote: > On Wed, Jul 24, 2019 at 10:01:40AM -0400, Fredy P. wrote: >> My objective is to get CPU frequency throttling based on the >> temperature in a Xen/OpenWRT(dom0) system. >> >> After to expend hours reading Xen's wiki, mailing list archives, >> commits, g

Re: [Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Roger Pau Monné
On Wed, Jul 24, 2019 at 10:01:40AM -0400, Fredy P. wrote: > Hello, > > My objective is to get CPU frequency throttling based on the > temperature in a Xen/OpenWRT(dom0) system. > > After to expend hours reading Xen's wiki, mailing list archives, > commits, googling and asking in the IRC channel I

[Xen-devel] CPU frequency throttling based on the temperature

2019-07-24 Thread Fredy P.
Hello, My objective is to get CPU frequency throttling based on the temperature in a Xen/OpenWRT(dom0) system. After to expend hours reading Xen's wiki, mailing list archives, commits, googling and asking in the IRC channel I'm coming here asking for help because I hope there is something I miss