[Disksim-users] RAID 5 Configurations for SSD in Disksim --help

smile 258908913 at qq.com
Fri May 13 09:07:35 EDT 2011


hi,disksim users
     By reading the manual, I know disksim support RAID 5 for SSD.But either  in the ssd_iozone.parv or the ssd-sw5m.parv, there is only one ssd. We  know that if we want to  configure RAID 5,we need three or more SSDs.

     should I modify the topology? I tried,but failed. Can you help me? 
    I modified the ssd-sw5m.parv as follows:(only  list the modified part)
    ssdmodel_ssd SSD0 {
     ……
     }
    ssdmodel_ssd SSD1 {
      ……
      }
    ssdmodel_ssd SSD2 {
      ……
      }
    ssdmodel_ssd SSD3 {
      ……
      }
    instantiate [ ssd0x0 ] as  SSD0
    instantiate [ ssd0x1 ] as  SSD1
    instantiate [ ssd0x2 ] as  SSD2
    instantiate [ ssd0x3 ] as  SSD3

# system topology
topology disksim_iodriver driver0 [
     disksim_bus bustop [

          ############## HBA 0 #############################
          disksim_ctlr ctlrHBA0 [
               disksim_bus busHBA0 [
                    ############## Flash-device Raid Controller ###############
                    ssdmodel_ssd ssd0x0 [],
                    ssdmodel_ssd ssd0x1 [],
                    ssdmodel_ssd ssd0x2 [],
                    ssdmodel_ssd ssd0x3 []    
                 ]     # end of bus0
            ]        # end of HBA0

          ############ INSERT MORE HBA's######################          
            
     ]           # end of bustop
]              # end of driver0 (and system topology)

# four disksim_logorg  from org0 to org3
disksim_logorg org0 {
   Addressing mode = Array,
   Distribution scheme = Striped,
   Redundancy scheme = Parity_rotated,

   # vp - added more ssd elements
   devices = [ ssd0x0 ],
      ……
} # end of logorg org0 spec

disksim_logorg org1 {
    Addressing mode = Array,
    Distribution scheme = Striped,
    Redundancy scheme = Parity_rotated,
 
    # vp - added more ssd elements
    devices = [ ssd0x1 ],
       ……
 } # end of logorg org1 spec

disksim_logorg org2 {
    Addressing mode = Array,
    Distribution scheme = Striped,
    Redundancy scheme = Parity_rotated,
 
    # vp - added more ssd elements
    devices = [ ssd0x2 ],
       ……
 } # end of logorg org2 spec

disksim_logorg org3 {
    Addressing mode = Array,
    Distribution scheme = Striped,
    Redundancy scheme = Parity_rotated,
 
    # vp - added more ssd elements
    devices = [ ssd0x3 ],
       ……
 } # end of logorg org3 spec

#four generators from 0 to 3
disksim_synthgen { # generator 0
   Storage capacity per device  =  7018904,
   devices = [ org0 ],
   ……
},# end of generator 1
disksim_synthgen { # generator 1
   Storage capacity per device  =  7018904,
   devices = [ org1 ],
   ……
}, # end of generator 2
disksim_synthgen { # generator 2
   Storage capacity per device  =  7018904,
   devices = [ org2 ],
   ……
}, # end of generator 2
disksim_synthgen { # generator 3
   Storage capacity per device  =  7018904,
   devices = [ org3 ],
   ……
} # end of generator 3

    above is the content I changed ,but these errors appeared.

unexpected request location: devno 3, blkno 779696, bcount 8

Assertion failed:
simtime     = 0.744525
totalreqs     = 1
disksim: disksim_logorg.c:763: logorg_maprequest: Assertion `logorgno != -1' failed.
已放弃
     I don't know why,so please help!
     Best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20110513/99ae5dec/attachment.html>


More information about the Disksim-users mailing list