Question: jahnvikumar@Jahnvis - MacBook - Air raid _ simulation % python 3 raid.py - - help Usage: raid.py [ options ] Options: - h , -

jahnvikumar@Jahnvis-MacBook-Air raid_simulation % python3 raid.py --help
Usage: raid.py [options]
Options:
-h,--help show this help message and exit
-s SEED, --seed=SEED the random seed
-D NUMDISKS, --numDisks=NUMDISKS
number of disks in RAID
-C CHUNKSIZE, --chunkSize=CHUNKSIZE
chunk size of the RAID
-n NUMREQUESTS, --numRequests=NUMREQUESTS
number of requests to simulate
-S SIZE, --reqSize=SIZE
size of requests
-W WORKLOAD, --workload=WORKLOAD
either "rand" or "seq" workloads
-w WRITEFRAC, --writeFrac=WRITEFRAC
write fraction (100->all writes, 0->all reads)
-R RANGE, --randRange=RANGE
range of requests (when using "rand" workload)
-L LEVEL, --level=LEVEL
RAID level (0,1,4,5)
-5 RAID5TYPE, --raid5=RAID5TYPE
RAID-5 left-symmetric "LS" or left-asym "LA"
-r,--reverse instead of showing logical ops, show physical
-t,--timing use timing mode, instead of mapping mode
-c,--compute compute answers for me
jahnvikumar@Jahnvis-MacBook-Air raid_simulation % python3 raid.py -D 4-L 1-n 100-W rand -R 1000-t
ARG blockSize 4096
ARG seed 0
ARG numDisks 4
ARG chunkSize 4k
ARG numRequests 100
ARG reqSize 4k
ARG workload rand
ARG writeFrac 0
ARG randRange 1000
ARG level 1
ARG raid5 LS
ARG reverse False
ARG timing True
Estimate how long the workload should take to complete.
- Roughly how many requests should each disk receive?
- How many requests are random, how many sequential?
jahnvikumar@Jahnvis-MacBook-Air raid_simulation %

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!