[Disksim-users] Compiling problem of SSD model

Yangyang Pan yyangpan at gmail.com
Fri Apr 23 13:29:14 EDT 2010


Dear Alireza,

Thank you for your attention. I did use the command "    patch -p1 <
ssdmodel/ssd-patch"

Some of the modification can be loaded automatically,  while some are not. I
need to modify the file of DiskSim manually.

Thanks,

Yangyang

On Fri, Apr 23, 2010 at 12:05 PM, Alireza Haghdoost <haghdoost at gmail.com>wrote:

> Dear Yangyang
>
> I have compiled Microsoft SSD model without any problem, are you sure that
> you have done all required steps for compilation that is mentioned in the
> readme file ?
>
>
>
> Alireza Haghdoost
> Graduate Student
> Department of Computer Engineering
> Sharif University of Technology
> http://ce.sharif.edu/~haghdoost
> Phone: (98) (21) 6616 6689
>
>
>
>
> On Fri, Apr 23, 2010 at 20:30, <disksim-users-request at ece.cmu.edu> wrote:
>
>> Send Disksim-users mailing list submissions to
>>        disksim-users at ece.cmu.edu
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>> or, via email, send a message with subject or body 'help' to
>>        disksim-users-request at ece.cmu.edu
>>
>> You can reach the person managing the list at
>>        disksim-users-owner at ece.cmu.edu
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Disksim-users digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Buffer layer in DiskSim (Greg Ganger)
>>   2. Compiling problem of SSD model (Yangyang Pan)
>>   3. How can get a disk model files of IBM-Ultrastar-36z15 in
>>      DiskSim (Gary Jordan)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Thu, 22 Apr 2010 13:37:15 -0400 (EDT)
>> From: Greg Ganger <ganger at ece.cmu.edu>
>> Subject: Re: [Disksim-users] Buffer layer in DiskSim
>> To: Gary Jordan <jordgary at gmail.com>
>> Cc: disksim-users at ece.cmu.edu
>> Message-ID: <Pine.LNX.4.64.1004221336290.20296 at nirvana.pdl.cmu.edu>
>> Content-Type: text/plain; charset="x-unknown"; Format="flowed"
>>
>>
>> The documentation seems likely to help with understanding what can be
>> configured.
>>
>> Greg
>>
>>
>> On Thu, 22 Apr 2010, Gary Jordan wrote:
>>
>> > Dear all-users:
>> >  I wanna test a block-level caching and prefetching algorithm upon
>> > DiskSim.  Does Disk contain a single buffer???The cache in the internal
>> disk
>> > is not the one. The test case is very simple.  If disksim has one, Can I
>> > prohibit it to make sure no cache or prefetching effect except the one I
>> > use.  Should I build one myself combining the current version or use the
>> one
>> > in DiskSim?
>> >
>> > Look forward to your help.
>> > Thanks.
>> >
>> > Gary
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Thu, 22 Apr 2010 22:05:44 -0400
>> From: Yangyang Pan <yyangpan at gmail.com>
>> Subject: [Disksim-users] Compiling problem of SSD model
>> To: disksim-users at ece.cmu.edu
>> Message-ID:
>>        <k2xf524a5d41004221905ib8eb87a8x2ddcde0d73c9e8b9 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> Hi all,
>>
>> Does anyone have used the SSD model(ssd-add-on.zip) with disksim?  When I
>> compile the ssdmoel, there is an error :
>>
>> If you have the same problem and solution, please drop me a message. I
>> will
>> be very appreciated. Thank you very much.
>>
>> gcc -Wall -Wno-unused -MD -m32 -c -m32 -g -DASSERTS  -I../src//
>> -I../diskmodel/include -I../ -I../src//src ssd.c -o ssd.o
>> ssd.c: In function `getssd':
>> ssd.c:33: error: structure has no member named `ssdinfo'
>> ssd.c:34: error: structure has no member named `ssdinfo'
>> ssd.c: In function `ssd_invoke_element_cleaning':
>> ssd.c:423: error: structure has no member named `ssd_elem_num'
>> ssd.c: In function `ssd_activate_elem':
>> ssd.c:543: error: structure has no member named `ssd_elem_num'
>> ssd.c:566: error: structure has no member named `ssd_elem_num'
>> ssd.c:599: error: structure has no member named `ssd_elem_num'
>> ssd.c: In function `ssd_clean_element_complete':
>> ssd.c:766: error: structure has no member named `ssd_elem_num'
>> ssd.c: In function `ssd_access_complete_element':
>> ssd.c:814: error: structure has no member named `ssd_elem_num'
>> ssd.c:814: error: structure has no member named `ssd_elem_num'
>> ssd.c: In function `ssd_get_numdisks':
>> ssd.c:1042: error: structure has no member named `ssdinfo'
>> ssd.c: In function `ssd_add':
>> ssd.c:1068: error: structure has no member named `ssdinfo'
>> ssd.c:1070: error: structure has no member named `ssdinfo'
>> ssd.c:1071: error: structure has no member named `ssdinfo'
>> ssd.c:1072: error: structure has no member named `ssdinfo'
>> ssd.c:1073: error: structure has no member named `ssdinfo'
>> ssd.c:1079: error: structure has no member named `ssdinfo'
>> ssd.c:1080: error: structure has no member named `ssdinfo'
>> ssd.c:1083: error: structure has no member named `ssdinfo'
>> ssd.c:1083: error: structure has no member named `ssdinfo'
>> ssd.c:1083: error: structure has no member named `ssdinfo'
>> ssd.c:1086: error: structure has no member named `ssdinfo'
>> ssd.c:1087: error: structure has no member named `ssdinfo'
>> ssd.c:1088: error: structure has no member named `ssdinfo'
>> ssd.c: In function `ssdmodel_ssd_loadparams':
>> ssd.c:1099: error: structure has no member named `ssdinfo'
>> ssd.c: In function `ssd_printstats':
>> ssd.c:1414: error: structure has no member named `ssdinfo'
>> ssd.c:1431: error: structure has no member named `ssdinfo'
>> ssd.c:1433: error: structure has no member named `ssdinfo'
>> ssd.c:1434: error: structure has no member named `ssdinfo'
>> ssd.c:1436: error: structure has no member named `ssdinfo'
>> ssd.c:1440: error: structure has no member named `ssdinfo'
>> ssd.c: At top level:
>> ssd.c:1487: error: `DEVICETYPE_SSD' undeclared here (not in a function)
>> ssd.c:1487: error: initializer element is not constant
>> ssd.c:1487: error: (near initialization for
>> `ssd_hdr_initializer.device_type')
>> make: *** [ssd.o] Error 1
>> --
>> All the Best
>>
>> -----------------------------------------------------------
>> Yangyang
>> Electrical and Computer&System Engineering Department
>> Rensselaer Polytechnic Institute,
>> 12180,Troy.NY
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20100422/fb9730f4/attachment-0001.html
>> >
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Fri, 23 Apr 2010 14:28:20 +0800
>> From: Gary Jordan <jordgary at gmail.com>
>> Subject: [Disksim-users] How can get a disk model files of
>>        IBM-Ultrastar-36z15 in DiskSim
>> To: disksim-users at ece.cmu.edu
>> Message-ID:
>>        <h2sb10597491004222328oc9286b9cj360f808beec9d83c at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Dear users,
>>   I saw many works including a IBM-ultrastar-36z15 disk model. I
>> found IBM-UIultrastar-18ES model in Disksim.The performance and capacity
>> of
>> them are different.
>>   Could I get IBM-ultrastar-36z15 disk model with small modification from
>> the  IBM-UIultrastar-18ES model ?
>> Could anybody provide that specs and model files of this disk? Thanks.
>>
>> Jordan
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20100423/65a8d3da/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 55, Issue 5
>> ********************************************
>>
>
>


-- 
All the Best

-----------------------------------------------------------
Yangyang
Electrical and Computer&System Engineering Department
Rensselaer Polytechnic Institute,
12180,Troy.NY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20100423/b85d54a4/attachment.html>


More information about the Disksim-users mailing list