From zh-lian at 163.com Thu Apr 5 10:08:30 2012 From: zh-lian at 163.com (=?GBK?B?wO7V17ui?=) Date: Thu, 5 Apr 2012 22:08:30 +0800 (CST) Subject: [Disksim-users] install disksim3.0 Message-ID: <54b09148.159b0.13682d5c9dc.Coremail.zh-lian@163.com> Hi everyone, when I plan to use disksim 3.0 and flashsim to research SSD,I have some problem about how to install disksim 3.0 .My gcc version is 2.95.4 20011002 (Debian prerelease),when I make disksim,mistake comes as follows: modules/disksim_ctlr_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:11, from config.h:37, from disksim.c:105: modules/disksim_ctlr_stats_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:12, from config.h:37, from disksim.c:105: modules/disksim_device_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:13, from config.h:37, from disksim.c:105: modules/disksim_device_stats_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:14, from config.h:37, from disksim.c:105: modules/disksim_disk_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:15, from config.h:37, from disksim.c:105: modules/disksim_global_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:16, from config.h:37, from disksim.c:105: modules/disksim_iodriver_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:17, from config.h:37, from disksim.c:105: modules/disksim_iodriver_stats_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:18, from config.h:37, from disksim.c:105: modules/disksim_iomap_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:19, from config.h:37, from disksim.c:105: modules/disksim_ioqueue_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:20, from config.h:37, from disksim.c:105: modules/disksim_iosim_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:21, from config.h:37, from disksim.c:105: modules/disksim_logorg_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:22, from config.h:37, from disksim.c:105: modules/disksim_pf_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:23, from config.h:37, from disksim.c:105: modules/disksim_pf_stats_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:24, from config.h:37, from disksim.c:105: modules/disksim_simpledisk_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:25, from config.h:37, from disksim.c:105: modules/disksim_stats_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:26, from config.h:37, from disksim.c:105: modules/disksim_syncset_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:27, from config.h:37, from disksim.c:105: modules/disksim_synthgen_param.h:1: libparam/libparam.h: No such file or directory In file included from modules/modules.h:28, from config.h:37, from disksim.c:105: modules/disksim_synthio_param.h:1: libparam/libparam.h: No such file or directory In file included from disksim.c:107: modules/disksim_global_param.h:1: libparam/libparam.h: No such file or directory make[1]: *** [disksim.o] Error 1 make[1]: Leaving directory `/root/Desktop/disksim-3.0/src' make: *** [all] Error 2 I don't know why,who can help me ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From cq25062030 at 126.com Thu Apr 12 05:35:20 2012 From: cq25062030 at 126.com (cq25062030) Date: Thu, 12 Apr 2012 17:35:20 +0800 (CST) Subject: [Disksim-users] Problem about stopping simulation because of saturation Message-ID: <52bb8d3b.21645.136a5e835cc.Coremail.cq25062030@126.com> Hi all, I'm a freshman of using DiskSim. Recently, I try to implement a simply Garbage Collection algorithm based on the ssd model source code provide by Microsoft, I only modify a part of the ssd_clean.c file, and make a little change about the initialization function. The source code of DiskSim is kept the same as before. And I use the same test case as Microsoft provided, but when I try to run the new code, the DiskSim give an error message like: Stopping simulation because of saturation..... This problem occurs when run the ssd-rw5m and ssd-postmark test case. I try to reduce the size of the request by modifying the configuration file as the website https://sos.ece.cmu.edu/pipermail/disksim-users/2010-July/000516.html, the number of simulated request grows, but the problem occurs again at last. Also I try to debug the program, I find that the requests keep arriving, but little operation about issuing them, I can't find the reason that leads to generate this problem. Could anyone give me some advice to solve this problem? Thanks a lot. Best wishes, Qian Cheng. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmacko at eecs.harvard.edu Thu Apr 12 09:40:05 2012 From: pmacko at eecs.harvard.edu (Peter Macko) Date: Thu, 12 Apr 2012 09:40:05 -0400 Subject: [Disksim-users] Problem about stopping simulation because of saturation In-Reply-To: <52bb8d3b.21645.136a5e835cc.Coremail.cq25062030@126.com> References: <52bb8d3b.21645.136a5e835cc.Coremail.cq25062030@126.com> Message-ID: Hi, This is most likely because of DiskSim's hardcoded limit on the number of requests that can be in flight at the same time. The maximum number is MAX_QUEUE_LENGTH declared in src/disksim_logorg.c, which is by default 10000. The problem is that disksim replays the disk I/Os from the trace at the same speed regardless of the performance of the simulated device. For example, if the trace has an I/O every 1ms, then disksim will issue an I/O every 1ms, regardless of how long that I/O takes to complete - even if it is not yet complete. So if the trace issues requests faster than the device can process, the simulation will die because of saturation. A quick solution for this problem would be to increase the simulation time between successive requests. Multiplying all timestamps by 2 or 3 should help. A more general solution to the problem - but also by far the most time solution - would be to develop a new trace format, with the corresponding record and replay tools, in which disksim would know which I/Os need to complete before which I/Os can be issued, so that the timing of the requests in the trace would adjust dynamically depending on the device performance. I hoped to do it at some point, but I was just never able to find the time for it. Best, -Peter On Apr 12, 2012, at 5:35 AM, cq25062030 wrote: > Hi all, > > I'm a freshman of using DiskSim. Recently, I try to implement a simply Garbage Collection algorithm based on the ssd model source code provide by Microsoft, I only modify a part of the ssd_clean.c file, and make a little change about the initialization function. The source code of DiskSim is kept the same as before. And I use the same test case as Microsoft provided, but when I try to run the new code, the DiskSim give an error message like: Stopping simulation because of saturation..... > > This problem occurs when run the ssd-rw5m and ssd-postmark test case. > > I try to reduce the size of the request by modifying the configuration file as the website > > https://sos.ece.cmu.edu/pipermail/disksim-users/2010-July/000516.html, > > the number of simulated request grows, but the problem occurs again at last. Also I try to debug th e program, I find that the requests keep arriving, but little operation about issuing them, I can't find the reason that leads to generate this problem. > > Could anyone give me some advice to solve this problem? > > Thanks a lot. > > Best wishes, > > Qian Cheng. > > > > > > _______________________________________________ > 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 mingbang24 at gmail.com Thu Apr 12 22:33:22 2012 From: mingbang24 at gmail.com (Mingbang) Date: Fri, 13 Apr 2012 10:33:22 +0800 Subject: [Disksim-users] install disksim3.0 Message-ID: HI~zh-lian: In oder to install the flashsim you must install bison and flex beside the correct gcc version, I have install disksim3.0+flashsim many time without any problem. hope I can help you . -- Wang Mingbang Department of Electronic and Information Engineering Beihang University Phone Number: +86-15910556701 Beijing 100191, P.R. China -------------- next part -------------- An HTML attachment was scrubbed... URL: From 258908913 at qq.com Mon Apr 16 23:04:55 2012 From: 258908913 at qq.com (=?gbk?B?c21pbGU=?=) Date: Tue, 17 Apr 2012 11:04:55 +0800 Subject: [Disksim-users] =?gbk?q?help=A1=AA=A1=AAparv_file_in_ssd-add-on?= Message-ID: hi,all I'm simulating ssd-add-on in disksim and some question disturbed me. 1?If I want to set the size of generated random write request,how to modify the parameter ? 2?What does "Sizes=[exponential,0.0,8.0]" mean in disksim_synthgen in ssd-rw5m.parv? Can you calculate the sum of request size based on this parv file? I am looking forward your reply. best regards! -------------- next part -------------- An HTML attachment was scrubbed... URL: