From mohamed_elsawaf at yahoo.com Sat Feb 2 01:34:07 2008 From: mohamed_elsawaf at yahoo.com (Mohamed Elsawaf) Date: Sat, 2 Feb 2008 01:34:07 -0800 (PST) Subject: [Hotspot] Multiple Core Chip thermal model Message-ID: <772451.86639.qm@web53710.mail.re2.yahoo.com> Hi I am doing academic research regarding automatic control of Multiple Core CPU in order to avoid thermal throttling. I am trying to model Multiple Core using hotspot 4 so I can build a controller that manager the operation frequency of each core as DTM controller to reach overall stable CPU performance. I need to know real data regarding Multiple Core chip [ same as EV6 example] so I can build hotspot configuration files Did you use hotspot with Multiple Core chip thermal analysis? Can you please send me configuration files required? or just how to build them? can we change operating frequency of each core within hotspot 4 simulation or we have just 1 base_proc_freq? Also i wold like to thanks hotspot team for their efforts Thank you Mohamed Elsawaf Faculty of engineering Cairo University Egypt ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From ks4kk at cs.virginia.edu Sat Feb 2 06:46:01 2008 From: ks4kk at cs.virginia.edu (Karthik Sankaranarayanan) Date: Sat, 2 Feb 2008 09:46:01 -0500 (EST) Subject: [Hotspot] Multiple Core Chip thermal model In-Reply-To: <772451.86639.qm@web53710.mail.re2.yahoo.com> References: <772451.86639.qm@web53710.mail.re2.yahoo.com> Message-ID: HotSpot is a thermal model and does not model performance or power. It is designed to work with any performance/power model through a trace and configuration file interface. Modeling of multicore DTM performance/power would have to be done in your performance/power simulator. As far as HotSpot is concerned, a multicore floorplan can be specified just like a unicore floorplan but now with multiple sets of functional blocks (one per core). The power trace files will also have to provide power values for each of these functional block sets. The base_proc_freq parameter in HotSpot/HotFloorplan is used just to convert delay values from seconds into cycles. Otherwise its use is only illustrative as in the template simulator (sim-template_block.c) Hope this helps. Please let us know if you have further questions. -karthik On Sat, 2 Feb 2008, Mohamed Elsawaf wrote: > Hi > > I am doing academic research regarding automatic > control of Multiple Core CPU in order to avoid thermal > throttling. > I am trying to model Multiple Core using hotspot 4 so > I can build a controller that manager the operation > frequency of each core as DTM controller to reach > overall stable CPU performance. > I need to know real data regarding Multiple Core chip > [ same as EV6 example] so I can build hotspot > configuration files > > Did you use hotspot with Multiple Core chip thermal > analysis? > Can you please send me configuration files required? > or just how to build them? > can we change operating frequency of each core within > hotspot 4 simulation or we have just 1 base_proc_freq? > > Also i wold like to thanks hotspot team for their > efforts > > Thank you > > Mohamed Elsawaf > Faculty of engineering > Cairo University Egypt > > > ____________________________________________________________________________________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping > _______________________________________________ > HotSpot mailing list > HotSpot at mail.cs.virginia.edu > http://www.cs.virginia.edu/mailman/listinfo/hotspot > From mohamed_elsawaf at yahoo.com Mon Feb 4 10:09:00 2008 From: mohamed_elsawaf at yahoo.com (Mohamed Elsawaf) Date: Mon, 4 Feb 2008 10:09:00 -0800 (PST) Subject: [Hotspot] Multiple Core Chip thermal model In-Reply-To: Message-ID: <85634.73446.qm@web53701.mail.re2.yahoo.com> Dear Karthik Thank you for your fast response and useful information. you said: "The power trace files will also have to provide power values for each of these functional block sets" can you please clarify? how can i get power trace files also for modeling multicore floorplan just like unicore floorplan will not take into consideration that some core will be set on hold as thermal spare core i am wondering if you have multicore configuration files example as this will help thank you Mohamed Elsawaf ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From ks4kk at cs.virginia.edu Mon Feb 4 12:00:28 2008 From: ks4kk at cs.virginia.edu (Karthik Sankaranarayanan) Date: Mon, 4 Feb 2008 15:00:28 -0500 (EST) Subject: [Hotspot] Multiple Core Chip thermal model In-Reply-To: <85634.73446.qm@web53701.mail.re2.yahoo.com> References: <85634.73446.qm@web53701.mail.re2.yahoo.com> Message-ID: > you said: > "The power trace files will also have to provide power > values for each of these functional block sets" > can you please clarify? how can i get power trace > files By power trace files, I meant the *.ptrace sample files that come with the HotSpot distribution or files of a similar format that will be generated by your performance/power simulator. > also for modeling multicore floorplan just like > unicore floorplan > will not take into consideration that some core will > be set on hold as thermal spare core In that case, the power values for the functional blocks corresponding to the spare core should be set to zero. > i am wondering if you have multicore configuration > files example as this will help Here is a simple example: Let us say our unicore processor has only two functional blocks - "b0" and "b1". Each is a 10mmx5mm rectangle placed one below the other (so the total chip is a 10 mm x 10 mm square). Then the floorplan would look something like below: ---------- | | | b1 | |----------| | | | b0 | ---------- The floorplan file corresponding to this unicore would be something like below: (line format: \t\t\t\t) b0 0.010 0.005 0 0 b1 0.010 0.005 0 0.005 Let us assume that the b0 consumed 5 W during every odd simulation interval and 7 W every even interval (starting with interval 0). Similarly let us say b1 consumed 1 W during every odd interval and 2 W every even interval. Then the power trace file would look something like (format: header line with tab separated unit names followed by data lines with tab separated power values in Watts per calling interval). b0 b1 7 2 5 1 7 2 5 1 ... and so on for the total no. of calling intervals simulated. In case we want to model a 4-way CMP that is also 10 mm x 10 mm in die size and is built by shrinking the the lateral dimensions of the above unicore by half, then the floorplan would look something like below: --------------------- | | | | core2 | core3 | | | | | | | --------------------- | | | | core0 | core1 | | | | | | | --------------------- (or) in detail: --------------------- | | | | core2_b1 | core3_b1 | ---------- ---------- | | | | core2_b0 | core3_b0 | --------------------- | | | | core0_b1 | core1_b1 | ---------- ---------- | | | | core0_b0 | core1_b0 | --------------------- the correspondig floorplan file would look something like: core0_b0 0.005 0.0025 0 0 core0_b1 0.005 0.0025 0 0.0025 core1_b0 0.005 0.0025 0.005 0 core1_b1 0.005 0.0025 0.005 0.0025 core2_b0 0.005 0.0025 0 0.005 core2_b1 0.005 0.0025 0 0.0075 core3_b0 0.005 0.0025 0.005 0.005 core3_b1 0.005 0.0025 0.005 0.0075 Assuming core2 is the spare core that is unused in our desired set of calling intervals and that the remaining cores dissipate power as before, the power trace file would look something like: core0_b0 core0_b1 core1_b0 core1_b1 core2_b0 core2_b1 core3_b0 core3_b1 7 2 7 2 0 0 7 2 5 1 5 1 0 0 5 1 7 2 7 2 0 0 7 2 5 1 5 1 0 0 5 1 ... and so on for the total no. of calling intervals simulated. Hope this example clarifies the multicore usage. Let us know if you have anymore questions. Thanks, karthik From augusto.vega at bsc.es Tue Feb 19 03:40:29 2008 From: augusto.vega at bsc.es (Augusto Vega) Date: Tue, 19 Feb 2008 12:40:29 +0100 Subject: [Hotspot] HotSpot for other power traces Message-ID: <47BAC02D.2070902@bsc.es> Hi, I was taking a look at previous posts but I couldn't find anything related to this topic. My question is about how to generate new power trace files for using with HotSpot. I know that there exist a tool called Wattch. The problem with Wattch is that it's attached to SimpleScalar and I don't want to use SimpleScalar but my own simulator. Any help will be highly appreciated. Sorry if it was discussed previously (I'm new in the list). Thank you in advance, Augusto From skadron at cs.virginia.edu Tue Feb 19 19:16:47 2008 From: skadron at cs.virginia.edu (Kevin Skadron) Date: Tue, 19 Feb 2008 22:16:47 -0500 Subject: [Hotspot] HotSpot for other power traces In-Reply-To: <47BAC02D.2070902@bsc.es> References: <47BAC02D.2070902@bsc.es> Message-ID: <47BB9B9F.6010607@cs.virginia.edu> You will need some simulator that can model power at the desired granularity. Then at each timestep, your power simulator should dump out (in the format HotSpot expects) the average power over that timestep for each block in the floorplan you will provide to HotSpot. --Kevin Augusto Vega wrote: > Hi, > > I was taking a look at previous posts but I couldn't find anything > related to this topic. My question is about how to generate new power > trace files for using with HotSpot. I know that there exist a tool > called Wattch. The problem with Wattch is that it's attached to > SimpleScalar and I don't want to use SimpleScalar but my own simulator. > Any help will be highly appreciated. > > Sorry if it was discussed previously (I'm new in the list). > > Thank you in advance, > > Augusto > _______________________________________________ > HotSpot mailing list > HotSpot at mail.cs.virginia.edu > http://www.cs.virginia.edu/mailman/listinfo/hotspot