From mauricxe at netscape.net Mon Feb 1 15:01:03 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Mon, 01 Feb 2010 15:01:03 -0500 Subject: [Disksim-users] Diskim API help Message-ID: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com> Hello, I am new to Disksim. I read the manual. I have a question about compiling the API. I noticed that there syssim_drive.c is a good skeleton for creating an API. I am trying to experiment with some of the options of Disksim by modifying the syssim_drive. I also have the Microsoft SSD patch installed. Here is my question, how do I compile syssim_drive.c? I have tried using the following gcc command: gcc syssim_drive.c disksim_interface.o libdisksim.a -o test I get errors as expected but I don't know how to proceed. Any help would be appreciated! -Arnold -------------- next part -------------- An HTML attachment was scrubbed... URL: From catblade at gmail.com Mon Feb 1 15:27:54 2010 From: catblade at gmail.com (Marlow Weston) Date: Mon, 1 Feb 2010 13:27:54 -0700 Subject: [Disksim-users] [disksim] dm_testsuite? Message-ID: <52eb19731002011227r5d7b04b1w9d39081426f81e34@mail.gmail.com> So, is dm_testsuite supposed to build? Thanks, --Marlow -------------- next part -------------- An HTML attachment was scrubbed... URL: From mauricxe at netscape.net Wed Feb 3 20:33:12 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Wed, 03 Feb 2010 20:33:12 -0500 Subject: [Disksim-users] Diskim API help In-Reply-To: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com> References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com> Message-ID: <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com> To clarify, I need help compiling an executable that allows me to run disksim as a slave process. Can anyone offer some advice? Thanks! -----Original Message----- From: mauricxe at netscape.net To: disksim-users at ece.cmu.edu Sent: Mon, Feb 1, 2010 3:01 pm Subject: [Disksim-users] Diskim API help Hello, I am new to Disksim. I read the manual. I have a question about compiling the API. I noticed that there syssim_drive.c is a good skeleton for creating an API. I am trying to experiment with some of the options of Disksim by modifying the syssim_drive. I also have the Microsoft SSD patch installed. Here is my question, how do I compile syssim_drive.c? I have tried using the following gcc command: gcc syssim_drive.c disksim_interface.o libdisksim.a -o test I get errors as expected but I don't know how to proceed. Any help would be appreciated! -Arnold _______________________________________________ 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 zgy04 at 126.com Wed Feb 3 22:12:28 2010 From: zgy04 at 126.com (Steve) Date: Thu, 4 Feb 2010 11:12:28 +0800 Subject: [Disksim-users] Diskim API help References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com> Message-ID: <201002041112274143830@126.com> Hello,mauricxe, you can see the sample code released in the disksim source, called syssim. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 ======= 2010-02-04 09:34:05 mauricxe Written: ======= > > To clarify, I need help compiling an executable that allows me to run disksim as a slave process. Can anyone offer some advice? > >Thanks! > > > > > > > > >-----Original Message----- >From: mauricxe at netscape.net >To: disksim-users at ece.cmu.edu >Sent: Mon, Feb 1, 2010 3:01 pm >Subject: [Disksim-users] Diskim API help > > >Hello, > >I am new to Disksim. I read the manual. I have a question about compiling the API. > >I noticed that there syssim_drive.c is a good skeleton for creating an API. I am trying to experiment with some of the options of Disksim by modifying the syssim_drive. I also have the Microsoft SSD patch installed. > >Here is my question, how do I compile syssim_drive.c? > >I have tried using the following gcc command: > >gcc syssim_drive.c disksim_interface.o libdisksim.a -o test > >I get errors as expected but I don't know how to proceed. Any help would be appreciated! > >-Arnold > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > = = = = = = = = = = = = = = = = = = = = ?? From mauricxe at netscape.net Thu Feb 4 00:36:13 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Thu, 04 Feb 2010 00:36:13 -0500 Subject: [Disksim-users] Diskim API help In-Reply-To: <201002041112274143830@126.com> References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com> <201002041112274143830@126.com> Message-ID: <8CC737318CDBDBE-4DC8-9D65@webmail-m053.sysops.aol.com> Hi Steve, Thank you for your reply. I have seen the syssim_driver.c file. However, I am unable to compile the syssim_driver.c file into anexecutable. I realize that there is a syssim executable file already,but I want to made modifications to the syssim_driver.c file so that Ican experiment with the environment. Any help would be appreciated! Hello,mauricxe, you can see the sample code released in the disksim source, called syssim. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 ======= 2010-02-04 09:34:05 mauricxe Written: ======= > > To clarify, I need help compiling an executable that allows me to run disksim as a slave process. Can anyone offer some advice? > >Thanks! > > > > > > > > >-----Original Message----- >From: mauricxe at netscape.net >To: disksim-users at ece.cmu.edu >Sent: Mon, Feb 1, 2010 3:01 pm >Subject: [Disksim-users] Diskim API help > > >Hello, > >I am new to Disksim. I read the manual. I have a question about compiling the API. > >I noticed that there syssim_drive.c is a good skeleton for creating an API. I am trying to experiment with some of the options of Disksim by modifying the syssim_drive. I also have the Microsoft SSD patch installed. > >Here is my question, how do I compile syssim_drive.c? > >I have tried using the following gcc command: > >gcc syssim_drive.c disksim_interface.o libdisksim.a -o test > >I get errors as expected but I don't know how to proceed. Any help would be appreciated! > >-Arnold > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > > >_______________________________________________ >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 zgy04 at 126.com Thu Feb 4 03:28:05 2010 From: zgy04 at 126.com (=?utf-8?B?U3RldmU=?=) Date: Thu, 4 Feb 2010 16:28:05 +0800 Subject: [Disksim-users] =?utf-8?q?Diskim_API_help?= References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com>, <201002041112274143830@126.com>, <8CC737318CDBDBE-4DC8-9D65@webmail-m053.sysops.aol.com> Message-ID: <201002041628051991079@126.com> Hello,mauricxe, Could you see the syssim as an executable program? you can call disksim module in your program via four disksim APIs: disksim_interface_initialize, disksim_interface_request_arrive, disksim_interface_internal_event, disksim_interface_shutdown. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 ======= 2010-02-04 13:36:43 mauricxe Written: ======= > > > Hi Steve, > >Thank you for your reply. I have seen the syssim_driver.c file. However, I am unable to compile the syssim_driver.c file into anexecutable. I realize that there is a syssim executable file already,but I want to made modifications to the syssim_driver.c file so that Ican experiment with the environment. > >Any help would be appreciated! > > > > > > > > > >Hello,mauricxe, > you can see the sample code released in the disksim source, called syssim. > >All the best. > >????????Steve >????????zgy04 at 126.com >????????2010-02-04 > > >======= 2010-02-04 09:34:05 mauricxe Written: ======= > >> >> To clarify, I need help compiling an executable that allows me to run disksim >as a slave process. Can anyone offer some advice? >> >>Thanks! >> >> >> >> >> >> >> >> >>-----Original Message----- >>From: mauricxe at netscape.net >>To: disksim-users at ece.cmu.edu >>Sent: Mon, Feb 1, 2010 3:01 pm >>Subject: [Disksim-users] Diskim API help >> >> >>Hello, >> >>I am new to Disksim. I read the manual. I have a question about compiling the >API. >> >>I noticed that there syssim_drive.c is a good skeleton for creating an API. I >am trying to experiment with some of the options of Disksim by modifying the >syssim_drive. I also have the Microsoft SSD patch installed. >> >>Here is my question, how do I compile syssim_drive.c? >> >>I have tried using the following gcc command: >> >>gcc syssim_drive.c disksim_interface.o libdisksim.a -o test >> >>I get errors as expected but I don't know how to proceed. Any help would be >appreciated! >> >>-Arnold >> >> >>_______________________________________________ >>Disksim-users mailing list >>Disksim-users at ece.cmu.edu >>https://sos.ece.cmu.edu/mailman/listinfo/disksim-users >> >> >> >>_______________________________________________ >>Disksim-users mailing list >>Disksim-users at ece.cmu.edu >>https://sos.ece.cmu.edu/mailman/listinfo/disksim-users >> > >= = = = = = = = = = = = = = = = = = = = > > >?? > > > = = = = = = = = = = = = = = = = = = = = ?? From mauricxe at netscape.net Thu Feb 4 09:45:55 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Thu, 04 Feb 2010 09:45:55 -0500 Subject: [Disksim-users] Diskim API help In-Reply-To: <201002041628051991079@126.com> References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com>, <201002041112274143830@126.com>, <8CC737318CDBDBE-4DC8-9D65@webmail-m053.sysops.aol.com> <201002041628051991079@126.com> Message-ID: <8CC73BFE3BCB551-5198-35B6@webmail-d003.sysops.aol.com> Hey Steve, Yes, I do see the syssim executable. However, I would like to make my own executable. Basically, after copying and pasting syssim_driver.c, and modifying it a tad,into a different file, let's call it a.c, I want to compile a.c into an executable. This is my current situation. Any help with compiling a.c into an executable would be helpful! Thanks for your time! -----Original Message----- From: Steve To: mauricxe ; disksim-users Sent: Thu, Feb 4, 2010 3:28 am Subject: Re: Re: [Disksim-users] Diskim API help Hello,mauricxe, Could you see the syssim as an executable program? you can call disksim module in your program via four disksim APIs: disksim_interface_initialize, disksim_interface_request_arrive, disksim_interface_internal_event, disksim_interface_shutdown. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 -------------- next part -------------- An HTML attachment was scrubbed... URL: From zgy04 at 126.com Thu Feb 4 10:35:09 2010 From: zgy04 at 126.com (=?utf-8?B?U3RldmU=?=) Date: Thu, 4 Feb 2010 23:35:09 +0800 Subject: [Disksim-users] =?utf-8?q?Diskim_API_help?= References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com>, <201002041112274143830@126.com>, <8CC737318CDBDBE-4DC8-9D65@webmail-m053.sysops.aol.com>, <201002041628051991079@126.com>, <8CC73BFE3BCB551-5198-35B6@webmail-d003.sysops.aol.com> Message-ID: <201002042335093566094@126.com> Hello,mauricxe, It looks good. you need compile disksim together with your simulator. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 ======= 2010-02-04 22:46:43 mauricxe Written: ======= > > > > Hey Steve, > >Yes, I do see the syssim executable. > >However, I would like to make my own executable. Basically, after copying and pasting syssim_driver.c, >and modifying it a tad,into a different file, let's call it a.c, I want to compile a.c into an executable. >This is my current situation. Any help with compiling a.c into an executable would be helpful! > >Thanks for your time! > > > > > > > >-----Original Message----- >From: Steve >To: mauricxe ; disksim-users >Sent: Thu, Feb 4, 2010 3:28 am >Subject: Re: Re: [Disksim-users] Diskim API help > > >Hello,mauricxe, > > Could you see the syssim as an executable program? > >you can call disksim module in your program via four disksim APIs: >disksim_interface_initialize, >disksim_interface_request_arrive, >disksim_interface_internal_event, >disksim_interface_shutdown. > >All the best. > >????????Steve >????????zgy04 at 126.com >????????2010-02-04 > > > > > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > = = = = = = = = = = = = = = = = = = = = ?? From mauricxe at netscape.net Sat Feb 6 16:04:24 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Sat, 06 Feb 2010 16:04:24 -0500 Subject: [Disksim-users] Diskim API help In-Reply-To: <201002042335093566094@126.com> References: <8CC71906AAB9085-2130-24A6@webmail-d016.sysops.aol.com>, <8CC73512660B8FC-4DC8-6F0F@webmail-m053.sysops.aol.com>, <201002041112274143830@126.com>, <8CC737318CDBDBE-4DC8-9D65@webmail-m053.sysops.aol.com>, <201002041628051991079@126.com>, <8CC73BFE3BCB551-5198-35B6@webmail-d003.sysops.aol.com> <201002042335093566094@126.com> Message-ID: <8CC75871866327B-28F8-6E8@webmail-d024.sysops.aol.com> Thanks! -----Original Message----- From: Steve To: mauricxe ; disksim-users Sent: Thu, Feb 4, 2010 10:35 am Subject: Re: [Disksim-users] Diskim API help Hello,mauricxe, It looks good. you need compile disksim together with your simulator. All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-04 ======= 2010-02-04 22:46:43 mauricxe Written: ======= > > > > Hey Steve, > >Yes, I do see the syssim executable. > >However, I would like to make my own executable. Basically, after copying and pasting syssim_driver.c, >and modifying it a tad,into a different file, let's call it a.c, I want to compile a.c into an executable. >This is my current situation. Any help with compiling a.c into an executable would be helpful! > >Thanks for your time! > > > > > > > >-----Original Message----- >From: Steve >To: mauricxe ; disksim-users >Sent: Thu, Feb 4, 2010 3:28 am >Subject: Re: Re: [Disksim-users] Diskim API help > > >Hello,mauricxe, > > Could you see the syssim as an executable program? > >you can call disksim module in your program via four disksim APIs: >disksim_interface_initialize, >disksim_interface_request_arrive, >disksim_interface_internal_event, >disksim_interface_shutdown. > >All the best. > >????????Steve >????????zgy04 at 126.com >????????2010-02-04 > > > > > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > = = = = = = = = = = = = = = = = = = = = ?? _______________________________________________ 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 mauricxe at netscape.net Sat Feb 6 16:03:47 2010 From: mauricxe at netscape.net (mauricxe at netscape.net) Date: Sat, 06 Feb 2010 16:03:47 -0500 Subject: [Disksim-users] Diskim API help In-Reply-To: <602385.62372.qm@web55103.mail.re4.yahoo.com> Message-ID: <8CC7587026FB047-28F8-6CB@webmail-d024.sysops.aol.com> Thanks! That worked! -----Original Message----- From: Nobody Nobody Nobody To: mauricxe at netscape.net Sent: Thu, Feb 4, 2010 9:49 pm Subject: Re: [Disksim-users] Diskim API help you can always do make in the syssim directory after changing syssim. that should make syssim again. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zgy04 at 126.com Sat Feb 6 21:37:02 2010 From: zgy04 at 126.com (Steve) Date: Sun, 7 Feb 2010 10:37:02 +0800 Subject: [Disksim-users] Diskim API help References: <8CC7587026FB047-28F8-6CB@webmail-d024.sysops.aol.com> Message-ID: <201002071037014617999@126.com> Hello,mauricxe, No thanks is necessary. Congratulations! All the best. ????????Steve ????????zgy04 at 126.com ????????2010-02-07 ======= 2010-02-07 05:09:12 mauricxe Written: ======= > > Thanks! That worked! > > > > > > >-----Original Message----- >From: Nobody Nobody Nobody >To: mauricxe at netscape.net >Sent: Thu, Feb 4, 2010 9:49 pm >Subject: Re: [Disksim-users] Diskim API help > > > > > >you can always do make in the syssim directory after changing syssim. >that should make syssim again. > > > > > > > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > = = = = = = = = = = = = = = = = = = = = ?? From smc7b at virginia.edu Mon Feb 8 16:10:46 2010 From: smc7b at virginia.edu (Sean Colyer) Date: Mon, 8 Feb 2010 16:10:46 -0500 Subject: [Disksim-users] Device Caching for Arrays Message-ID: I'm attempting to create an array (probably similar to a raid5) in DiskSim (4.0) and have device caching. The ideal model will involve using an SSD as a cache for multiple drives in the array. I've installed and patched with the SSD plugin, but am having trouble forcing DiskSim to use the device caching properly. It seems hard to have a device cache for multiple devices. Taken from the sample/reading the manual I need something like this in a controller: Cache = disksim_cachedev { Cache size = 2056008, Cache device = cache_disk, # device we're caching on Cached device = disk, # device that's being cached Max request size = 512, Write scheme = 3, Flush policy = 0, Flush period = 0.0, Flush idle delay = 100.0 }, # end of cachedev spec However, it seems I'd have to create a custom controller for each device, and the result would be many caches for an array. Any one have any experience with this, or advice for a direction to pursue? -Sean From wang20080917 at gmail.com Tue Feb 9 00:53:21 2010 From: wang20080917 at gmail.com (d wang) Date: Tue, 9 Feb 2010 13:53:21 +0800 Subject: [Disksim-users] error when I compile disksim v4 modules Message-ID: Hi, I met problem when I make disksim modules after I download DiskSim v4 source code. error message: disksim_iosim.c: In function 'io_initialize': disksim_iosim.c:712: error: duplicate case value disksim_iosim.c:712: error: previously used here make[1]: *** [disksim_iosim.o] Error 1 Any avdice is apprreciated! Regards Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: From clemons.47 at buckeyemail.osu.edu Tue Feb 9 01:01:27 2010 From: clemons.47 at buckeyemail.osu.edu (Tyler Clemons) Date: Tue, 9 Feb 2010 01:01:27 -0500 Subject: [Disksim-users] error when I compile disksim v4 modules In-Reply-To: References: Message-ID: You can try commenting that line out. Also, are you using a 32 bit OS? On Feb 9, 2010, at 12:53 AM, d wang wrote: > > Hi, > > I met problem when I make disksim modules after I download DiskSim v4 source code. > > > error message: > > disksim_iosim.c: In function 'io_initialize': > disksim_iosim.c:712: error: duplicate case value > disksim_iosim.c:712: error: previously used here > make[1]: *** [disksim_iosim.o] Error 1 > > Any avdice is apprreciated! > > Regards > > Wang > _______________________________________________ > 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 catblade at gmail.com Wed Feb 10 10:49:33 2010 From: catblade at gmail.com (Marlow Weston) Date: Wed, 10 Feb 2010 08:49:33 -0700 Subject: [Disksim-users] dixtrac Message-ID: <52eb19731002100749i78fbdeaes506dc1433c5cf861@mail.gmail.com> Hello, Anyone get dixtrac to work all the way through lately? I'm having a hell of a time... one thing to fix after another. Thanks, --Marlow -------------- next part -------------- An HTML attachment was scrubbed... URL: From morvarid.kardan at gmail.com Mon Feb 22 23:48:14 2010 From: morvarid.kardan at gmail.com (morvarid kardan) Date: Tue, 23 Feb 2010 08:18:14 +0330 Subject: [Disksim-users] Getting started with Disksim:) Message-ID: Dear all, This is Perla and I would like to start working with Disksim. I have plenty of problems unfortunately:(. As the first step, would you plz tell me how can I install Disksym on my PC? I already know that I must have Linux as my OS. Regards Perla -------------- next part -------------- An HTML attachment was scrubbed... URL: From zgy04 at 126.com Mon Feb 22 23:51:35 2010 From: zgy04 at 126.com (Steve) Date: Tue, 23 Feb 2010 12:51:35 +0800 Subject: [Disksim-users] Getting started with Disksim:) References: Message-ID: <201002231251341834544@126.com> Hello,morvarid kardan, Before your asking this question, you SHOULD read the disksim user manual carefully. All the best. Steve zgy04 at 126.com 2010-02-23 ======= 2010-02-23 12:48:31 morvarid kardan Written: ======= >Dear all, >This is Perla and I would like to start working with Disksim. I have plenty >of problems unfortunately:(. As the first step, would you plz tell me how >can I install Disksym on my PC? I already know that I must have Linux as my >OS. > >Regards >Perla > >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > = = = = = = = = = = = = = = = = = = = = From nihat.altiparmak at gmail.com Fri Feb 26 14:56:12 2010 From: nihat.altiparmak at gmail.com (nihat altiparmak) Date: Fri, 26 Feb 2010 13:56:12 -0600 Subject: [Disksim-users] block placement Message-ID: <264c01951002261156r424c4e3ao8616374e6ea18801@mail.gmail.com> Hi all, We are working on the effects of different placement strategies to the performance of our system. In our system, we need to place different blocks to different disks and make some simulations. Can we do this by using DiskSim? As far as I understood, this is controlled in DiskSim by the trace file assuming that the disks have all the blocks that they can store and if we tell to disksim that; "read block # X from disk A", it assumes that, that block X is stored in disk A. But if we have a one disk array logical organization lets say with 3 disks and we want specific blocks to be stored in specific disks such that; blocks 1, 5 ,7 are stored in disk 0 blocks 11, 23 are stored in disk 1 block 18 is stored in disk 2 .. .. all the other blocks are randomly placed, then can we do this by adding our own function similar to the function "logorg_mapstriped (logorg *currlogorg, ioreq_event *curr)" into disksim_logorg.c file? Thanks in advance, -- Nihat Altiparmak University of Texas at San Antonio Computer Science Graduate Research Assistant -------------- next part -------------- An HTML attachment was scrubbed... URL: From ganger at ece.cmu.edu Sat Feb 27 16:27:16 2010 From: ganger at ece.cmu.edu (Greg Ganger) Date: Sat, 27 Feb 2010 16:27:16 -0500 (EST) Subject: [Disksim-users] block placement In-Reply-To: <264c01951002261156r424c4e3ao8616374e6ea18801@mail.gmail.com> References: <264c01951002261156r424c4e3ao8616374e6ea18801@mail.gmail.com> Message-ID: You'll need to dig into the code, obviously, but that ought to be possible. Greg On Fri, 26 Feb 2010, nihat altiparmak wrote: > Hi all, > > We are working on the effects of different placement strategies to the > performance of our system. In our system, we need to place different blocks > to different disks and make some simulations. Can we do this by using > DiskSim? As far as I understood, this is controlled in DiskSim by the trace > file assuming that the disks have all the blocks that they can store and if > we tell to disksim that; > "read block # X from disk A", it assumes that, that block X is stored in > disk A. But if we have a one disk array logical organization lets say with 3 > disks and we want specific blocks to be stored in specific disks such that; > > blocks 1, 5 ,7 are stored in disk 0 > blocks 11, 23 are stored in disk 1 > block 18 is stored in disk 2 > .. > .. > > all the other blocks are randomly placed, then can we do this by adding our > own function similar to the function "logorg_mapstriped (logorg *currlogorg, > ioreq_event *curr)" into disksim_logorg.c file? > > Thanks in advance, > > -- > Nihat Altiparmak > University of Texas at San Antonio > Computer Science > Graduate Research Assistant > From amit204nit at gmail.com Sat Feb 27 22:09:05 2010 From: amit204nit at gmail.com (Amit Yadav .) Date: Sat, 27 Feb 2010 21:09:05 -0600 Subject: [Disksim-users] Disk Sim 4.0 compilation error disksim_iosim.c:712 Message-ID: <205bb32b1002271909t3505a14fs97d7646b1bf88f48@mail.gmail.com> Hi Guys, I am trying to compile Disksim4.0 version on 64 bit machine with fedora 5 installed. I am having the following error. can someone tell me how to solve this problem. disksim_iosim.c: In function ?iosim_load_map?: disksim_iosim.c:364: warning: cast to pointer from integer of different size disksim_iosim.c: In function ?io_initialize?: *disksim_iosim.c:712: error: duplicate case value disksim_iosim.c:712: error: previously used here* make[1]: *** [disksim_iosim.o] Error 1 Thanks a lot in advance. Please help me out . i am using this in my class project. -- Regards Amit Yadav -------------- next part -------------- An HTML attachment was scrubbed... URL: