[lxc-devel] cgroup cpuacct enhancement

2011-10-04 Thread Martin . Perry
Hello.

I apologize if this is not the right list for this question, but it was 
the best match I could find. I'm working on a project to estimate the 
power consumption of jobs running on a Linux HPC cluster.  We've been 
looking into the possibility of producing this estimate using cgroups with 
the cpuacct subsystem.  cpuacct currently collects only cpu time.  If it 
also collected cpu cycles we could use these two values to calculate the 
cpu frequency and estimate the job's power consumption.  So my questions 
are:
Is it feasible to enhance cgroup cpuacct to provide this additional data 
(number of cpu cycles)?
Is there anyone actively working on cgroups who would be willing to make 
this change?

Regards,
Martin Perry
Bull Information Systems

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] cgroup cpuacct enhancement

2011-10-06 Thread Martin . Perry
Marian,
Thanks for the info.  Paul Menage also directed me to containers@
lists.linux-foundation.org.  I'm having a hard time finding out how to 
subscribe to that list.  Do you know the procedure?
Thanks,
Martin





Marian Marinov  
10/04/2011 07:36 PM

To
lxc-devel@lists.sourceforge.net
cc

Subject
Re: [lxc-devel] cgroup cpuacct enhancement






On Wednesday 05 October 2011 01:25:15 martin.pe...@bull.com wrote:
> Hello.
> 
> I apologize if this is not the right list for this question, but it was
> the best match I could find. I'm working on a project to estimate the
> power consumption of jobs running on a Linux HPC cluster.  We've been
> looking into the possibility of producing this estimate using cgroups 
with
> the cpuacct subsystem.  cpuacct currently collects only cpu time.  If it
> also collected cpu cycles we could use these two values to calculate the
> cpu frequency and estimate the job's power consumption.  So my questions
> are:
> Is it feasible to enhance cgroup cpuacct to provide this additional data
> (number of cpu cycles)?
> Is there anyone actively working on cgroups who would be willing to make
> this change?
> 
> Regards,
> Martin Perry
> Bull Information Systems

Hi Martin,

I think that you would want to ask here:
Paul Menage  {} 
Li Zefan  {} 
 {} 

These are the maintainers of cgroups within the kernel.

I personally think that this is possible.

However I haven't done any research on that.

Regards,
Marian
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel



signature.asc
Description: Binary data
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] cgroup cpuacct enhancement

2011-10-07 Thread Martin . Perry
Ok, Greg.  Thanks.  --Martin




Greg Kurz  
10/06/2011 11:56 PM

To
martin.pe...@bull.com
cc
lxc-devel@lists.sourceforge.net
Subject
Re: [lxc-devel] cgroup cpuacct enhancement






On Thu, 2011-10-06 at 15:12 -0700, martin.pe...@bull.com wrote:
> Marian, 
> Thanks for the info.  Paul Menage also directed me to
> contain...@lists.linux-foundation.org.  I'm having a hard time finding
> out how to subscribe to that list.  Do you know the procedure? 
> Thanks, 
> Martin 

Hi Martin,

It's a regular mailman list. You just need to send an email to
containers-requ...@lists.linux-foundation.org with subscribe in the
subject or body... The only issue I see so far is that the list seems to
be down since Sep. 10... This is what one gets when accessing
http://lists.linux-foundation.org/ :

"This site is down for maintenance. We will be restoring service
shortly. Thank you for your patience.

The Linux Foundation"

I guess you should Cc: LKML instead of containers@

Cheers.

-- 
Gregory Kurz gk...@fr.ibm.com
Software Engineer @ IBM/Meiosys  http://www.ibm.com
Tel +33 (0)534 638 479   Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
Alan Moore.


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel