From ganger at ece.cmu.edu Tue Mar 4 17:42:18 2008 From: ganger at ece.cmu.edu (ganger at ece.cmu.edu) Date: Tue, 04 Mar 2008 17:42:18 -0500 Subject: [Disksim-users] Re: Pharmacy Online March 70% OFF In-Reply-To: <20080304124222.11432.qmail@p5B15BB4D.dip0.t-ipconnect.de> Message-ID: This reply to your recent mail message is being sent automatically. I am suffering a severe case of RSI problems. Please forgive slow and terse replies as I deal with this. Thank you for your patience and understanding. Greg From yuanyelele at gmail.com Wed Mar 12 18:30:30 2008 From: yuanyelele at gmail.com (yuanyelele) Date: Thu, 13 Mar 2008 06:30:30 +0800 Subject: [Disksim-users] Compile Disksim 3.0 on Ubuntu Message-ID: <20080313063030.47c25a7e@yuanyelele-laptop> It took me some time to find out how to do so, and here it is. To compile Disksim 3.0 on Ubuntu, you need to install following packages: sudo apt-get install flex-old sudo apt-get install gcc-2.95 then in the source directory, type: make CC=gcc-2.95 From song6295 at gmail.com Thu Mar 13 20:32:37 2008 From: song6295 at gmail.com (Colin Song) Date: Fri, 14 Mar 2008 08:32:37 +0800 Subject: [Disksim-users] Re: Disksim-users Digest, Vol 30, Issue 2 In-Reply-To: <20080313160012.05DA68A59@sos.ece.cmu.edu> References: <20080313160012.05DA68A59@sos.ece.cmu.edu> Message-ID: I compiled Disksim 3.0 use gcc4.2 on fedora 8 and successful. Is there any problem useing gcc4.x ? 2008/3/14, disksim-users-request at ece.cmu.edu < disksim-users-request at ece.cmu.edu>: > > 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. Compile Disksim 3.0 on Ubuntu (yuanyelele) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 13 Mar 2008 06:30:30 +0800 > From: yuanyelele > Subject: [Disksim-users] Compile Disksim 3.0 on Ubuntu > To: Disksim-users at ece.cmu.edu > Message-ID: <20080313063030.47c25a7e at yuanyelele-laptop> > Content-Type: text/plain; charset=US-ASCII > > It took me some time to find out how to do so, and here it is. > > To compile Disksim 3.0 on Ubuntu, you need to install following > packages: > sudo apt-get install flex-old > sudo apt-get install gcc-2.95 > > then in the source directory, type: > make CC=gcc-2.95 > > > ------------------------------ > > _______________________________________________ > 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 30, Issue 2 > ******************************************** > -- --------------------------------------------------------- Colin Song Tel: 86-0756-339-8957 Mobile: 13798966832 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yuanyelele at gmail.com Fri Mar 14 01:16:55 2008 From: yuanyelele at gmail.com (yuanyelele) Date: Fri, 14 Mar 2008 13:16:55 +0800 Subject: [Disksim-users] Re: Disksim-users Digest, Vol 30, Issue 2 In-Reply-To: References: <20080313160012.05DA68A59@sos.ece.cmu.edu> Message-ID: <20080314131655.77a6b1d6@yuanyelele-laptop> On Fri, 14 Mar 2008 08:32:37 +0800 "Colin Song" wrote: Well, congratulations! But on Ubuntu, I got lots of errors using gcc4.2. I don't know why differ from Fedora. After modifying some source code, I can get it compiled after gcc4.2, but I think use gcc2.95 is better. > I compiled Disksim 3.0 use gcc4.2 on fedora 8 and successful. > Is there any problem useing gcc4.x ? > > > 2008/3/14, disksim-users-request at ece.cmu.edu < > disksim-users-request at ece.cmu.edu>: > > > > 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. Compile Disksim 3.0 on Ubuntu (yuanyelele) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Thu, 13 Mar 2008 06:30:30 +0800 > > From: yuanyelele > > Subject: [Disksim-users] Compile Disksim 3.0 on Ubuntu > > To: Disksim-users at ece.cmu.edu > > Message-ID: <20080313063030.47c25a7e at yuanyelele-laptop> > > Content-Type: text/plain; charset=US-ASCII > > > > It took me some time to find out how to do so, and here it is. > > > > To compile Disksim 3.0 on Ubuntu, you need to install following > > packages: > > sudo apt-get install flex-old > > sudo apt-get install gcc-2.95 > > > > then in the source directory, type: > > make CC=gcc-2.95 > > > > > > ------------------------------ > > > > _______________________________________________ > > 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 30, Issue 2 > > ******************************************** > > > > > From caizhaoff at gmail.com Fri Mar 14 12:49:52 2008 From: caizhaoff at gmail.com (caizhaoff) Date: Fri, 14 Mar 2008 12:49:52 -0400 Subject: [Disksim-users] RE: Disksim-users Digest, Vol 30, Issue 3 In-Reply-To: <20080314160008.5FF0B8B6A@sos.ece.cmu.edu> References: <20080314160008.5FF0B8B6A@sos.ece.cmu.edu> Message-ID: <000401c885f3$6d587540$48095fc0$@com> Hi, Can anyone compile disksim-3.0 in 64bits Linux? -----Original Message----- From: disksim-users-bounces at ece.cmu.edu [mailto:disksim-users-bounces at ece.cmu.edu] On Behalf Of disksim-users-request at ece.cmu.edu Sent: Friday, March 14, 2008 12:00 PM To: disksim-users at ece.cmu.edu Subject: Disksim-users Digest, Vol 30, Issue 3 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. Re: Disksim-users Digest, Vol 30, Issue 2 (Colin Song) 2. Re: Re: Disksim-users Digest, Vol 30, Issue 2 (yuanyelele) ---------------------------------------------------------------------- Message: 1 Date: Fri, 14 Mar 2008 08:32:37 +0800 From: "Colin Song" Subject: [Disksim-users] Re: Disksim-users Digest, Vol 30, Issue 2 To: disksim-users at ece.cmu.edu Message-ID: Content-Type: text/plain; charset="iso-8859-1" I compiled Disksim 3.0 use gcc4.2 on fedora 8 and successful. Is there any problem useing gcc4.x ? 2008/3/14, disksim-users-request at ece.cmu.edu < disksim-users-request at ece.cmu.edu>: > > 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. Compile Disksim 3.0 on Ubuntu (yuanyelele) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 13 Mar 2008 06:30:30 +0800 > From: yuanyelele > Subject: [Disksim-users] Compile Disksim 3.0 on Ubuntu > To: Disksim-users at ece.cmu.edu > Message-ID: <20080313063030.47c25a7e at yuanyelele-laptop> > Content-Type: text/plain; charset=US-ASCII > > It took me some time to find out how to do so, and here it is. > > To compile Disksim 3.0 on Ubuntu, you need to install following > packages: > sudo apt-get install flex-old > sudo apt-get install gcc-2.95 > > then in the source directory, type: > make CC=gcc-2.95 > > > ------------------------------ > > _______________________________________________ > 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 30, Issue 2 > ******************************************** > -- --------------------------------------------------------- Colin Song Tel: 86-0756-339-8957 Mobile: 13798966832 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20080314/6c69f889 /attachment-0001.html ------------------------------ Message: 2 Date: Fri, 14 Mar 2008 13:16:55 +0800 From: yuanyelele Subject: Re: [Disksim-users] Re: Disksim-users Digest, Vol 30, Issue 2 To: disksim-users at ece.cmu.edu Message-ID: <20080314131655.77a6b1d6 at yuanyelele-laptop> Content-Type: text/plain; charset=US-ASCII On Fri, 14 Mar 2008 08:32:37 +0800 "Colin Song" wrote: Well, congratulations! But on Ubuntu, I got lots of errors using gcc4.2. I don't know why differ from Fedora. After modifying some source code, I can get it compiled after gcc4.2, but I think use gcc2.95 is better. > I compiled Disksim 3.0 use gcc4.2 on fedora 8 and successful. > Is there any problem useing gcc4.x ? > > > 2008/3/14, disksim-users-request at ece.cmu.edu < > disksim-users-request at ece.cmu.edu>: > > > > 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. Compile Disksim 3.0 on Ubuntu (yuanyelele) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Thu, 13 Mar 2008 06:30:30 +0800 > > From: yuanyelele > > Subject: [Disksim-users] Compile Disksim 3.0 on Ubuntu > > To: Disksim-users at ece.cmu.edu > > Message-ID: <20080313063030.47c25a7e at yuanyelele-laptop> > > Content-Type: text/plain; charset=US-ASCII > > > > It took me some time to find out how to do so, and here it is. > > > > To compile Disksim 3.0 on Ubuntu, you need to install following > > packages: > > sudo apt-get install flex-old > > sudo apt-get install gcc-2.95 > > > > then in the source directory, type: > > make CC=gcc-2.95 > > > > > > ------------------------------ > > > > _______________________________________________ > > 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 30, Issue 2 > > ******************************************** > > > > > ------------------------------ _______________________________________________ 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 30, Issue 3 ******************************************** From daijiao0403 at 126.com Tue Mar 25 20:53:32 2008 From: daijiao0403 at 126.com (daijiao0403) Date: Wed, 26 Mar 2008 08:53:32 +0800 (CST) Subject: [Disksim-users] HELP!! "RETURNING NULL!!"[AS scheduling policy = 8(SPTF_OPT)] Message-ID: <614944.256871206492812688.JavaMail.coremail@bj126app85.126.com> I'm using disksim-3.0. Run disksim as follows,it's OK! /disksim ascii.parv ascii.outv ascii ascii.trace 0 //ascii.parv & ascii.trace are the files provided by the disksim itself( in ../valid/) Then I edit ascii.parv, change the scheduling policy into 8 (3 original)which represents SPTF_OPT. Run it again,the result shows as follows: /disksim ascii.parv ascii.outv ascii ascii.trace 0 RETURNING NULL!! RETURNING NULL!! RETURNING NULL!! RETURNING NULL!! RETURNING NULL!! RETURNING NULL!! RETURNING NULL!! ..... Why? SPTF_OPT is widely used in real system ,disksim must have implemented it,but how does this happen...Looking forwards to your answers!!Thank you!! Best wishes!! D.J. 03/26/2008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ashok.anand at gmail.com Tue Mar 25 22:49:26 2008 From: ashok.anand at gmail.com (Ashok Anand) Date: Tue, 25 Mar 2008 21:49:26 -0500 Subject: [Disksim-users] disk head position to logical block number and vice versa Message-ID: <854da8df0803251949r3bc2b1cdw54c8ac69910b48fe@mail.gmail.com> Hi, I was trying to find out how to get logical block number from given disk head position by structure, currdisk->mech_state i was using currdisk->model->layout->dm_convert_atop(currdisk->model,&mech_state,&pbn); to get the physical block number and then, rval=currdisk->model->layout->dm_translate_ptol(currdisk->model, &pbn, 0); to get corresponding logical block number. Not sure, if this is the right thing to do ? Furthermore, i was looking at the disksim code, for disksim_diskctlr.c , line no. 3987 ( version 3), currdisk->model->mech->dm_latency(currdisk->model, &startstate, curr->cause, curr->bcount, immed, 0); curr is current request event, and i think its cause field denotes the starting sector from/to which data needs to read/written. the conversion of this sector to angle uses dm_pbn_skew , but if i convert this angle to get pbn, its sector comes to be different. Any suggestion, why this may happen? thanks and regards, ashok -------------- next part -------------- An HTML attachment was scrubbed... URL: From yueyinliang at gmail.com Wed Mar 26 07:18:18 2008 From: yueyinliang at gmail.com (Yinliang Yue) Date: Wed, 26 Mar 2008 19:18:18 +0800 Subject: [Disksim-users] The coordination of System level time and Disksim level time Message-ID: <200803261918160156285@gmail.com> Hi, all In my simulation platform, disksim is set as a slave component. When system level program read I/O requests from I/O tracefile, the time interval between any two requests are the actual time. However, the time dimension in disksim is not equal to the actual time. What i should do to coordinate these two time dimensions when i issue external requests into disksim ? Yinliang 20080326 y03-26 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ganger at ece.cmu.edu Wed Mar 26 15:38:14 2008 From: ganger at ece.cmu.edu (Greg Ganger) Date: Wed, 26 Mar 2008 15:38:14 -0400 (EDT) Subject: [Disksim-users] The coordination of System level time and Disksim level time In-Reply-To: <200803261918160156285@gmail.com> References: <200803261918160156285@gmail.com> Message-ID: I believe that the manual talks about how to do this, and that there is also example code in the distribution. In a nutshell, you need to have disksim time advance with simulation time (and the master simulator should be reading the tracefile and feeding requests to disksim, if disksim is part of a larger simulator). Good luck! Greg On Wed, 26 Mar 2008, Yinliang Yue wrote: > Hi, all > In my simulation platform, disksim is set as a slave component. When system level program read I/O requests from I/O tracefile, the time interval between any two requests are the actual time. However, the time dimension in disksim is not equal to the actual time. What i should do to coordinate these two time dimensions when i issue external requests into disksim ? > > Yinliang > 20080326 > y03-26 > From ashok.anand at gmail.com Wed Mar 26 17:12:25 2008 From: ashok.anand at gmail.com (Ashok Anand) Date: Wed, 26 Mar 2008 16:12:25 -0500 Subject: [Disksim-users] Re: disk head position to logical block number and vice versa In-Reply-To: <854da8df0803251949r3bc2b1cdw54c8ac69910b48fe@mail.gmail.com> References: <854da8df0803251949r3bc2b1cdw54c8ac69910b48fe@mail.gmail.com> Message-ID: <854da8df0803261412qdd7bc27v1ee67878a3d20ddc@mail.gmail.com> Hi, I figured the conversion from angle to physical ( The manual does talk about it at end :) ).. Now I am trying to find out in the disksim code, where calculation for rotational latency take place, and where actually statistics gets updated for the corresponding rotation.. Any quick pointer to this, would be quite useful! Thanks, ashok On Tue, Mar 25, 2008 at 9:49 PM, Ashok Anand wrote: > Hi, I was trying to find out how to get logical block number from given > disk head position by structure, currdisk->mech_state > > i was using > currdisk->model->layout->dm_convert_atop(currdisk->model,&mech_state,&pbn); > to get the physical block number and then, > rval=currdisk->model->layout->dm_translate_ptol(currdisk->model, &pbn, 0); > to > get corresponding logical block number. Not sure, if this is the right > thing to do ? > > Furthermore, i was looking at the disksim code, for disksim_diskctlr.c , > line no. 3987 ( version 3), > > currdisk->model->mech->dm_latency(currdisk->model, > &startstate, > curr->cause, > curr->bcount, > immed, > 0); > > curr is current request event, and i think its cause field denotes the > starting sector from/to which data needs to read/written. > the conversion of this sector to angle uses dm_pbn_skew , but if i convert > this angle to get pbn, its sector comes to be different. > Any suggestion, why this may happen? > > thanks and regards, > ashok > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yueyinliang at gmail.com Wed Mar 26 20:39:56 2008 From: yueyinliang at gmail.com (Yinliang Yue) Date: Thu, 27 Mar 2008 08:39:56 +0800 Subject: [Disksim-users] asynchronous callback Message-ID: <200803270839542186095@gmail.com> In syssim_driver.c, there are N requests issued into disksim. However, they are synchronous, the second request is issued when main() the first request completed. In my implementation, i want to issue requests from iotracefile according to their actual time interval. In other words, the example in syssim_driver.c is synchronous and i want to implement asynchronous. ( I want to issue the second request got from iotracefile before the completion of the first request ) How can i accomplish this purpose? Best regards! Yinliang 2008-03-27 -------------- next part -------------- An HTML attachment was scrubbed... URL: