From shzb89 at yahoo.cn Sat Jan 5 21:12:34 2013 From: shzb89 at yahoo.cn (=?utf-8?B?5rKI?=) Date: Sun, 6 Jan 2013 10:12:34 +0800 (CST) Subject: [Disksim-users] The question about Request Size in DiskSim/FlashSim References: Message-ID: <1357438354.81287.YahooMailNeo@web92207.mail.cnh.yahoo.com> Hi,all. Recently,I use FlashSim to do some simulations. Now, I want to know the average request size of Financial1 trace. From the paper such as "WAFTL: A Workload Adaptive Flash Translation?Layer with Data Partition","DFTL",they give the average request size, I don't know how they get the value.I have two ways to get the value, but I don't know if it is right.? 1.From the output file of Flashsim, there are "Request size stats","Read Request size stats", "Write Request size stats",I can get the average value of average request size, I think the unit size is the same as the ascii trace, i.e.,512bytes(in the statdefs file, the Request size entry, the Scale is 1). 2.I get the value through?caculate the average of the "bcount" in the trace. I don't know which is right. In addition, I found that the request size is just not the same as the bcount in the trace. For example, Overall I/O System Request size distribution ? ?= ?1 ? ?= ?2 ? ?= ?3 ? ?= ?4 ? ?< ?7 ? ?< ?9 ? ?< 13 ? ?< 17 ? ?< 21 ? ? 21+ ? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ?24 ? ? ? 0 ? ? ? 0 ? ? ? 0 ?158986 ?474238 ?422200? but in Financial1 trace?after I convert it into the ascii format, the value of bcount can be 1,2,3,4 and so on. So the request size in DiskSim/FlashSim is not the same as the one in ascii trace, is that right? Can anyone help me? Thank you in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From wangw8210 at gmail.com Sat Jan 5 23:46:20 2013 From: wangw8210 at gmail.com (Wei Wang) Date: Sat, 5 Jan 2013 20:46:20 -0800 Subject: [Disksim-users] The question about Request Size in DiskSim/FlashSim In-Reply-To: <1357438354.81287.YahooMailNeo@web92207.mail.cnh.yahoo.com> References: <1357438354.81287.YahooMailNeo@web92207.mail.cnh.yahoo.com> Message-ID: average request size is calculated by the statistics of original trace. it has nothing to do with the simulator. Wei On Sat, Jan 5, 2013 at 6:12 PM, ? wrote: > Hi,all. > Recently,I use FlashSim to do some simulations. Now, I want to know the > average request size of Financial1 trace. From the paper such as "WAFTL: > A Workload Adaptive Flash Translation Layer with Data Partition","DFTL",they > give the average request size, I don't know how they get the value.I have > two ways to get the value, but I don't know if it is right. > 1.From the output file of Flashsim, there are "Request size stats","Read > Request size stats", "Write Request size stats",I can get the average value > of average request size, I think the unit size is the same as the ascii > trace, i.e.,512bytes(in the statdefs file, the Request size entry, the > Scale is 1). > 2.I get the value through caculate the average of the "bcount" in the > trace. > I don't know which is right. > > In addition, I found that the request size is just not the same as the > bcount in the trace. For example, > Overall I/O System Request size distribution > = 1 = 2 = 3 = 4 < 7 < 9 < 13 < 17 < 21 > 21+ > 0 0 0 24 0 0 0 158986 474238 > 422200 > but in Financial1 trace?after I convert it into the ascii format, the > value of bcount can be 1,2,3,4 and so on. So the request size in > DiskSim/FlashSim is not the same as the one in ascii trace, is that right? > Can anyone help me? Thank you in advance. > > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shzb89 at yahoo.cn Sun Jan 6 02:56:00 2013 From: shzb89 at yahoo.cn (=?utf-8?B?5rKI?=) Date: Sun, 6 Jan 2013 15:56:00 +0800 (CST) Subject: [Disksim-users] =?utf-8?b?5Zue5aSN77yaICBUaGUgcXVlc3Rpb24gYWJv?= =?utf-8?q?ut_Request_Size_in_DiskSim/FlashSim?= In-Reply-To: References: <1357438354.81287.YahooMailNeo@web92207.mail.cnh.yahoo.com> Message-ID: <1357458960.38523.YahooMailNeo@web92201.mail.cnh.yahoo.com> Hi,Wang Wei. thank you for your reply. I have some questions about the "average request size","write ratio","sequential ratio" and "average inter-arrival time" of one trace. As most papers had cited, write ratio and average inter-arrival time can be get from the simulation output file. And they are the same as the one get from the original trace. So, why the average request size can not get from the output file? I think the simulator just give the statistics about the trace. But I don't know why the average request size is wrong. In addition, how can i get the "sequential ratio" of one trace? what's the metrics for sequential request? That is, how to judge whether a request(or requests) is sequential? Sorry for my poor English.? ________________________________ ???? Wei Wang ???? ? ??? "disksim-users at ece.cmu.edu" ????? 2013?1?6?, ???, 12:46 ?? ??: Re: [Disksim-users] The question about Request Size in DiskSim/FlashSim average request size is calculated by the statistics of?original?trace. it has nothing to do with the simulator. Wei On Sat, Jan 5, 2013 at 6:12 PM, ? wrote: Hi,all. >Recently,I use FlashSim to do some simulations. Now, I want to know the average request size of Financial1 trace. From the paper such as "WAFTL: A Workload Adaptive Flash Translation?Layer with Data Partition","DFTL",they give the average request size, I don't know how they get the value.I have two ways to get the value, but I don't know if it is right.? >1.From the output file of Flashsim, there are "Request size stats","Read Request size stats", "Write Request size stats",I can get the average value of average request size, I think the unit size is the same as the ascii trace, i.e.,512bytes(in the statdefs file, the Request size entry, the Scale is 1). >2.I get the value through?caculate the average of the "bcount" in the trace. >I don't know which is right. > > >In addition, I found that the request size is just not the same as the bcount in the trace. For example, >Overall I/O System Request size distribution >? ?= ?1 ? ?= ?2 ? ?= ?3 ? ?= ?4 ? ?< ?7 ? ?< ?9 ? ?< 13 ? ?< 17 ? ?< 21 ? ? 21+ >? ? ? 0 ? ? ? 0 ? ? ? 0 ? ? ?24 ? ? ? 0 ? ? ? 0 ? ? ? 0 ?158986 ?474238 ?422200? >but in Financial1 trace?after I convert it into the ascii format, the value of bcount can be 1,2,3,4 and so on. So the request size in DiskSim/FlashSim is not the same as the one in ascii trace, is that right? >Can anyone help me? Thank you in advance. >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hshopeful1 at gmail.com Wed Jan 9 09:15:39 2013 From: hshopeful1 at gmail.com (=?GB2312?B?us7LrA==?=) Date: Wed, 9 Jan 2013 22:15:39 +0800 Subject: [Disksim-users] Errors in compiling disksim-4.0 with SSD-patch Message-ID: Dear,all Does anyone have used the SSD model(ssd-add-on.zip) with disksim4-0? When I compile the ssdmodel, there is an error . If you have the same problem and solution, please drop me a message. I will be very appreciated. Thank you very much. gcc -Wall -Wno-unused -MD -o mems_seektest mems_seektest.o -L. -lm -g -DASSERTS -I../src// -I../ -I../src//src -lmems_internals ./libmems_internals.a(mems_internals.o): In function `find_turnaround_time': /home/he/disksim-4.0/memsmodel/mems_internals.c:323: undefined reference to `disksim' /home/he/disksim-4.0/memsmodel/mems_internals.c:325: undefined reference to `disksim' /home/he/disksim-4.0/memsmodel/mems_internals.c:345: undefined reference to `disksim' /home/he/disksim-4.0/memsmodel/mems_internals.c:348: undefined reference to `disksim' ./libmems_internals.a(mems_internals.o): In function `mems_find_precomputed_seek_time': /home/he/disksim-4.0/memsmodel/mems_internals.c:809: undefined reference to `disksim' ./libmems_internals.a(mems_internals.o):/home/he/disksim-4.0/memsmodel/mems_internals.c:811: more undefined references to `disksim' follow collect2: ld returned 1 exit status All the best Heshuang -------------- next part -------------- An HTML attachment was scrubbed... URL: From shzb89 at yahoo.cn Wed Jan 9 22:18:30 2013 From: shzb89 at yahoo.cn (=?utf-8?B?5rKI?=) Date: Thu, 10 Jan 2013 11:18:30 +0800 (CST) Subject: [Disksim-users] (no subject) Message-ID: <1357787910.54661.YahooMailNeo@web92202.mail.cnh.yahoo.com> Hi, I have encounter the same problem.?Do you have install disksim 3.0 ever??It seems to be that your gcc version is not right,so just recover the gcc version to a newer one,Or maybe someone else will reply with a better solution. I hope that could help you. Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: From shzb89 at yahoo.cn Wed Jan 9 22:20:43 2013 From: shzb89 at yahoo.cn (=?utf-8?B?5rKI?=) Date: Thu, 10 Jan 2013 11:20:43 +0800 (CST) Subject: [Disksim-users] Errors in compiling disksim-4.0 with SSD-patch In-Reply-To: <1357787910.54661.YahooMailNeo@web92202.mail.cnh.yahoo.com> References: <1357787910.54661.YahooMailNeo@web92202.mail.cnh.yahoo.com> Message-ID: <1357788043.47369.YahooMailNeo@web92202.mail.cnh.yahoo.com> ----- ????? ----- ???? ? ???? "hshopeful1 at gmail.com" ??? "disksim-users at ece.cmu.edu" ????? 2013?1?10?, ???, 11:18 ?? ??: Hi, I have encounter the same problem.?Do you have install disksim 3.0 ever??It seems to be that your gcc version is not right,so just recover the gcc version to a newer one,Or maybe someone else will reply with a better solution. I hope that could help you. Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: From hshopeful1 at gmail.com Thu Jan 10 07:53:36 2013 From: hshopeful1 at gmail.com (=?GB2312?B?us7LrA==?=) Date: Thu, 10 Jan 2013 20:53:36 +0800 Subject: [Disksim-users] Errors in compiling Disksim-4.0 Message-ID: Dear all, Yesterday,I asked a question about compiling dismsim-4.0 with SSD,some persons told me maybe it is a fault about 64-bit operating system,but i check my linux version ,the result is: Linux hs-N43SL 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux it is a 32-bit operating system. And today i just compiled the disksim-4.0,my environment is: flex version 2.5.4 bison (GNU Bison) 2.5 gcc version 2.95.4 20011002 (Debian prerelease) disksim-4.0.tar.gz I just tar the file (disksim-4.0.tar.gz) and cd disksim-4.0 then,make but the problem occurs: make -C libddbg make[1]: ?????? `/home/hs/disksim-4.0/libddbg' cc -g -I../libparam -c -o ddbg_assert.o ddbg_assert.c In file included from /usr/include/stdio.h:28, from libddbg.h:40, from ddbg_assert.c:34: /usr/include/features.h:324: bits/predefs.h: No such file or directory /usr/include/features.h:357: sys/cdefs.h: No such file or directory /usr/include/features.h:389: gnu/stubs.h: No such file or directory In file included from libddbg.h:40, from ddbg_assert.c:34: /usr/include/stdio.h:36: bits/types.h: No such file or directory In file included from /usr/include/libio.h:32, from /usr/include/stdio.h:75, from libddbg.h:40, from ddbg_assert.c:34: /usr/include/_G_config.h:9: bits/types.h: No such file or directory In file included from /usr/include/stdio.h:75, from libddbg.h:40, from ddbg_assert.c:34: /usr/include/libio.h:62: sys/cdefs.h: No such file or directory In file included from libddbg.h:40, from ddbg_assert.c:34: /usr/include/stdio.h:165: bits/stdio_lim.h: No such file or directory /usr/include/stdio.h:850: bits/sys_errlist.h: No such file or directory In file included from ddbg_assert.c:38: /usr/include/signal.h:33: bits/sigset.h: No such file or directory /usr/include/signal.h:57: bits/types.h: No such file or directory /usr/include/signal.h:58: bits/signum.h: No such file or directory In file included from /usr/include/signal.h:76, from ddbg_assert.c:38: /usr/include/time.h:116: bits/types.h: No such file or directory In file included from ddbg_assert.c:38: /usr/include/signal.h:79: bits/siginfo.h: No such file or directory /usr/include/signal.h:252: bits/sigaction.h: No such file or directory /usr/include/signal.h:339: bits/sigcontext.h: No such file or directory In file included from ddbg_assert.c:38: /usr/include/signal.h:356: bits/sigstack.h: No such file or directory /usr/include/signal.h:359: sys/ucontext.h: No such file or directory /usr/include/signal.h:394: bits/pthreadtypes.h: No such file or directory /usr/include/signal.h:395: bits/sigthread.h: No such file or directory make[1]: *** [ddbg_assert.o] ?? 1 make[1]:?????? `/home/hs/disksim-4.0/libddbg' make: *** [all] ?? 2 If you have the same problem and solution, please drop me a message. I will be very appreciated. Thanks All the best Heshuang -------------- next part -------------- An HTML attachment was scrubbed... URL: From hshopeful1 at gmail.com Fri Jan 11 06:36:33 2013 From: hshopeful1 at gmail.com (=?GB2312?B?us7LrA==?=) Date: Fri, 11 Jan 2013 19:36:33 +0800 Subject: [Disksim-users] Errors in compiling disksim-4.0 with SSD-patch In-Reply-To: References: Message-ID: Dear all, I have already solved the problem. Before I install disksim-4.0,I have already installed the disksim-3.0,and in order to install the disksim-3.0 successfully,I degraded the gcc.That is the problem. Disksim-4.0 needs a high gcc version. So I update the gcc,and re-install the disksim-4.0.and I succeed Thanks All the best Heshuang 2013/1/9 ?? > Dear,all > Does anyone have used the SSD model(ssd-add-on.zip) with disksim4-0? When > I > compile the ssdmodel, there is an error . > > If you have the same problem and solution, please drop me a message. I > will > be very appreciated. Thank you very much. > > gcc -Wall -Wno-unused -MD -o mems_seektest mems_seektest.o -L. -lm -g > -DASSERTS -I../src// -I../ -I../src//src -lmems_internals > ./libmems_internals.a(mems_internals.o): In function > `find_turnaround_time': > /home/he/disksim-4.0/memsmodel/mems_internals.c:323: undefined reference > to `disksim' > /home/he/disksim-4.0/memsmodel/mems_internals.c:325: undefined reference > to `disksim' > /home/he/disksim-4.0/memsmodel/mems_internals.c:345: undefined reference > to `disksim' > /home/he/disksim-4.0/memsmodel/mems_internals.c:348: undefined reference > to `disksim' > ./libmems_internals.a(mems_internals.o): In function > `mems_find_precomputed_seek_time': > /home/he/disksim-4.0/memsmodel/mems_internals.c:809: undefined reference > to `disksim' > ./libmems_internals.a(mems_internals.o):/home/he/disksim-4.0/memsmodel/mems_internals.c:811: > more undefined references to > `disksim' follow collect2: ld returned 1 exit status > > All the best > > Heshuang > -------------- next part -------------- An HTML attachment was scrubbed... URL: From yinxunrui at gmail.com Wed Jan 16 01:39:33 2013 From: yinxunrui at gmail.com (=?GB2312?B?0vzRte6j?=) Date: Wed, 16 Jan 2013 14:39:33 +0800 Subject: [Disksim-users] A problem in the bus ownership grant Message-ID: Hi all, I encounter the following assertion failure using disksim-4.0: in disksim_diskctlr.c: in function: disk_bus_ownership_grant(): ddbg_assert(arbdelay == (simtime - currdisk->stat.requestedbus)); First, I comment this assertion, and print the corresponding values in my simulation, finding that the failure is actually caused by the precision problem of floating point numbers. It appears only 3 times and my simulation runs well after that... So I wonder if it is a bug to compare the float numbers in this way, or there is some special purpose for this assertion? Referring to a similar part in the source code of the SSD extension, I comment this assertion and changed the line currdisk->stat.waitingforbus += simtime - currdisk->stat.requestedbus; into currdisk->stat.waitingforbus += arbdelay; Is that OK? Thank you for your time! Best regards, Xunrui From hshopeful1 at gmail.com Wed Jan 16 06:54:52 2013 From: hshopeful1 at gmail.com (=?GB2312?B?us7LrA==?=) Date: Wed, 16 Jan 2013 19:54:52 +0800 Subject: [Disksim-users] Stopping simulation because of saturation Message-ID: Hi all, I used disksim-3.0 to test Financial1 trace. And I created a procedure iotrace_financial1_get_ioreq_event() in Disksim_iotrace.c I also made some changes in ascii.parv to fit the financial1 trace(mainly about the devno). but the problem occurs: Stopping simulation because of saturation: simtime 1919.778808, totalreqs 100003 disksim_run_simulation(): simulated 118191 events I looked up the Disksim_users Archives,and tried the following two solutions: 1. change the value of MAX_QUEUE_LENGTH in Disksim-3.0/src/disksim_logorg.c 2.change the value of I/O Trace Time Scale=1.0(amplify it to 2.0,3.0 even to 10.0) But they don't work! If you have the same problem and solution, please drop me a message. I will be very appreciated. Best regards thanks Heshuang -------------- next part -------------- An HTML attachment was scrubbed... URL: From chensinhome at gmail.com Wed Jan 16 18:09:51 2013 From: chensinhome at gmail.com (Sinhome) Date: Thu, 17 Jan 2013 07:09:51 +0800 Subject: [Disksim-users] Disksim-users Digest, Vol 86, Issue 5 In-Reply-To: References: Message-ID: ??? iPhone ?? disksim-users-request at ece.cmu.edu ? 2013/1/17 ??1:00 ??? > 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. A problem in the bus ownership grant (???) > 2. Stopping simulation because of saturation (??) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 16 Jan 2013 14:39:33 +0800 > From: ??? > Subject: [Disksim-users] A problem in the bus ownership grant > To: disksim-users at ece.cmu.edu > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I encounter the following assertion failure using disksim-4.0: > in disksim_diskctlr.c: > in function: disk_bus_ownership_grant(): > ddbg_assert(arbdelay == (simtime - currdisk->stat.requestedbus)); > > First, I comment this assertion, and print the corresponding values in > my simulation, finding that the failure is actually caused by the > precision problem of floating point numbers. It appears only 3 times > and my simulation runs well after that... > > So I wonder if it is a bug to compare the float numbers in this way, > or there is some special purpose for this assertion? > Referring to a similar part in the source code of the SSD extension, I > comment this assertion and changed the line > currdisk->stat.waitingforbus += simtime - currdisk->stat.requestedbus; > into > currdisk->stat.waitingforbus += arbdelay; > > Is that OK? > > Thank you for your time! > > Best regards, > Xunrui > > > ------------------------------ > > Message: 2 > Date: Wed, 16 Jan 2013 19:54:52 +0800 > From: ?? > Subject: [Disksim-users] Stopping simulation because of saturation > To: disksim-users at ece.cmu.edu > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > I used disksim-3.0 to test Financial1 trace. > > And I created a procedure iotrace_financial1_get_ioreq_event() in > Disksim_iotrace.c > > I also made some changes in ascii.parv to fit the financial1 trace(mainly > about the devno). > > but the problem occurs: > Stopping simulation because of saturation: simtime 1919.778808, totalreqs > 100003 > disksim_run_simulation(): simulated 118191 events > > I looked up the Disksim_users Archives,and tried the following two > solutions: > 1. change the value of MAX_QUEUE_LENGTH in > Disksim-3.0/src/disksim_logorg.c > It works for me... > 2.change the value of I/O Trace Time Scale=1.0(amplify it to 2.0,3.0 even > to 10.0) > The value is a unfinished job Changing it in parv file can't do anything Try to change it directly in source code > But they don't work! > > If you have the same problem and solution, please drop me a message. I will > be very appreciated. > > Best regards > > thanks > > Heshuang > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > _______________________________________________ > 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 86, Issue 5 > ******************************************** From adarshsj at gmail.com Thu Jan 17 12:16:01 2013 From: adarshsj at gmail.com (Adarsh Jain) Date: Thu, 17 Jan 2013 11:16:01 -0600 Subject: [Disksim-users] Metadata access in disksim Message-ID: Hi All, I am trying to get the different metadata reads to the disks. Metadata reads are also similar to data reads, but my development concentrates on the metadata read part. Can anyone please let me know how to differentiate between a data read and a metadata read in the code and in physical disks... Thanks, Adarsh Jain -------------- next part -------------- An HTML attachment was scrubbed... URL: From niuqingpeng at gmail.com Thu Jan 24 17:56:02 2013 From: niuqingpeng at gmail.com (Qingpeng Niu) Date: Thu, 24 Jan 2013 17:56:02 -0500 Subject: [Disksim-users] (no subject) Message-ID: http://dominionfinancial.us/wp-content/themes/wp-creativix/googlelook3394.php From ykwok2 at miners.utep.edu Fri Jan 25 15:32:09 2013 From: ykwok2 at miners.utep.edu (Yipkei Kwok) Date: Fri, 25 Jan 2013 13:32:09 -0700 Subject: [Disksim-users] Synthetic workload generating module - Upper-bound on pending requests Message-ID: Dear Disksim users, I am using the synthetic workload generating module for my experiments. How can I specify the maximum number of pending requests in the I/O subsystem (I/O driver + controller + disks) of each process? Note: I followed the instructions on page 43 of the Disksim 4.0 reference manual; to simulate a closed subsystem model, I set the probability that a request is time-critical to 1.0. I also set the inter-request computation times to 0.0 to eliminate think times. As a result, I got one pending request for each process. What I want is to bound the maximum number of pending requests to a specific number (say, 20). How can I do that? Looking forward to hearing from you. Thank you very much. Regards, Yipkei -- ******************************************** Yipkei Kwok (@yipkeikwok) Ph.D. Candidate Research Assistant HiPerSys Lab Department of Computer Science The University of Texas at El Paso Phone: 915 747 6433 (O) E-mail: ykwok2 at miners dot utep dot edu ********************************************