From pbehzadn at mail.usf.edu Mon Aug 1 05:39:27 2011 From: pbehzadn at mail.usf.edu (Peyman Behzadnia) Date: Mon, 1 Aug 2011 05:39:27 -0400 Subject: [Disksim-users] The Disk's " Rotation speed (in rpms)" parameter value in the source code! Message-ID: Dear all, I have a question regarding the source code of the disksim. I'd be grateful if anybody has any hint or comment about it. For my current research simulation, i'm in need of dynamically changing the rotation speed of some disks during the simulation for power-saving purposes. In other words, the value of rotation speed parameter of the disk mechanical model should be changed after a particular elapsed time. For this goal, i have to figure out where this parameter value of each disk is stored in the code and how this parameter is loaded and used for rotational latency calculation. I found out that the main information is in the disksim_diskctlr.c (mainly in the lines 4105-4111) for calculating the rotational latency of each request. However, i have not figured out yet where exactly the rpm value of each disk is stored in order to manipulate it. Has anybody else done something similar to this? any clue? Thanks Best, Peyman -------------- next part -------------- An HTML attachment was scrubbed... URL: From vahldiek at mpi-sws.org Mon Aug 1 08:54:36 2011 From: vahldiek at mpi-sws.org (Anjo Vahldiek) Date: Mon, 01 Aug 2011 14:54:36 +0200 Subject: [Disksim-users] The Disk's " Rotation speed (in rpms)" parameter value in the source code! In-Reply-To: References: Message-ID: <4E36A20C.3070101@mpi-sws.org> Hi, The struct you are looking for is called dm_mech_g1 in diskmodel/mech_g1.h. It stores the rpm and the rpmerror. If you look at when rpm is used you will find it in mech_g1_load.c (dm_mech_g1_load function). It is used to calculate the rotatetime variable of dm_mech_g1. This variable is used in various places in mech_g1.c e.g. dm_rottime_g1. To me it seems that instead of changing the rpm you should rather change the rotatetime, since the rpm is only used during load to compute the rotatetime... You should be able to access the structure through the dm_disk_if struct in disk. Hope this helps, Anjo On Mon 01 Aug 2011 11:39:27 AM CEST, Peyman Behzadnia wrote: > Dear all, > I have a question regarding the source code of the disksim. I'd be > grateful if anybody has any hint or comment about it. > For my current research simulation, i'm in need of dynamically > changing the rotation speed of some disks during the simulation for > power-saving purposes. In other words, the value of rotation speed > parameter of the disk mechanical model should be changed after a > particular elapsed time. For this goal, i have to figure out where this > parameter value of each disk is stored in the code and how this > parameter is loaded and used for rotational latency calculation. > I found out that the main information is in the disksim_diskctlr.c > (mainly in the lines 4105-4111) for calculating the rotational latency > of each request. However, i have not figured out yet where exactly the > rpm value of each disk is stored in order to manipulate it. Has anybody > else done something similar to this? any clue? > Thanks > Best, > Peyman > > > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users From zh-lian at 163.com Fri Aug 12 05:40:26 2011 From: zh-lian at 163.com (=?GBK?B?wO7V17ui?=) Date: Fri, 12 Aug 2011 17:40:26 +0800 (CST) Subject: [Disksim-users] help Message-ID: <24b1a2f4.1c5e1.131bd5d32a0.Coremail.zh-lian@163.com> Hello all, I'm pretty new to Disksim. Recently I met some problems.I followed what DIXtrac says to extract the local disk model. when doing the disk layout mapping,it shows : ... ... Executed 2 address translations, for 0 LBNs (0.00x speedup) write(sg_io) result = 0xffffffff cmd = 0x37 read(sg_io) status = 0xffffffff Sense buffer: ------- Internal error ------- Cannot handle defect list format (0) dx_layout: dxtools.c:127: internal_error: Assertion `internal_error == 0' failed. make: *** [layout.mappings] Aborted make: *** Deleting file `layout.mappings' The problem has confused me for a couple of weeks. If anyone have used DIXtrac, could you please help me? I will really appreciate it. Thank you very much! zhaohu li 2011.8.12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zh-lian at 163.com Tue Aug 16 22:01:37 2011 From: zh-lian at 163.com (=?GBK?B?wO7V17ui?=) Date: Wed, 17 Aug 2011 10:01:37 +0800 (CST) Subject: [Disksim-users] trace collection Message-ID: <3704fde7.28a5.131d578ee72.Coremail.zh-lian@163.com> Hello all, When I use Disksim .I need trace input.I want to collect the real trace of my disk(SCSI),but I don't konw who to do it. Does anyone know how to collect I/O trace ? Thank you very much! zhaohu li 2011.8.12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From chensinhome at gmail.com Fri Aug 19 21:52:30 2011 From: chensinhome at gmail.com (=?Big5?B?q0inu7Ov?=) Date: Sat, 20 Aug 2011 09:52:30 +0800 Subject: [Disksim-users] Disksim-users Digest, Vol 70, Issue 3 In-Reply-To: References: Message-ID: "blktrace" maybe answers 2011/8/18 > Send Disksim-users mailing list submissions to > disksim-users at ece.cmu.edu > > To subscribe or unsubscribe via the World Wide Web, visit > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > or, via email, send a message with subject or body 'help' to > disksim-users-request at ece.cmu.edu > > You can reach the person managing the list at > disksim-users-owner at ece.cmu.edu > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Disksim-users digest..." > > > Today's Topics: > > 1. trace collection (???) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 17 Aug 2011 10:01:37 +0800 (CST) > From: ??? > Subject: [Disksim-users] trace collection > To: disksim-users at ece.cmu.edu > Message-ID: <3704fde7.28a5.131d578ee72.Coremail.zh-lian at 163.com> > Content-Type: text/plain; charset="gbk" > > Hello all, > When I use Disksim .I need trace input.I want to collect the real > trace of my disk(SCSI),but I don't konw who to do it. > Does anyone know how to collect I/O trace ? > Thank you very much! > > > zhaohu li > > > 2011.8.12 > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20110817/2f088631/attachment-0001.html > > > > ------------------------------ > > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > > End of Disksim-users Digest, Vol 70, Issue 3 > ******************************************** > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jie87230201 at qq.com Wed Aug 24 21:13:56 2011 From: jie87230201 at qq.com (=?gbk?B?sKK93A==?=) Date: Thu, 25 Aug 2011 09:13:56 +0800 Subject: [Disksim-users] about IO Queue/Scheduler Subcomponents Message-ID: i want to implement my disk scheduling algorithm, so i need to know which module in disksim should i rewrite. thanks for answering! my name is caijieming (emailing from China) -------------- next part -------------- An HTML attachment was scrubbed... URL: