From shakthi.bachala at gmail.com Fri Dec 3 18:19:51 2010 From: shakthi.bachala at gmail.com (shakthi bachala) Date: Fri, 3 Dec 2010 17:19:51 -0600 Subject: [Disksim-users] Error in disksim while make Message-ID: Hello, We are trying to run disksim on a UNIX system. When we are trying to *make *disksim. we are getting following error. make -C modules make[2]: Entering directory `/home/grad/bkasi/disksim-4.0/diskmodel/modules' ../../libparam/mod.pl dm disk.modspec make[2]: ../../libparam/mod.pl: Command not found make[2]: *** [dm_disk_param.c] Error 127 make[2]: Leaving directory `/home/grad/bkasi/disksim-4.0/diskmodel/modules' make[1]: *** [modules/*.o] Error 2 make[1]: Leaving directory `/home/grad/bkasi/disksim-4.0/diskmodel' make: *** [all] Error 2 If anyone know the solution for this problem. Can you please let me know the solution. Thanks, Shakthi. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jontjioe at gmail.com Sat Dec 4 14:45:18 2010 From: jontjioe at gmail.com (Jonathan Tjioe) Date: Sat, 4 Dec 2010 11:45:18 -0800 Subject: [Disksim-users] Getting FlashSim to work with DiskSim3.0 Message-ID: All, I am trying to use FlashSim in conjunction with DiskSim3.0. High-level procedures to set this up are described here: http://csl.cse.psu.edu/?q=node/322 This will provide me with an environment to simulate DFTL, Page Mapping FTL, and FAST. The first step is to get DiskSim3.0 installed and working. I was able to get DiskSim3.0 installed, configured, and compiled successfully using the procedures that are posted here: http://www.pdl.cmu.edu/DiskSim/Compiling_DiskSim3.0_v1.0.pdf However, I was not sure how to complete the remaining steps on http://csl.cse.psu.edu/?q=node/322 to get FlashSim working correctly. The instructions say to extract src.release.tar.gz which I did. But am I supposed to get rid of my existing (and correctly functioning) ~/disksim-3.0/src directory and replace it with the src.release directory? I wasn't sure if I should get rid of it or copy over it with the new src.release contents. Also, after that is resolved, what is the proper command I should use to correctly "make" the files? Any help is greatly appreciated. Thanks. Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jontjioe at gmail.com Sun Dec 5 13:26:43 2010 From: jontjioe at gmail.com (Jonathan Tjioe) Date: Sun, 5 Dec 2010 10:26:43 -0800 Subject: [Disksim-users] Getting FlashSim to work with DiskSim3.0 In-Reply-To: References: Message-ID: All, Here is an update with the exact error message I get. So after I have DiskSim 3.0 working, I backed up the DiskSim src directory: cd ~/disksim/disksim-3.0 mv src src_orig I then put src.release (from FlashSim) to src (in DiskSim directory): cp -pR /tmp/src.release ~/disksim/disksim-3.0/src I updated my .paths and .paths.in accordingly inside ~/disksim/disksim-3.0/src: #update the LIBPARAM_PREFIX and LIBDDBG_PREFIX in the .paths.in file to have path of disksim directory export LIBPARAM_PREFIX=/home/jontjioe/disksim/disksim-3.0/libparam export LIBDDBG_PREFIX=/home/jontjioe/disksim/disksim-3.0/libddbg export DISKMODEL_PREFIX=/home/jontjioe/disksim/disksim-3.0/diskmodel cp .paths.in .paths And then, I run the patch which updates dftl.c, disksim_logorg.c, fast.c, flash.c, pagemap.c, and syssim_driver.c: cd ~/disksim/disksim-3.0/src patch -p1 -i flashsim-20100324.patch I then attempted to compile the src directory: cd ~/disksim/disksim-3.0/src make This is the error I get: << jontjioe at ubuntu:~/disksim/disksim-3.0/src$ make make -C modules make[1]: Entering directory `/home/jontjioe/disksim/disksim-3.0/src/modules' /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim bus.modspec indent disksim_bus_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ctlr.modspec indent disksim_ctlr_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iodriver.modspec indent disksim_iodriver_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ioqueue.modspec indent disksim_ioqueue_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim disk.modspec indent disksim_disk_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim simpledisk.modspec indent disksim_simpledisk_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim simpleflash.modspec indent disksim_simpleflash_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim device_stats.modspec indent disksim_device_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim bus_stats.modspec indent disksim_bus_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ctlr_stats.modspec indent disksim_ctlr_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iodriver_stats.modspec indent disksim_iodriver_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim pf_stats.modspec indent disksim_pf_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim global.modspec indent disksim_global_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim stats.modspec indent disksim_stats_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim syncset.modspec indent disksim_syncset_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim synthgen.modspec indent disksim_synthgen_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim synthio.modspec indent disksim_synthio_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim logorg.modspec indent disksim_logorg_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim pf.modspec indent disksim_pf_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim cachemem.modspec indent disksim_cachemem_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim cachedev.modspec indent disksim_cachedev_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim device.modspec indent disksim_device_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iosim.modspec indent disksim_iosim_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iomap.modspec indent disksim_iomap_param.c || true /bin/sh: indent: not found /home/jontjioe/disksim/disksim-3.0/libparam/make_modules_h.pl disksim *.modspec > modules.h make[1]: Leaving directory `/home/jontjioe/disksim/disksim-3.0/src/modules' gcc -Wall -Wno-unused -MD -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include -I/home/jontjioe/disksim/disksim-3.0/libparam/include -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS -D_INLINE -DFSIM_DEBUG -g -c -o disksim_main.o disksim_main.c In file included from disksim_global.h:107, from disksim_main.c:58: inline.h:41:8: warning: extra tokens at end of #endif directive inline.h:43:8: warning: extra tokens at end of #endif directive In file included from fast.h:11, from ssd_interface.h:14, from disksim_main.c:60: type.h:8:1: warning: "ASSERT" redefined In file included from disksim_global.h:141, from disksim_main.c:58: disksim_assertlib.h:116:1: warning: this is the location of the previous definition disksim_main.c: In function `warmFlashsynth': disksim_main.c:70: warning: implicit declaration of function `opagemap_reset' disksim_main.c: In function `warmFlash': disksim_main.c:91: warning: int format, long int arg (arg 5) gcc -Wall -Wno-unused -MD -c -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include -I/home/jontjioe/disksim/disksim-3.0/libparam/include -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS -D_INLINE -DFSIM_DEBUG -g disksim.c -o disksim.o In file included from disksim_global.h:107, from disksim.c:101: inline.h:41:8: warning: extra tokens at end of #endif directive inline.h:43:8: warning: extra tokens at end of #endif directive In file included from config.h:36, from disksim.c:105: /home/jontjioe/disksim/disksim-3.0/libddbg/include/libddbg/libddbg.h:106:7: warning: extra tokens at end of #else directive In file included from fast.h:11, from ssd_interface.h:14, from disksim.c:120: type.h:8:1: warning: "ASSERT" redefined In file included from disksim_global.h:141, from disksim.c:101: disksim_assertlib.h:116:1: warning: this is the location of the previous definition In file included from disksim.c:493: modules/disksim_global_param.c:106:23: missing terminating " character modules/disksim_global_param.c:107:1: missing terminating " character In file included from disksim.c:493: modules/disksim_global_param.c: In function `disksim_global_loadparams': modules/disksim_global_param.c:108: error: syntax error before "return" modules/disksim_global_param.c:113:1: warning: no newline at end of file disksim.c: In function `disksim_setup_disksim': disksim.c:942: warning: implicit declaration of function `iosim_initialize_iosim_info' make: *** [disksim.o] Error 1 >> Thanks in advance for your help, Jonathan On Sat, Dec 4, 2010 at 11:45 AM, Jonathan Tjioe wrote: > All, > > I am trying to use FlashSim in conjunction with DiskSim3.0. High-level > procedures to set this up are described here: > > http://csl.cse.psu.edu/?q=node/322 > > This will provide me with an environment to simulate DFTL, Page Mapping > FTL, and FAST. > > The first step is to get DiskSim3.0 installed and working. I was able to > get DiskSim3.0 installed, configured, and compiled successfully using the > procedures that are posted here: > > http://www.pdl.cmu.edu/DiskSim/Compiling_DiskSim3.0_v1.0.pdf > > However, I was not sure how to complete the remaining steps on > http://csl.cse.psu.edu/?q=node/322 to get FlashSim working correctly. The > instructions say to extract src.release.tar.gz which I did. But am I > supposed to get rid of my existing (and correctly functioning) > ~/disksim-3.0/src directory and replace it with the src.release directory? I > wasn't sure if I should get rid of it or copy over it with the new > src.release contents. > > Also, after that is resolved, what is the proper command I should use to > correctly "make" the files? > > Any help is greatly appreciated. > > Thanks. > Jonathan > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jontjioe at gmail.com Mon Dec 6 00:42:58 2010 From: jontjioe at gmail.com (Jonathan Tjioe) Date: Sun, 5 Dec 2010 21:42:58 -0800 Subject: [Disksim-users] Getting FlashSim to work with DiskSim3.0 In-Reply-To: References: Message-ID: I got it working! I'll write up the instructions for what I had to do and send it out later this week. Thanks! Jonathan On Sun, Dec 5, 2010 at 10:26 AM, Jonathan Tjioe wrote: > All, > > Here is an update with the exact error message I get. So after I have > DiskSim 3.0 working, I backed up the DiskSim src directory: > cd ~/disksim/disksim-3.0 > mv src src_orig > > I then put src.release (from FlashSim) to src (in DiskSim directory): > cp -pR /tmp/src.release ~/disksim/disksim-3.0/src > > I updated my .paths and .paths.in accordingly inside > ~/disksim/disksim-3.0/src: > #update the LIBPARAM_PREFIX and LIBDDBG_PREFIX in the .paths.in file to > have path of disksim directory > export LIBPARAM_PREFIX=/home/jontjioe/disksim/disksim-3.0/libparam > export LIBDDBG_PREFIX=/home/jontjioe/disksim/disksim-3.0/libddbg > export DISKMODEL_PREFIX=/home/jontjioe/disksim/disksim-3.0/diskmodel > > cp .paths.in .paths > > And then, I run the patch which updates dftl.c, disksim_logorg.c, fast.c, > flash.c, pagemap.c, and syssim_driver.c: > cd ~/disksim/disksim-3.0/src > patch -p1 -i flashsim-20100324.patch > > I then attempted to compile the src directory: > cd ~/disksim/disksim-3.0/src > make > > This is the error I get: > << > jontjioe at ubuntu:~/disksim/disksim-3.0/src$ make > make -C modules > make[1]: Entering directory > `/home/jontjioe/disksim/disksim-3.0/src/modules' > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim bus.modspec > indent disksim_bus_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ctlr.modspec > indent disksim_ctlr_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > iodriver.modspec > indent disksim_iodriver_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ioqueue.modspec > > indent disksim_ioqueue_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim disk.modspec > indent disksim_disk_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > simpledisk.modspec > indent disksim_simpledisk_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > simpleflash.modspec > indent disksim_simpleflash_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > device_stats.modspec > indent disksim_device_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > bus_stats.modspec > indent disksim_bus_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > ctlr_stats.modspec > indent disksim_ctlr_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > iodriver_stats.modspec > indent disksim_iodriver_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > pf_stats.modspec > indent disksim_pf_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim global.modspec > indent disksim_global_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim stats.modspec > indent disksim_stats_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim syncset.modspec > > indent disksim_syncset_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > synthgen.modspec > indent disksim_synthgen_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim synthio.modspec > > indent disksim_synthio_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim logorg.modspec > indent disksim_logorg_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim pf.modspec > indent disksim_pf_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > cachemem.modspec > indent disksim_cachemem_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim > cachedev.modspec > indent disksim_cachedev_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim device.modspec > indent disksim_device_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iosim.modspec > indent disksim_iosim_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iomap.modspec > indent disksim_iomap_param.c || true > /bin/sh: indent: not found > /home/jontjioe/disksim/disksim-3.0/libparam/make_modules_h.pl disksim > *.modspec > modules.h > make[1]: Leaving directory `/home/jontjioe/disksim/disksim-3.0/src/modules' > gcc -Wall -Wno-unused -MD > -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include > -I/home/jontjioe/disksim/disksim-3.0/libparam/include > -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS > -D_INLINE -DFSIM_DEBUG -g -c -o disksim_main.o disksim_main.c > In file included from disksim_global.h:107, > from disksim_main.c:58: > inline.h:41:8: warning: extra tokens at end of #endif directive > inline.h:43:8: warning: extra tokens at end of #endif directive > In file included from fast.h:11, > from ssd_interface.h:14, > from disksim_main.c:60: > type.h:8:1: warning: "ASSERT" redefined > In file included from disksim_global.h:141, > from disksim_main.c:58: > disksim_assertlib.h:116:1: warning: this is the location of the previous > definition > disksim_main.c: In function `warmFlashsynth': > disksim_main.c:70: warning: implicit declaration of function > `opagemap_reset' > disksim_main.c: In function `warmFlash': > disksim_main.c:91: warning: int format, long int arg (arg 5) > gcc -Wall -Wno-unused -MD -c > -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include > -I/home/jontjioe/disksim/disksim-3.0/libparam/include > -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS > -D_INLINE -DFSIM_DEBUG -g disksim.c -o disksim.o > In file included from disksim_global.h:107, > from disksim.c:101: > inline.h:41:8: warning: extra tokens at end of #endif directive > inline.h:43:8: warning: extra tokens at end of #endif directive > In file included from config.h:36, > from disksim.c:105: > /home/jontjioe/disksim/disksim-3.0/libddbg/include/libddbg/libddbg.h:106:7: > warning: extra tokens at end of #else directive > In file included from fast.h:11, > from ssd_interface.h:14, > from disksim.c:120: > type.h:8:1: warning: "ASSERT" redefined > In file included from disksim_global.h:141, > from disksim.c:101: > disksim_assertlib.h:116:1: warning: this is the location of the previous > definition > In file included from disksim.c:493: > modules/disksim_global_param.c:106:23: missing terminating " character > modules/disksim_global_param.c:107:1: missing terminating " character > In file included from disksim.c:493: > modules/disksim_global_param.c: In function `disksim_global_loadparams': > modules/disksim_global_param.c:108: error: syntax error before "return" > modules/disksim_global_param.c:113:1: warning: no newline at end of file > disksim.c: In function `disksim_setup_disksim': > disksim.c:942: warning: implicit declaration of function > `iosim_initialize_iosim_info' > make: *** [disksim.o] Error 1 > >> > > Thanks in advance for your help, > Jonathan > > > On Sat, Dec 4, 2010 at 11:45 AM, Jonathan Tjioe wrote: > >> All, >> >> I am trying to use FlashSim in conjunction with DiskSim3.0. High-level >> procedures to set this up are described here: >> >> http://csl.cse.psu.edu/?q=node/322 >> >> This will provide me with an environment to simulate DFTL, Page Mapping >> FTL, and FAST. >> >> The first step is to get DiskSim3.0 installed and working. I was able to >> get DiskSim3.0 installed, configured, and compiled successfully using the >> procedures that are posted here: >> >> http://www.pdl.cmu.edu/DiskSim/Compiling_DiskSim3.0_v1.0.pdf >> >> However, I was not sure how to complete the remaining steps on >> http://csl.cse.psu.edu/?q=node/322 to get FlashSim working correctly. The >> instructions say to extract src.release.tar.gz which I did. But am I >> supposed to get rid of my existing (and correctly functioning) >> ~/disksim-3.0/src directory and replace it with the src.release directory? I >> wasn't sure if I should get rid of it or copy over it with the new >> src.release contents. >> >> Also, after that is resolved, what is the proper command I should use to >> correctly "make" the files? >> >> Any help is greatly appreciated. >> >> Thanks. >> Jonathan >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dahlawi at IEEE.ORG Mon Dec 6 02:57:23 2010 From: dahlawi at IEEE.ORG (Abdullah Al-Dahlawi) Date: Mon, 6 Dec 2010 02:57:23 -0500 Subject: [Disksim-users] DiskSim 101 Message-ID: Greeting All I am new to DiskSim ... Can any one tell me which specific resource will help me understand how to modify the IOdriver model of disksim in order to simulate hybrid storage system (Disk + SSD) that is managed by the Operating System. Your help is highy appreciated .... -- Abdullah Al-Dahlawi Department. Of Electrical & Computer Engineering George Washington University ---- Check The Fastest 500 Super Computers Worldwide http://www.top500.org/list/2010/06/100 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dahlawi at IEEE.ORG Fri Dec 10 16:50:00 2010 From: dahlawi at IEEE.ORG (Abdullah Al-Dahlawi) Date: Fri, 10 Dec 2010 16:50:00 -0500 Subject: [Disksim-users] Segmentation Fault !!! Message-ID: Greeting Can any one gibe me a feedback why I am getting a "segmentation fault" error when modifying a 3disk.parv faile to include an ssd device ????????? Here my modified PARV file # 3disks.parv # John Bucy/20021210 # 3 different disks on 1 controller # --------------------------------------------------------- disksim_global Global { Init Seed = 42, Real Seed = 42, # Statistic warm-up period = 0.0 seconds, Stat definition file = statdefs } # --------------------------------------------------------- disksim_stats Stats { iodriver stats = disksim_iodriver_stats { Print driver size stats = 1, Print driver locality stats = 0, Print driver blocking stats = 0, Print driver interference stats = 0, Print driver queue stats = 1, Print driver crit stats = 0, Print driver idle stats = 1, Print driver intarr stats = 1, Print driver streak stats = 1, Print driver stamp stats = 1, Print driver per-device stats = 1 }, bus stats = disksim_bus_stats { Print bus idle stats = 1, Print bus arbwait stats = 1 }, ctlr stats = disksim_ctlr_stats { Print controller cache stats = 1, Print controller size stats = 1, Print controller locality stats = 1, Print controller blocking stats = 1, Print controller interference stats = 1, Print controller queue stats = 1, Print controller crit stats = 1, Print controller idle stats = 1, Print controller intarr stats = 1, Print controller streak stats = 1, Print controller stamp stats = 1, Print controller per-device stats = 1 }, device stats = disksim_device_stats { Print device queue stats = 0, Print device crit stats = 0, Print device idle stats = 0, Print device intarr stats = 0, Print device size stats = 0, Print device seek stats = 1, Print device latency stats = 1, Print device xfer stats = 1, Print device acctime stats = 1, Print device interfere stats = 0, Print device buffer stats = 1 }, process flow stats = disksim_pf_stats { Print per-process stats = 1, Print per-CPU stats = 1, Print all interrupt stats = 1, Print sleep stats = 1 } } # end of stats block # --------------------------------------------------------- #disksim_iosim IS { # I/O Trace Time Scale = 1.0 #} # end of iosim spec # --------------------------------------------------------- disksim_iodriver DRIVER0 { type = 1, Constant access time = 0.0, Scheduler = disksim_ioqueue { Scheduling policy = 3, Cylinder mapping strategy = 1, Write initiation delay = 0.0, Read initiation delay = 0.0, Sequential stream scheme = 0, Maximum concat size = 128, Overlapping request scheme = 0, Sequential stream diff maximum = 0, Scheduling timeout scheme = 0, Timeout time/weight = 6, Timeout scheduling = 4, Scheduling priority scheme = 0, Priority scheduling = 4 }, # end of Scheduler Use queueing in subsystem = 1 } # end of DRV0 spec # --------------------------------------------------------- disksim_bus BUS0 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.0, Write block transfer time = 0.0, Print stats = 0 } # end of BUS0 spec # --------------------------------------------------------- disksim_bus BUS1 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.0512, Write block transfer time = 0.0512, Print stats = 1 } # end of BUS1 spec # --------------------------------------------------------- disksim_bus BUS2 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.0512, Write block transfer time = 0.0512, Print stats = 1 } # end of BUS2 spec # --------------------------------------------------------- disksim_bus BUS3 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.0512, Write block transfer time = 0.0512, Print stats = 1 } # end of BUS3 spec # --------------------------------------------------------- disksim_bus BUSHBA { type = 2, Arbitration type = 1, Arbitration time = 0.001, # PCI-E, with 8 lanes with 8b/10b encoding gives 2.0 Gbps per # lane and with 8 lanes we get about 2.0 GBps. So, bulk sector # transfer time is about 0.238 us. SATA/300 can transfer data # at 300 MBps, which amounts to about 1.6276 us per byte. Read block transfer time = 0.0002384, Write block transfer time = 0.0002384, #Read block transfer time = 0.0016276, #Write block transfer time = 0.0016276, Print stats = 1 } # end of BUSHBA spec # --------------------------------------------------------- disksim_ctlr CTLR0 { type = 1, Scale for delays = 0.0, Bulk sector transfer time = 0.0, Maximum queue length = 0, Print stats = 1 } # end of CTLR0 spec # --------------------------------------------------------- # don't change the order of the following parameters. # we use Flash chip elements and Elements per gang to # find number of gang -- we need this info before initializing # the queue (disksim_ioqueue) ssdmodel_ssd SSD { # vp - this is a percentage of total pages in the ssd Reserve pages percentage = 15, # vp - min percentage of free blocks needed. if the free # blocks drop below this, cleaning kicks in Minimum free blocks percentage = 5, # vp - a simple read-modify-erase-write policy = 1 (no longer supported) # vp - osr write policy = 2 Write policy = 2, # vp - random = 1 (not supp), greedy = 2, wear-aware = 3 Cleaning policy = 2, # vp - number of planes in each flash package (element) Planes per package = 8, # vp - number of flash blocks in each plane Blocks per plane = 2048, # vp - how the blocks within an element are mapped on a plane # simple concatenation = 1, plane-pair stripping = 2 (not tested), # full stripping = 3 Plane block mapping = 3, # vp - copy-back enabled (1) or not (0) Copy back = 1, # how many parallel units are there? # entire elem = 1, two dies = 2, four plane-pairs = 4 Number of parallel units = 1, # vp - we use diff allocation logic: chip/plane # each gang = 0, each elem = 1, each plane = 2 Allocation pool logic = 1, # elements are grouped into a gang Elements per gang = 1, # shared bus (1) or shared control (2) gang Gang share = 1, # when do we want to do the cleaning? Cleaning in background = 0, Command overhead = 0.00, Bus transaction latency = 0.0, # Assuming PCI-E, with 8 lanes with 8b/10b encoding. # This gives 2.0 Gbps per lane and with 8 lanes we get about # 2.0 GBps. So, bulk sector transfer time is about 0.238 us. # Use the "Read block transfer time" and "Write block transfer time" # from disksim_bus above. Bulk sector transfer time = 0, Flash chip elements = 8, Page size = 8, Pages per block = 64, # vp - changing the no of blocks from 16184 to 16384 Blocks per element = 16384, Element stride pages = 1, Never disconnect = 1, Print stats = 1, Max queue length = 20, Scheduler = disksim_ioqueue { Scheduling policy = 1, Cylinder mapping strategy = 0, Write initiation delay = 0, Read initiation delay = 0.0, Sequential stream scheme = 0, Maximum concat size = 0, Overlapping request scheme = 0, Sequential stream diff maximum = 0, Scheduling timeout scheme = 0, Timeout time/weight = 0, Timeout scheduling = 0, Scheduling priority scheme = 0, Priority scheduling = 1 }, Timing model = 1, # vp changing the Chip xfer latency from per sector to per byte Chip xfer latency = 0.000025, Page read latency = 0.025, Page write latency = 0.200, Block erase latency = 1.5 } # end of SSD spec # --------------------------------------------------------- # HP_C3323A source atlas10k.diskspecs source ibm18es.diskspecs source cheetah9LP.diskspecs # --------------------------------------------------------- # component instantiation instantiate [ statfoo ] as Stats instantiate [ statfoo ] as Stats instantiate [ quantum ] as QUANTUM_TORNADO_validate instantiate [ ibm ] as IBM_DNES-309170W_validate instantiate [ seagate ] as SEAGATE_ST39102LW_validate instantiate [ ssd0x0 ] as SSD instantiate [ bus0 ] as BUS0 instantiate [ bus1 ] as BUS1 instantiate [ bus2 ] as BUS2 instantiate [ bus3 ] as BUS3 instantiate [ busHBA0 ] as BUSHBA instantiate [ driver0 ] as DRIVER0 instantiate [ ctlr0 ] as CTLR0 # --------------------------------------------------------- # system topology topology disksim_iodriver driver0 [ disksim_bus bus0 [ disksim_ctlr ctlr0 [ disksim_bus bus1 [ disksim_disk quantum [] ], disksim_bus bus2 [ disksim_disk ibm [] ], disksim_bus bus3 [ disksim_disk seagate [] ], disksim_bus busHBA0 [ ssdmodel_ssd ssd0x0 [] ] ] ] ] # no syncsets # --------------------------------------------------------- disksim_logorg quantumorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ quantum ], Stripe unit = 17938986, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.5, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.000000, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of logorg org0 spec # --------------------------------------------------------- disksim_logorg ibmorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ ibm ], Stripe unit = 17916240, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.5, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.000000, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of logorg org0 spec # --------------------------------------------------------- disksim_logorg seagateorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ seagate ], Stripe unit = 17783240, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.5, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.000000, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of logorg org0 spec # --------------------------------------------------------- disksim_logorg org0 { Addressing mode = Array, Distribution scheme = Striped, Redundancy scheme = Noredun, # vp - added more ssd elements devices = [ ssd0x0 ], Stripe unit = 128, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.5, Parity stripe unit = 128, Parity rotation type = 1, Time stamp interval = 0.000000, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of logorg org0 spec #-------------------------------------------------------------- ********************************************************************************* The output file has no error , however, a "segmentation error is generated when executing the simulator !!! Here is my output file ..... *** Output file name: abdullah.out *** Input trace format: validate *** I/O trace used: cheetah9LP.trace *** Synthgen to be used?: 0 disksim_global Global { Init Seed = 42, Real Seed = 42, Stat definition file = statdefs } # end of Global spec disksim_stats Stats { iodriver stats = disksim_iodriver_stats { Print driver size stats = 1, Print driver locality stats = 0, Print driver blocking stats = 0, Print driver interference stats = 0, Print driver queue stats = 1, Print driver crit stats = 0, Print driver idle stats = 1, Print driver intarr stats = 1, Print driver streak stats = 1, Print driver stamp stats = 1, Print driver per-device stats = 1 }, bus stats = disksim_bus_stats { Print bus idle stats = 1, Print bus arbwait stats = 1 }, ctlr stats = disksim_ctlr_stats { Print controller cache stats = 1, Print controller size stats = 1, Print controller locality stats = 1, Print controller blocking stats = 1, Print controller interference stats = 1, Print controller queue stats = 1, Print controller crit stats = 1, Print controller idle stats = 1, Print controller intarr stats = 1, Print controller streak stats = 1, Print controller stamp stats = 1, Print controller per-device stats = 1 }, device stats = disksim_device_stats { Print device queue stats = 0, Print device crit stats = 0, Print device idle stats = 0, Print device intarr stats = 0, Print device size stats = 0, Print device seek stats = 1, Print device latency stats = 1, Print device xfer stats = 1, Print device acctime stats = 1, Print device interfere stats = 0, Print device buffer stats = 1 }, process flow stats = disksim_pf_stats { Print per-process stats = 1, Print per-CPU stats = 1, Print all interrupt stats = 1, Print sleep stats = 1 } } # end of Stats spec disksim_iodriver DRIVER0 { type = 1, Constant access time = 0.0, Scheduler = disksim_ioqueue { Scheduling policy = 3, Cylinder mapping strategy = 1, Write initiation delay = 0.0, Read initiation delay = 0.0, Sequential stream scheme = 0, Maximum concat size = 128, Overlapping request scheme = 0, Sequential stream diff maximum = 0, Scheduling timeout scheme = 0, Timeout time/weight = 6, Timeout scheduling = 4, Scheduling priority scheme = 0, Priority scheduling = 4 }, Use queueing in subsystem = 1 } # end of DRIVER0 spec disksim_bus BUS0 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.0, Write block transfer time = 0.0, Print stats = 0 } # end of BUS0 spec disksim_bus BUS1 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.051200, Write block transfer time = 0.051200, Print stats = 1 } # end of BUS1 spec disksim_bus BUS2 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.051200, Write block transfer time = 0.051200, Print stats = 1 } # end of BUS2 spec disksim_bus BUS3 { type = 1, Arbitration type = 1, Arbitration time = 0.0, Read block transfer time = 0.051200, Write block transfer time = 0.051200, Print stats = 1 } # end of BUS3 spec disksim_bus BUSHBA { type = 2, Arbitration type = 1, Arbitration time = 0.001000, Read block transfer time = 0.000238, Write block transfer time = 0.000238, Print stats = 1 } # end of BUSHBA spec disksim_ctlr CTLR0 { type = 1, Scale for delays = 0.0, Bulk sector transfer time = 0.0, Maximum queue length = 0, Print stats = 1 } # end of CTLR0 spec ssdmodel_ssd SSD { Reserve pages percentage = 15, Minimum free blocks percentage = 5, Write policy = 2, Cleaning policy = 2, Planes per package = 8, Blocks per plane = 2048, Plane block mapping = 3, Copy back = 1, Number of parallel units = 1, Allocation pool logic = 1, Elements per gang = 1, Gang share = 1, Cleaning in background = 0, Command overhead = 0.0, Bus transaction latency = 0.0, Bulk sector transfer time = 0, Flash chip elements = 8, Page size = 8, Pages per block = 64, Blocks per element = 16384, Element stride pages = 1, Never disconnect = 1, Print stats = 1, Max queue length = 20, Scheduler = disksim_ioqueue { Scheduling policy = 1, Cylinder mapping strategy = 0, Write initiation delay = 0, Read initiation delay = 0.0, Sequential stream scheme = 0, Maximum concat size = 0, Overlapping request scheme = 0, Sequential stream diff maximum = 0, Scheduling timeout scheme = 0, Timeout time/weight = 0, Timeout scheduling = 0, Scheduling priority scheme = 0, Priority scheduling = 1 }, Timing model = 1, Chip xfer latency = 0.000025, Page read latency = 0.025000, Page write latency = 0.200000, Block erase latency = 1.500000 } # end of SSD spec source ./atlas10k.diskspecssource ./ibm18es.diskspecssource ./cheetah9LP.diskspecsinstantiate [ statfoo ] as Stats instantiate [ statfoo ] as Stats instantiate [ quantum ] as QUANTUM_TORNADO_validate instantiate [ ibm ] as IBM_DNES-309170W_validate instantiate [ seagate ] as SEAGATE_ST39102LW_validate instantiate [ ssd0x0 ] as SSD instantiate [ bus0 ] as BUS0 instantiate [ bus1 ] as BUS1 instantiate [ bus2 ] as BUS2 instantiate [ bus3 ] as BUS3 instantiate [ busHBA0 ] as BUSHBA instantiate [ driver0 ] as DRIVER0 instantiate [ ctlr0 ] as CTLR0 topospec disksim_iodriver driver0 [ disksim_bus bus0 [ disksim_ctlr ctlr0 [ disksim_bus bus1 [ disksim_disk quantum [ ] ], disksim_bus bus2 [ disksim_disk ibm [ ] ], disksim_bus bus3 [ disksim_disk seagate [ ] ], disksim_bus busHBA0 [ ssdmodel_ssd ssd0x0 [ ] ] ] ] ] disksim_logorg quantumorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ quantum ], Stripe unit = 17938986, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.500000, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.0, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of quantumorg spec disksim_logorg ibmorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ ibm ], Stripe unit = 17916240, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.500000, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.0, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of ibmorg spec disksim_logorg seagateorg { Addressing mode = Parts, Distribution scheme = Asis, Redundancy scheme = Noredun, devices = [ seagate ], Stripe unit = 17783240, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.500000, Parity stripe unit = 64, Parity rotation type = 1, Time stamp interval = 0.0, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of seagateorg spec disksim_logorg org0 { Addressing mode = Array, Distribution scheme = Striped, Redundancy scheme = Noredun, devices = [ ssd0x0 ], Stripe unit = 128, Synch writes for safety = 0, Number of copies = 2, Copy choice on read = 6, RMW vs. reconstruct = 0.500000, Parity stripe unit = 128, Parity rotation type = 1, Time stamp interval = 0.0, Time stamp start time = 60000.000000, Time stamp stop time = 10000000000.000000, Time stamp file name = stamps } # end of org0 spec loadparams complete -- Abdullah Al-Dahlawi George Washington University ---- Check The Fastest 500 Super Computers Worldwide http://www.top500.org/list/2010/06/100 -------------- next part -------------- An HTML attachment was scrubbed... URL: From stroucki at ece.cmu.edu Fri Dec 10 18:39:56 2010 From: stroucki at ece.cmu.edu (Michael Stroucken) Date: Fri, 10 Dec 2010 18:39:56 -0500 Subject: [Disksim-users] Segmentation Fault !!! In-Reply-To: References: Message-ID: <4D02BA4C.9020907@ece.cmu.edu> Abdullah Al-Dahlawi wrote: > Greeting > > Can any one gibe me a feedback why I am getting a "segmentation fault" > error when modifying a 3disk.parv faile to include an ssd device > ????????? What is your command line? Greetings, Michael. From stroucki at ece.cmu.edu Fri Dec 10 22:51:42 2010 From: stroucki at ece.cmu.edu (Michael Stroucken) Date: Fri, 10 Dec 2010 22:51:42 -0500 Subject: [Disksim-users] Segmentation Fault !!! In-Reply-To: References: Message-ID: <4D02F54E.6060508@ece.cmu.edu> Abdullah Al-Dahlawi wrote: > Greeting > > Can any one gibe me a feedback why I am getting a "segmentation fault" > error when modifying a 3disk.parv faile to include an ssd device ????????? > Two issues: 1) You are getting a segmentation fault, because you are trying to implement a hybrid system using magnetic and SSD drives. Due to a bug in the disksim code, getssd will use the current disk index as an index into the table of ssd disks. So if there are three magnetic disks, and one SSD, when trying to access disk 3 (the SSD), it will try to getssd(3). But since the count of SSDs is only 1, it will fall off the table. To avoid this, keep your system purely SSD apply the second patch to your config. 2) Once this is bypassed, the code will fail on an assertion that your page size does not match the aligned count as returned by ssd_choose_aligned_count. The value that function returns is MIN(count, block number % page size). If count is 4 and page size is 8, you will have problems. I don't know what that means for your experiments, but you can either change page size to 4 or apply the first patch. The patch will ignore the difference. Good luck, Michael. --- ssd.c.orig 2010-12-10 22:28:08.000000000 -0500 +++ ssd.c 2010-12-10 22:34:45.000000000 -0500 @@ -638,7 +638,7 @@ tmp->flags = curr->flags; tmp->blkno = blkno; tmp->bcount = ssd_choose_aligned_count(currdisk->params.page_size, blkno, count); - ASSERT(tmp->bcount == currdisk->params.page_size); + // ASSERT(tmp->bcount == currdisk->params.page_size); tmp->tempptr2 = curr; blkno += tmp->bcount; --- t-mlc-08.parv.abdullah 2010-12-10 22:09:23.000000000 -0500 +++ t-mlc-08.parv 2010-12-10 22:22:11.000000000 -0500 @@ -88,42 +88,6 @@ Use queueing in subsystem = 1 } # end of DRV0 spec # --------------------------------------------------------- -disksim_bus BUS0 { -type = 1, -Arbitration type = 1, -Arbitration time = 0.0, -Read block transfer time = 0.0, -Write block transfer time = 0.0, -Print stats = 0 -} # end of BUS0 spec -# --------------------------------------------------------- -disksim_bus BUS1 { -type = 1, -Arbitration type = 1, -Arbitration time = 0.0, -Read block transfer time = 0.0512, -Write block transfer time = 0.0512, -Print stats = 1 -} # end of BUS1 spec -# --------------------------------------------------------- -disksim_bus BUS2 { -type = 1, -Arbitration type = 1, -Arbitration time = 0.0, -Read block transfer time = 0.0512, -Write block transfer time = 0.0512, -Print stats = 1 -} # end of BUS2 spec -# --------------------------------------------------------- -disksim_bus BUS3 { -type = 1, -Arbitration type = 1, -Arbitration time = 0.0, -Read block transfer time = 0.0512, -Write block transfer time = 0.0512, -Print stats = 1 -} # end of BUS3 spec -# --------------------------------------------------------- disksim_bus BUSHBA { type = 2, Arbitration type = 1, @@ -252,23 +216,13 @@ # --------------------------------------------------------- # HP_C3323A -source atlas10k.diskspecs -source ibm18es.diskspecs -source cheetah9LP.diskspecs # --------------------------------------------------------- # component instantiation instantiate [ statfoo ] as Stats instantiate [ statfoo ] as Stats -instantiate [ quantum ] as QUANTUM_TORNADO_validate -instantiate [ ibm ] as IBM_DNES-309170W_validate -instantiate [ seagate ] as SEAGATE_ST39102LW_validate instantiate [ ssd0x0 ] as SSD -instantiate [ bus0 ] as BUS0 -instantiate [ bus1 ] as BUS1 -instantiate [ bus2 ] as BUS2 -instantiate [ bus3 ] as BUS3 instantiate [ busHBA0 ] as BUSHBA instantiate [ driver0 ] as DRIVER0 @@ -276,79 +230,12 @@ # --------------------------------------------------------- # system topology topology disksim_iodriver driver0 [ - disksim_bus bus0 [ - disksim_ctlr ctlr0 [ - disksim_bus bus1 [ - disksim_disk quantum [] - ], - disksim_bus bus2 [ - disksim_disk ibm [] - ], - disksim_bus bus3 [ - disksim_disk seagate [] - ], - disksim_bus busHBA0 [ + disksim_bus busHBA0 [ ssdmodel_ssd ssd0x0 [] ] ] - ] - ] # no syncsets # --------------------------------------------------------- -disksim_logorg quantumorg { - Addressing mode = Parts, - Distribution scheme = Asis, - Redundancy scheme = Noredun, - devices = [ quantum ], - Stripe unit = 17938986, - Synch writes for safety = 0, - Number of copies = 2, - Copy choice on read = 6, - RMW vs. reconstruct = 0.5, - Parity stripe unit = 64, - Parity rotation type = 1, - Time stamp interval = 0.000000, - Time stamp start time = 60000.000000, - Time stamp stop time = 10000000000.000000, - Time stamp file name = stamps -} # end of logorg org0 spec -# --------------------------------------------------------- -disksim_logorg ibmorg { - Addressing mode = Parts, - Distribution scheme = Asis, - Redundancy scheme = Noredun, - devices = [ ibm ], - Stripe unit = 17916240, - Synch writes for safety = 0, - Number of copies = 2, - Copy choice on read = 6, - RMW vs. reconstruct = 0.5, - Parity stripe unit = 64, - Parity rotation type = 1, - Time stamp interval = 0.000000, - Time stamp start time = 60000.000000, - Time stamp stop time = 10000000000.000000, - Time stamp file name = stamps -} # end of logorg org0 spec -# --------------------------------------------------------- -disksim_logorg seagateorg { - Addressing mode = Parts, - Distribution scheme = Asis, - Redundancy scheme = Noredun, - devices = [ seagate ], - Stripe unit = 17783240, - Synch writes for safety = 0, - Number of copies = 2, - Copy choice on read = 6, - RMW vs. reconstruct = 0.5, - Parity stripe unit = 64, - Parity rotation type = 1, - Time stamp interval = 0.000000, - Time stamp start time = 60000.000000, - Time stamp stop time = 10000000000.000000, - Time stamp file name = stamps -} # end of logorg org0 spec -# --------------------------------------------------------- disksim_logorg org0 { Addressing mode = Array, Distribution scheme = Striped, From jontjioe at gmail.com Sat Dec 11 00:02:25 2010 From: jontjioe at gmail.com (Jonathan Tjioe) Date: Fri, 10 Dec 2010 21:02:25 -0800 Subject: [Disksim-users] Getting FlashSim to work with DiskSim3.0 In-Reply-To: References: Message-ID: All, If any of you use FlashSim, I made a guide and also updated the src files so you need very little modification. If you already have DiskSim 3.0 working, with the attached files, you get get FlashSim working in minutes. Hope this is helpful for you. Jonathan On Sun, Dec 5, 2010 at 9:42 PM, Jonathan Tjioe wrote: > I got it working! I'll write up the instructions for what I had to do and > send it out later this week. > > Thanks! > Jonathan > > > On Sun, Dec 5, 2010 at 10:26 AM, Jonathan Tjioe wrote: > >> All, >> >> Here is an update with the exact error message I get. So after I have >> DiskSim 3.0 working, I backed up the DiskSim src directory: >> cd ~/disksim/disksim-3.0 >> mv src src_orig >> >> I then put src.release (from FlashSim) to src (in DiskSim directory): >> cp -pR /tmp/src.release ~/disksim/disksim-3.0/src >> >> I updated my .paths and .paths.in accordingly inside >> ~/disksim/disksim-3.0/src: >> #update the LIBPARAM_PREFIX and LIBDDBG_PREFIX in the .paths.in file to >> have path of disksim directory >> export LIBPARAM_PREFIX=/home/jontjioe/disksim/disksim-3.0/libparam >> export LIBDDBG_PREFIX=/home/jontjioe/disksim/disksim-3.0/libddbg >> export DISKMODEL_PREFIX=/home/jontjioe/disksim/disksim-3.0/diskmodel >> >> cp .paths.in .paths >> >> And then, I run the patch which updates dftl.c, disksim_logorg.c, fast.c, >> flash.c, pagemap.c, and syssim_driver.c: >> cd ~/disksim/disksim-3.0/src >> patch -p1 -i flashsim-20100324.patch >> >> I then attempted to compile the src directory: >> cd ~/disksim/disksim-3.0/src >> make >> >> This is the error I get: >> << >> jontjioe at ubuntu:~/disksim/disksim-3.0/src$ make >> make -C modules >> make[1]: Entering directory >> `/home/jontjioe/disksim/disksim-3.0/src/modules' >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim bus.modspec >> indent disksim_bus_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim ctlr.modspec >> indent disksim_ctlr_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> iodriver.modspec >> indent disksim_iodriver_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> ioqueue.modspec >> indent disksim_ioqueue_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim disk.modspec >> indent disksim_disk_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> simpledisk.modspec >> indent disksim_simpledisk_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> simpleflash.modspec >> indent disksim_simpleflash_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> device_stats.modspec >> indent disksim_device_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> bus_stats.modspec >> indent disksim_bus_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> ctlr_stats.modspec >> indent disksim_ctlr_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> iodriver_stats.modspec >> indent disksim_iodriver_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> pf_stats.modspec >> indent disksim_pf_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim global.modspec >> >> indent disksim_global_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim stats.modspec >> indent disksim_stats_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> syncset.modspec >> indent disksim_syncset_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> synthgen.modspec >> indent disksim_synthgen_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> synthio.modspec >> indent disksim_synthio_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim logorg.modspec >> >> indent disksim_logorg_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim pf.modspec >> indent disksim_pf_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> cachemem.modspec >> indent disksim_cachemem_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim >> cachedev.modspec >> indent disksim_cachedev_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim device.modspec >> >> indent disksim_device_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iosim.modspec >> indent disksim_iosim_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/mod.pl disksim iomap.modspec >> indent disksim_iomap_param.c || true >> /bin/sh: indent: not found >> /home/jontjioe/disksim/disksim-3.0/libparam/make_modules_h.pl disksim >> *.modspec > modules.h >> make[1]: Leaving directory >> `/home/jontjioe/disksim/disksim-3.0/src/modules' >> gcc -Wall -Wno-unused -MD >> -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include >> -I/home/jontjioe/disksim/disksim-3.0/libparam/include >> -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS >> -D_INLINE -DFSIM_DEBUG -g -c -o disksim_main.o disksim_main.c >> In file included from disksim_global.h:107, >> from disksim_main.c:58: >> inline.h:41:8: warning: extra tokens at end of #endif directive >> inline.h:43:8: warning: extra tokens at end of #endif directive >> In file included from fast.h:11, >> from ssd_interface.h:14, >> from disksim_main.c:60: >> type.h:8:1: warning: "ASSERT" redefined >> In file included from disksim_global.h:141, >> from disksim_main.c:58: >> disksim_assertlib.h:116:1: warning: this is the location of the previous >> definition >> disksim_main.c: In function `warmFlashsynth': >> disksim_main.c:70: warning: implicit declaration of function >> `opagemap_reset' >> disksim_main.c: In function `warmFlash': >> disksim_main.c:91: warning: int format, long int arg (arg 5) >> gcc -Wall -Wno-unused -MD -c >> -I/home/jontjioe/disksim/disksim-3.0/diskmodel/include >> -I/home/jontjioe/disksim/disksim-3.0/libparam/include >> -I/home/jontjioe/disksim/disksim-3.0/libddbg/include -g -DASSERTS >> -D_INLINE -DFSIM_DEBUG -g disksim.c -o disksim.o >> In file included from disksim_global.h:107, >> from disksim.c:101: >> inline.h:41:8: warning: extra tokens at end of #endif directive >> inline.h:43:8: warning: extra tokens at end of #endif directive >> In file included from config.h:36, >> from disksim.c:105: >> /home/jontjioe/disksim/disksim-3.0/libddbg/include/libddbg/libddbg.h:106:7: >> warning: extra tokens at end of #else directive >> In file included from fast.h:11, >> from ssd_interface.h:14, >> from disksim.c:120: >> type.h:8:1: warning: "ASSERT" redefined >> In file included from disksim_global.h:141, >> from disksim.c:101: >> disksim_assertlib.h:116:1: warning: this is the location of the previous >> definition >> In file included from disksim.c:493: >> modules/disksim_global_param.c:106:23: missing terminating " character >> modules/disksim_global_param.c:107:1: missing terminating " character >> In file included from disksim.c:493: >> modules/disksim_global_param.c: In function `disksim_global_loadparams': >> modules/disksim_global_param.c:108: error: syntax error before "return" >> modules/disksim_global_param.c:113:1: warning: no newline at end of file >> disksim.c: In function `disksim_setup_disksim': >> disksim.c:942: warning: implicit declaration of function >> `iosim_initialize_iosim_info' >> make: *** [disksim.o] Error 1 >> >> >> >> Thanks in advance for your help, >> Jonathan >> >> >> On Sat, Dec 4, 2010 at 11:45 AM, Jonathan Tjioe wrote: >> >>> All, >>> >>> I am trying to use FlashSim in conjunction with DiskSim3.0. High-level >>> procedures to set this up are described here: >>> >>> http://csl.cse.psu.edu/?q=node/322 >>> >>> This will provide me with an environment to simulate DFTL, Page Mapping >>> FTL, and FAST. >>> >>> The first step is to get DiskSim3.0 installed and working. I was able to >>> get DiskSim3.0 installed, configured, and compiled successfully using the >>> procedures that are posted here: >>> >>> http://www.pdl.cmu.edu/DiskSim/Compiling_DiskSim3.0_v1.0.pdf >>> >>> However, I was not sure how to complete the remaining steps on >>> http://csl.cse.psu.edu/?q=node/322 to get FlashSim working correctly. >>> The instructions say to extract src.release.tar.gz which I did. But am I >>> supposed to get rid of my existing (and correctly functioning) >>> ~/disksim-3.0/src directory and replace it with the src.release directory? I >>> wasn't sure if I should get rid of it or copy over it with the new >>> src.release contents. >>> >>> Also, after that is resolved, what is the proper command I should use to >>> correctly "make" the files? >>> >>> Any help is greatly appreciated. >>> >>> Thanks. >>> Jonathan >>> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Compiling_FlashSim_v1.0.doc Type: application/msword Size: 120314 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: src.release.20101205.tar.gz Type: application/x-gzip Size: 651570 bytes Desc: not available URL: From cythereayu at gmail.com Tue Dec 14 19:55:24 2010 From: cythereayu at gmail.com (Catherine Yu) Date: Tue, 14 Dec 2010 16:55:24 -0800 Subject: [Disksim-users] Compile error Message-ID: Hi all, I am new to DiskSim. When I compile DiskSim 4.0 on the 64bit machine, I added -m32 to src/Makefile like this ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $(DISKSIM_OBJ): %.o: %.c $(CC) -c -m32 $(CFLAGS) $< -o $@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Then I encountered these compilation erros ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wno-unused -MD -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -I../ssdmodel/include -D_INLINE -o disksim disksim_main.o -lm -L. -ldisksim -L../diskmodel/lib -ldiskmodel -L../memsmodel/lib -lmemsmodel -L../ssdmodel/lib -lssdmodel -L../libparam/lib -lparam -L../libddbg/lib -lddbg /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_iosim.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_logorg.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_redun.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_ioqueue.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_iodriver.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_bus.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_controller.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_ctlrdumb.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_ctlrsmart.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_disk.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_diskctlr.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_diskcache.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_statload.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_stat.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_rand48.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_malloc.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_cache.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_cachemem.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_cachedev.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_simpledisk.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_device.o)' is incompatible with i386:x86-64 output /usr/bin/ld: warning: i386 architecture of input file `./libdisksim.a(disksim_loadparams.o)' is incompatible with i386:x86-64 output ./libdisksim.a(disksim_diskctlr.o)(.text+0x8ee5): In function `disk_buffer_seekdone': /user/cathyyu/disksim-4.0-dixtrac/src/disksim_diskctlr.c:4101: undefined reference to `__moddi3' ./libdisksim.a(disksim_diskctlr.o)(.text+0x956c): In function `disk_buffer_sector_done': /user/cathyyu/disksim-4.0-dixtrac/src/disksim_diskctlr.c:4402: undefined reference to `__moddi3' collect2: ld returned 1 exit status make: *** [disksim] Error 1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Can anyone help me with this? Thanks a lot! Regards, -- Catherine Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: From cythereayu at gmail.com Wed Dec 15 12:10:26 2010 From: cythereayu at gmail.com (Catherine Yu) Date: Wed, 15 Dec 2010 09:10:26 -0800 Subject: [Disksim-users] DiskSim 4.0 with SSD extension compiling error on 64bit machine Message-ID: Hi All, I've downloaded the DiskSim4_0_diff_patch and succeeded in compilation. But when I tried to extend to SSD, and patch the ssd.patch, I still get some warnings and errors for compile. make -C ssdmodel make[1]: Entering directory `/mrvl/ssochomes/cathyyu/disksim-4.0/ssdmodel' gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd.c -o ssd.o gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd_timing.c -o ssd_timing.o gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd_clean.c -o ssd_clean.o gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd_gang.c -o ssd_gang.o gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd_init.c -o ssd_init.o ssd_init.c: In function `ssd_element_metadata_init': *ssd_init.c:184: warning: int format, different type arg (arg 3) ssd_init.c:208: warning: int format, different type arg (arg 3) *ssd_init.c: In function `ssd_initialize': *ssd_init.c:448: warning: type defaults to `int' in declaration of `print1' *gcc -Wall -Wno-unused -MD -c -g -DASSERTS -I../src// -I../diskmodel/include -I../ -I../src//src ssd_utils.c -o ssd_utils.o ar cru libssdmodel.a ssd.o ssd_timing.o ssd_clean.o ssd_gang.o ssd_init.o ssd_utils.o modules/ssdmodel_ssd_param.o ranlib libssdmodel.a mkdir -p lib cp libssdmodel.a lib make[1]: Leaving directory `/mrvl/ssochomes/cathyyu/disksim-4.0/ssdmodel' make -C src make[1]: Entering directory `/mrvl/ssochomes/cathyyu/disksim-4.0/src' gcc -Wall -Wno-unused -MD -m32 -c -m32 -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -D_INLINE disksim.c -o disksim.o disksim.c: In function `disksim_cleanup': disksim.c:1092: warning: implicit declaration of function `iodriver_cleanup' gcc -Wall -Wno-unused -MD -m32 -c -m32 -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -D_INLINE disksim_iosim.c -o disksim_iosim.o gcc -Wall -Wno-unused -MD -m32 -c -m32 -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -D_INLINE disksim_bus.c -o disksim_bus.o gcc -Wall -Wno-unused -MD -m32 -c -m32 -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -D_INLINE disksim_diskctlr.c -o disksim_diskctlr.o gcc -Wall -Wno-unused -MD -m32 -c -m32 -I. -I../diskmodel/include -I../libparam/include -I../libddbg/include -g -DASSERTS -I../memsmodel/include -D_INLINE disksim_device.c -o disksim_device.o *disksim_device.c:65:38: ssdmodel/ssd.h: No such file or directory disksim_device.c: In function `getdevbyname': disksim_device.c:116: warning: implicit declaration of function `getssd' disksim_device.c: In function `device_initialize': disksim_device.c:223: warning: implicit declaration of function `ssd_initialize' disksim_device.c: In function `device_resetstats': disksim_device.c:232: warning: implicit declaration of function `ssd_resetstats' disksim_device.c: In function `device_printstats': disksim_device.c:242: warning: implicit declaration of function `ssd_printstats' disksim_device.c: In function `device_printsetstats': disksim_device.c:274: warning: implicit declaration of function `ssd_printsetstats' make[1]: *** [disksim_device.o] Error 1 make[1]: Leaving directory `/mrvl/ssochomes/cathyyu/disksim-4.0/src' make: *** [all] Error 2 * ** Dose anyone knows how to solve this problem? I really appreciate your help. Regards, -- Catherine Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: From cythereayu at gmail.com Wed Dec 15 20:42:41 2010 From: cythereayu at gmail.com (Catherine Yu) Date: Wed, 15 Dec 2010 17:42:41 -0800 Subject: [Disksim-users] DiskSim 4.0 with SSD extension compiling error on 64bit machine In-Reply-To: References: Message-ID: Hi, Has anyone has a solution on compile DiskSim 4.0 with SSD extension on 64 bit? If I patch both disksim 4.0 patch and ssd patch, the compilation still fails. But disksim 4.0 standalone compilation will succeed. Regards, -- Catherine Yu -------------- next part -------------- An HTML attachment was scrubbed... URL: From cy_3108079008 at hotmail.com Fri Dec 17 00:15:18 2010 From: cy_3108079008 at hotmail.com (changyue) Date: Fri, 17 Dec 2010 05:15:18 +0000 Subject: [Disksim-users] Check whos blocking you on MSN! Message-ID:

Hey!
Want to know who has blocked or deleted you from MSN?

You will be Surprised!


View Invitation

Accept the invitation and you will see who has Blocked / Deleted you on MSN Messenger.
Block-Checked is a site which allows you check who has blocked or deleted from MSN. You have been invited by cy_3108079008 at hotmail.com who has used our block checker application. Please note This is not Spam Windows Live
-------------- next part -------------- An HTML attachment was scrubbed... URL: From ykwok2 at miners.utep.edu Sun Dec 19 16:00:28 2010 From: ykwok2 at miners.utep.edu (Yipkei Kwok) Date: Sun, 19 Dec 2010 14:00:28 -0700 Subject: [Disksim-users] How to generate block-level I/O traces of an application for Disksim? Message-ID: Dear users, In order to simulate I/O accesses of an application on Disksim, we need the block-level I/O traces of that application. How can I generate such a trace for an application running on an x86, x86-64, or PowerPC system? Thank you very much! Regards, Yipkei -- ******************************************** Yipkei Kwok Ph.D. Student 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 ******************************************** From haghdoost at gmail.com Sun Dec 19 23:41:05 2010 From: haghdoost at gmail.com (ARH) Date: Mon, 20 Dec 2010 08:11:05 +0330 Subject: [Disksim-users] How to generate block-level I/O traces of an application for Disksim? In-Reply-To: References: Message-ID: You may use blktrace tool. Alireza Haghdoost Graduate Student Department of Computer Engineering Sharif University of Technology http://ce.sharif.edu/~haghdoost Phone: (98) (21) 6616 6689 On Mon, Dec 20, 2010 at 00:30, Yipkei Kwok wrote: > Dear users, > > In order to simulate I/O accesses of an application on Disksim, we > need the block-level I/O traces of that application. How can I > generate such a trace for an application running on an x86, x86-64, or > PowerPC system? > > Thank you very much! > > Regards, > Yipkei > > -- > ******************************************** > Yipkei Kwok > Ph.D. Student > 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 > ******************************************** > _______________________________________________ > 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 chensinhome at gmail.com Mon Dec 20 19:16:41 2010 From: chensinhome at gmail.com (=?Big5?B?s6+rSKe7?=) Date: Tue, 21 Dec 2010 08:16:41 +0800 Subject: [Disksim-users] Disksim-users Digest, Vol 62, Issue 11 In-Reply-To: References: Message-ID: IOmeter ? IOzone ? postmark ? filebench ? those can't fit u ? 2010/12/21 > 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. How to generate block-level I/O traces of an application for > Disksim? (Yipkei Kwok) > 2. Re: How to generate block-level I/O traces of an application > for Disksim? (ARH) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 19 Dec 2010 14:00:28 -0700 > From: Yipkei Kwok > Subject: [Disksim-users] How to generate block-level I/O traces of an > application for Disksim? > To: Disksim Users Mailing List > Message-ID: > Content-Type: text/plain; charset="ISO-8859-1" > > Dear users, > > In order to simulate I/O accesses of an application on Disksim, we > need the block-level I/O traces of that application. How can I > generate such a trace for an application running on an x86, x86-64, or > PowerPC system? > > Thank you very much! > > Regards, > Yipkei > > -- > ******************************************** > Yipkei Kwok > Ph.D. Student > 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 > ******************************************** > > > ------------------------------ > > Message: 2 > Date: Mon, 20 Dec 2010 08:11:05 +0330 > From: ARH > Subject: Re: [Disksim-users] How to generate block-level I/O traces of > an application for Disksim? > To: Yipkei Kwok > Cc: Disksim Users Mailing List > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > You may use blktrace tool. > > Alireza Haghdoost > Graduate Student > Department of Computer Engineering > Sharif University of Technology > http://ce.sharif.edu/~haghdoost > Phone: (98) (21) 6616 6689 > > > > > On Mon, Dec 20, 2010 at 00:30, Yipkei Kwok wrote: > > > Dear users, > > > > In order to simulate I/O accesses of an application on Disksim, we > > need the block-level I/O traces of that application. How can I > > generate such a trace for an application running on an x86, x86-64, or > > PowerPC system? > > > > Thank you very much! > > > > Regards, > > Yipkei > > > > -- > > ******************************************** > > Yipkei Kwok > > Ph.D. Student > > 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 > > ******************************************** > > _______________________________________________ > > 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: < > http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20101220/547a22e6/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 62, Issue 11 > ********************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From raju.bitspilani at gmail.com Sat Dec 25 04:42:28 2010 From: raju.bitspilani at gmail.com (NagaRaju Bhanoori) Date: Sat, 25 Dec 2010 15:12:28 +0530 Subject: [Disksim-users] (no subject) Message-ID: -- NagaRaju Bhanoori, 3rd (Junior) Year,B.E.(Hons.) Computer Science Engineering, Birla Institute of Technology and Science-Pilani, K.K Birla Goa Campus-403726 ,India. +91-9975570406 From frajaei55 at gmail.com Sun Dec 26 08:26:37 2010 From: frajaei55 at gmail.com (f.rajaei) Date: Sun, 26 Dec 2010 05:26:37 -0800 Subject: [Disksim-users] Segmentation fault Message-ID: Dear All, while I was simulating an SSD-based RAID-4 or RAID-5 with stripe unit= 512 or more I came accross Segmentation fault. I would be grateful if someone could help me. Regards, Farzaneh -------------- next part -------------- An HTML attachment was scrubbed... URL: From cy_3108079008 at hotmail.com Mon Dec 27 01:55:21 2010 From: cy_3108079008 at hotmail.com (yue) Date: Mon, 27 Dec 2010 14:55:21 +0800 Subject: [Disksim-users] trace file Message-ID: Hello, Can someone can send me some trace file for ssd simulation, for example Financial, WebSearch, etc? I have download the Fanancial trace file from the "UMass Trace Repository" Website, but I don't know how to use it, because I don't konw how to change the trace file to fit my SSD simulation model size. Thanks! Waiting for the answer! Best regards! -------------- next part -------------- An HTML attachment was scrubbed... URL: From haghdoost at gmail.com Mon Dec 27 01:59:28 2010 From: haghdoost at gmail.com (ARH) Date: Mon, 27 Dec 2010 10:29:28 +0330 Subject: [Disksim-users] trace file In-Reply-To: References: Message-ID: You need to : 1. Write new trace interface ( DiskSim manual will help you to do so) 2. Compress block addresses in UMass trace files to fit into your SSD size. Alireza Haghdoost Graduate Student Department of Computer Engineering Sharif University of Technology http://ce.sharif.edu/~haghdoost Phone: (98) (21) 6616 6689 2010/12/27 yue > Hello, > Can someone can send me some trace file for ssd simulation, for > example Financial, WebSearch, etc? > I have download the Fanancial trace file from the "UMass Trace > Repository" Website, but I don't know how to use it, because I don't konw > how to change the trace file to fit my SSD simulation model size. > Thanks! > Waiting for the answer! > Best regards! > > _______________________________________________ > 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 haghdoost at gmail.com Mon Dec 27 02:44:10 2010 From: haghdoost at gmail.com (ARH) Date: Mon, 27 Dec 2010 11:14:10 +0330 Subject: [Disksim-users] trace file In-Reply-To: References: Message-ID: 1. I am not sure if it is the correct way I compression, However you can compress each address that exceed the total block address limit in your SSD. 2. You mean that ASU field represent the disk number for each request ? If you mean this, I think It is better to filter request from one disk and feed them in new trace file to disksim. Alireza Haghdoost Graduate Student Department of Computer Engineering Sharif University of Technology http://ce.sharif.edu/~haghdoost Phone: (98) (21) 6616 6689 On Mon, Dec 27, 2010 at 10:52, yue wrote: > Thanks for your reply! > I have something to ask detail for the compress block address: > 1 The website did not tell me the maximum address in the trace > file, so did I have to compute the maximum address by myself; > 2 The download trace file is fit for more than one disk, if I > use only a SSD, so what can I do ? > Should I compute the global address by the disk number and request > address of the disk ? Or I should omit other disk address, only use one disk > request? > Thanks! > Best Regards! > > > *From:* ARH > *Sent:* Monday, December 27, 2010 2:59 PM > *To:* yue > *Cc:* disksim-users at ece.cmu.edu > *Subject:* Re: [Disksim-users] trace file > > You need to : > 1. Write new trace interface ( DiskSim manual will help you to do so) > 2. Compress block addresses in UMass trace files to fit into your SSD size. > > Alireza Haghdoost > Graduate Student > Department of Computer Engineering > Sharif University of Technology > http://ce.sharif.edu/~haghdoost > Phone: (98) (21) 6616 6689 > > > > > 2010/12/27 yue > >> Hello, >> Can someone can send me some trace file for ssd simulation, for >> example Financial, WebSearch, etc? >> I have download the Fanancial trace file from the "UMass Trace >> Repository" Website, but I don't know how to use it, because I don't konw >> how to change the trace file to fit my SSD simulation model size. >> Thanks! >> Waiting for the answer! >> Best regards! >> >> _______________________________________________ >> 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 roman.talyansky at sap.com Thu Dec 30 09:25:24 2010 From: roman.talyansky at sap.com (Talyansky, Roman) Date: Thu, 30 Dec 2010 15:25:24 +0100 Subject: [Disksim-users] Simultanious disks Message-ID: Hello, For the research purpose I plan to use DiskSim in a full system level simulator, where the simulator should simulate access to several disks spread over LAN network. Basically I look for a way to use DiskSim to simulate several disks spread over the LAN network. I had a look at "disksim_interface.c" and found that disksim is a global variable, so it is probably impossible to instantiate several disksim instances in the same processe. Another (unpleasant) option may be to create several processes - where each process is dedicated to instantiating one disksim instance. This option is complex to manage. Here is my question: is there a simpler way to simulate several disks? Thanks in advance, Roman -------------- next part -------------- An HTML attachment was scrubbed... URL: From haghdoost at gmail.com Fri Dec 31 23:33:04 2010 From: haghdoost at gmail.com (ARH) Date: Sat, 1 Jan 2011 08:03:04 +0330 Subject: [Disksim-users] Simultanious disks In-Reply-To: References: Message-ID: Hello I think you should model all characteristics of your network in disksim and then connect your storage network model ( in this case disksim interface) to your full system simulator. Alireza Haghdoost Graduate Student Department of Computer Engineering Sharif University of Technology http://ce.sharif.edu/~haghdoost Phone: (98) (21) 6616 6689 2010/12/30 Talyansky, Roman > Hello, > > For the research purpose I plan to use DiskSim in a full system level > simulator, where the simulator should simulate access to several disks > spread over LAN network. > Basically I look for a way to use DiskSim to simulate several disks spread > over the LAN network. I had a look at ?disksim_interface.c? and found that > disksim is a global variable, so it is probably impossible to instantiate > several disksim instances in the same processe. Another (unpleasant) option > may be to create several processes ? where each process is dedicated to > instantiating one disksim instance. This option is complex to manage. > > Here is my question: is there a simpler way to simulate several disks? > > Thanks in advance, > > Roman > > > > > _______________________________________________ > 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: