gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to do power profiling of a benchmark program? Do I need gem5 for this?

JT
Jaishankar Thommandram
Mon, Oct 15, 2012 11:08 PM

Hello,

I am a Masters student, my project is to do Task scheduling among Multicore
CPU - Dynamic temperature aware scheduling - DTAS.
I am a newbie user of architecture/perfomance simulator tools.

I just have a basic idea of how to proceed with the project.. My first step
is to do the power profiling..

I need a power profile for a benchmark program. I will give this profile as
input to my task scheduler, that I will create later on. Can you tell me
what is the tool that I need for creating power profile? and also some
basics on how to go about it?
I want to create a log of events (events are recorded when a threshold
value of temperature is crossed by the task) and get a complete queue of
all events with -
Each element (t, P, loc) having values
t- time of execution,
P- change in power caused by this event.
loc- indicating which core is utilized.

I am a new user, have just installed linux and had built gem5. I don't know
if gem5 is the tool I would need to use for power profiling.
Should I use Wattch/Simplescalar?

p.s: i haven't created the scheduler yet,, want to start off by doing the
power profiling first. So, any help or suggestion is welcome!

Regards,

Jaishankar

Hello, I am a Masters student, my project is to do Task scheduling among Multicore CPU - Dynamic temperature aware scheduling - DTAS. I am a newbie user of architecture/perfomance simulator tools. I just have a basic idea of how to proceed with the project.. My first step is to do the power profiling.. I need a power profile for a benchmark program. I will give this profile as input to my task scheduler, that I will create later on. Can you tell me what is the tool that I need for creating power profile? and also some basics on how to go about it? I want to create a log of events (events are recorded when a threshold value of temperature is crossed by the task) and get a complete queue of all events with - Each element (t, P, loc) having values t- time of execution, P- change in power caused by this event. loc- indicating which core is utilized. I am a new user, have just installed linux and had built gem5. I don't know if gem5 is the tool I would need to use for power profiling. Should I use Wattch/Simplescalar? p.s: i haven't created the scheduler yet,, want to start off by doing the power profiling first. So, any help or suggestion is welcome! Regards, Jaishankar
AH
Andreas Hansson
Tue, Oct 16, 2012 7:28 AM

Hi Jaishankar,

If you really want to do a power-controlled Linux-scheduler then it sounds more like a PhD thesis (or two) to me :)

Currently, there is no on-line power model in gem5, so this is the first thing to address, and this applies to CPU, caches, interconnect, DRAM, I/O etc. The power monitors also have to be exposed to the OS one way or another, which would require driver support. Once all that is working, the bits and pieces you mention have to be solved, I.e. given a total power/energy reading, how do you pin it to different threads/applications. Lots to do in other words.

Good luck,

Andreas

From: Jaishankar Thommandram <jaishank(a)buffalo.edumailto:jaishank(a)buffalo.edu>
Reply-To: gem5 users mailing list <gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org>
Date: Tuesday, 16 October 2012 00:08
To: "gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org" <gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org>
Subject: [gem5-users] How to do power profiling of a benchmark program? Do I need gem5 for this?

Hello,

I am a Masters student, my project is to do Task scheduling among Multicore CPU - Dynamic temperature aware scheduling - DTAS.
I am a newbie user of architecture/perfomance simulator tools.

I just have a basic idea of how to proceed with the project.. My first step is to do the power profiling..

I need a power profile for a benchmark program. I will give this profile as input to my task scheduler, that I will create later on. Can you tell me what is the tool that I need for creating power profile? and also some basics on how to go about it?
I want to create a log of events (events are recorded when a threshold value of temperature is crossed by the task) and get a complete queue of all events with -
Each element (t, P, loc) having values
t- time of execution,
P- change in power caused by this event.
loc- indicating which core is utilized.

I am a new user, have just installed linux and had built gem5. I don't know if gem5 is the tool I would need to use for power profiling.
Should I use Wattch/Simplescalar?

p.s: i haven't created the scheduler yet,, want to start off by doing the power profiling first. So, any help or suggestion is welcome!

Regards,

Jaishankar

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Hi Jaishankar, If you really want to do a power-controlled Linux-scheduler then it sounds more like a PhD thesis (or two) to me :) Currently, there is no on-line power model in gem5, so this is the first thing to address, and this applies to CPU, caches, interconnect, DRAM, I/O etc. The power monitors also have to be exposed to the OS one way or another, which would require driver support. Once all that is working, the bits and pieces you mention have to be solved, I.e. given a total power/energy reading, how do you pin it to different threads/applications. Lots to do in other words. Good luck, Andreas From: Jaishankar Thommandram <jaishank(a)buffalo.edu<mailto:jaishank(a)buffalo.edu>> Reply-To: gem5 users mailing list <gem5-users(a)gem5.org<mailto:gem5-users(a)gem5.org>> Date: Tuesday, 16 October 2012 00:08 To: "gem5-users(a)gem5.org<mailto:gem5-users(a)gem5.org>" <gem5-users(a)gem5.org<mailto:gem5-users(a)gem5.org>> Subject: [gem5-users] How to do power profiling of a benchmark program? Do I need gem5 for this? Hello, I am a Masters student, my project is to do Task scheduling among Multicore CPU - Dynamic temperature aware scheduling - DTAS. I am a newbie user of architecture/perfomance simulator tools. I just have a basic idea of how to proceed with the project.. My first step is to do the power profiling.. I need a power profile for a benchmark program. I will give this profile as input to my task scheduler, that I will create later on. Can you tell me what is the tool that I need for creating power profile? and also some basics on how to go about it? I want to create a log of events (events are recorded when a threshold value of temperature is crossed by the task) and get a complete queue of all events with - Each element (t, P, loc) having values t- time of execution, P- change in power caused by this event. loc- indicating which core is utilized. I am a new user, have just installed linux and had built gem5. I don't know if gem5 is the tool I would need to use for power profiling. Should I use Wattch/Simplescalar? p.s: i haven't created the scheduler yet,, want to start off by doing the power profiling first. So, any help or suggestion is welcome! Regards, Jaishankar -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
FE
Fernando Endo
Mon, Oct 29, 2012 9:47 AM

Hello,

As you may now know, Jaishankar, McPAT (an external tool) can produce power
profile given architecture info and stats input got from gem5.

Well, I think, the problem is that gem5 still can't take into account
temperature/power to produce performance stats.

This article,
https://docs.google.com/viewer?url=http%3A%2F%2Fwww.hpl.hp.com%2Fresearch%2Fmcpat%2Fmicro09.pdf,
says McPAT could feedback a performance simulator (i.e. gem5) with runtime
power or even temperature, if available.

The performance vs temperature/power is important to my work too.

Please, correct me if in wrong.

Regards,

--
Fernando A. Endo, PhD student and researcher

CEA Lab
and
Université de Grenoble, UJF
France

2012/10/16 Andreas Hansson <Andreas.Hansson(a)arm.com>

Hi Jaishankar,

If you really want to do a power-controlled Linux-scheduler then it sounds
more like a PhD thesis (or two) to me :)

Currently, there is no on-line power model in gem5, so this is the first
thing to address, and this applies to CPU, caches, interconnect, DRAM, I/O
etc. The power monitors also have to be exposed to the OS one way or
another, which would require driver support. Once all that is working, the
bits and pieces you mention have to be solved, I.e. given a total
power/energy reading, how do you pin it to different threads/applications.
Lots to do in other words.

Good luck,

Andreas

From: Jaishankar Thommandram <jaishank(a)buffalo.edu<mailto:
jaishank(a)buffalo.edu>>
Reply-To: gem5 users mailing list <gem5-users(a)gem5.org<mailto:
gem5-users(a)gem5.org>>
Date: Tuesday, 16 October 2012 00:08
To: "gem5-users(a)gem5.orgmailto:gem5-users(a)gem5.org" <gem5-users(a)gem5.org
mailto:gem5-users(a)gem5.org>
Subject: [gem5-users] How to do power profiling of a benchmark program? Do
I need gem5 for this?

Hello,

I am a Masters student, my project is to do Task scheduling among
Multicore CPU - Dynamic temperature aware scheduling - DTAS.
I am a newbie user of architecture/perfomance simulator tools.

I just have a basic idea of how to proceed with the project.. My first
step is to do the power profiling..

I need a power profile for a benchmark program. I will give this profile
as input to my task scheduler, that I will create later on. Can you tell me
what is the tool that I need for creating power profile? and also some
basics on how to go about it?
I want to create a log of events (events are recorded when a threshold
value of temperature is crossed by the task) and get a complete queue of
all events with -
Each element (t, P, loc) having values
t- time of execution,
P- change in power caused by this event.
loc- indicating which core is utilized.

I am a new user, have just installed linux and had built gem5. I don't
know if gem5 is the tool I would need to use for power profiling.
Should I use Wattch/Simplescalar?

p.s: i haven't created the scheduler yet,, want to start off by doing the
power profiling first. So, any help or suggestion is welcome!

Regards,

Jaishankar

-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you.


gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hello, As you may now know, Jaishankar, McPAT (an external tool) can produce power profile given architecture info and stats input got from gem5. Well, I think, the problem is that gem5 still can't take into account temperature/power to produce performance stats. This article, https://docs.google.com/viewer?url=http%3A%2F%2Fwww.hpl.hp.com%2Fresearch%2Fmcpat%2Fmicro09.pdf, says McPAT could feedback a performance simulator (i.e. gem5) with runtime power or even temperature, if available. The performance vs temperature/power is important to my work too. Please, correct me if in wrong. Regards, -- Fernando A. Endo, PhD student and researcher CEA Lab and Université de Grenoble, UJF France 2012/10/16 Andreas Hansson <Andreas.Hansson(a)arm.com> > Hi Jaishankar, > > If you really want to do a power-controlled Linux-scheduler then it sounds > more like a PhD thesis (or two) to me :) > > Currently, there is no on-line power model in gem5, so this is the first > thing to address, and this applies to CPU, caches, interconnect, DRAM, I/O > etc. The power monitors also have to be exposed to the OS one way or > another, which would require driver support. Once all that is working, the > bits and pieces you mention have to be solved, I.e. given a total > power/energy reading, how do you pin it to different threads/applications. > Lots to do in other words. > > Good luck, > > Andreas > > > From: Jaishankar Thommandram <jaishank(a)buffalo.edu<mailto: > jaishank(a)buffalo.edu>> > Reply-To: gem5 users mailing list <gem5-users(a)gem5.org<mailto: > gem5-users(a)gem5.org>> > Date: Tuesday, 16 October 2012 00:08 > To: "gem5-users(a)gem5.org<mailto:gem5-users(a)gem5.org>" <gem5-users(a)gem5.org > <mailto:gem5-users(a)gem5.org>> > Subject: [gem5-users] How to do power profiling of a benchmark program? Do > I need gem5 for this? > > Hello, > > I am a Masters student, my project is to do Task scheduling among > Multicore CPU - Dynamic temperature aware scheduling - DTAS. > I am a newbie user of architecture/perfomance simulator tools. > > I just have a basic idea of how to proceed with the project.. My first > step is to do the power profiling.. > > I need a power profile for a benchmark program. I will give this profile > as input to my task scheduler, that I will create later on. Can you tell me > what is the tool that I need for creating power profile? and also some > basics on how to go about it? > I want to create a log of events (events are recorded when a threshold > value of temperature is crossed by the task) and get a complete queue of > all events with - > Each element (t, P, loc) having values > t- time of execution, > P- change in power caused by this event. > loc- indicating which core is utilized. > > I am a new user, have just installed linux and had built gem5. I don't > know if gem5 is the tool I would need to use for power profiling. > Should I use Wattch/Simplescalar? > > p.s: i haven't created the scheduler yet,, want to start off by doing the > power profiling first. So, any help or suggestion is welcome! > > > Regards, > > Jaishankar > > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other person, use it for any purpose, or store or copy the > information in any medium. Thank you. > > _______________________________________________ > gem5-users mailing list > gem5-users(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users