<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Shahrukh Rohinton Tarapore</b> <<a href="mailto:shahrukh@cs.virginia.edu">shahrukh@cs.virginia.edu</a>><br>
Date: Mar 3, 2007 7:25 AM<br>Subject: Re: [Disksim-users] Facing problems in Disksim<br>To: shubhada nandarshi <<a href="mailto:shubhada.nandarshi@gmail.com">shubhada.nandarshi@gmail.com</a>><br><br></span>Yes,  because you included "disk0 .. disk17".  See disksim by default requires only 5 parameters.  If you add more then they must be in multiples of three (3-tuples).  These 3-tuples are meant to easily change parameters already defined in the parameter file.  You will probably not want to do this.
<br><br>Second the first 5 parameters you are using are not correct.  To run disksim you need to enter this at the terminal:<br><br>diskim <parameter file> <output file> <trace type> <trace file> <synthethic generation flag>
<br><br>where, <parameter file> is a file which contains properly formatted parameters for disksim<br><output file> is a file (which may or may not exist) where disksim can dump the statistics<br><trace type> tells disksim what format the trace is in
<br><trace file> a file containing properly formatted trace of disk requests (in <trace type> format)<br><synthetic generation flag> is set to 1 if you will manually generate the disk requests.  (this is usually set to zero since you have a trace file)
<br><br>With all that the proper way to execute disksim would be:<br><br><strong>disksim cheetah9LP.parv cheetah9LP.out validate cheetah9LP.trace  0<br style="font-weight: normal;"><br><span style="font-weight: normal;">
This will execute disksim with the cheetah9LP parameter file, and the statistics can be found in a file called 
cheetah9LP.out when the simulation is complete, and the simulation executed on a trace found in cheetah9LP.trace which is formatted in the validate type.  Finally no synthetic generation was used.  <br><br>Once the simulation is complete go and view 
cheetah9LP.out to see the results of the simulation.<br><span class="sg"><br><br>-- shahrukh<span style="font-weight: bold;"><br></span></span></span></strong><div><span class="e" id="q_11117c37ab445ee7_3"><strong></strong>
<br><br><div><span class="gmail_quote">On 3/3/07, <b class="gmail_sendername">
shubhada nandarshi</b> <<a href="mailto:shubhada.nandarshi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">shubhada.nandarshi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div>yes we tried but we are facing a comment like"<strong>parameter file overrides must be 3-tuples" </strong></div>
<div> </div>
<div>in command prompt we are using the follwing command :</div>
<div> </div>
<div>"<strong>disksim cheetah9LP.parv cheetah9LP.runvalid valid/ascii.trace src/disksim_global.h  0 "disk0 .. disk17""<br><br></strong></div><div><span>
<div><span class="gmail_quote">On 3/1/07, <b class="gmail_sendername">Shahrukh Rohinton Tarapore</b> <<a href="mailto:shahrukh@cs.virginia.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">shahrukh@cs.virginia.edu
</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">Checkout this database of disksim parameter files some commonly modelled disks.  Its unlikely you would want to write an entirely new parameter file, so if there are just a few parameters you want to adjust I would simply duplicate one of these parameter files and make the appropriate changes.  If there is a specific disk you want to create a parameter file for you can try using DIXtrac, I'm not familiar with it but it basically extracts the parameters of a real disk which you can use to create a config file for disksim. 
<br><br>As for the output file, you do not write these.  The output file simply contains the statistics of the execution of the simulator on a given parameter file.  The output file gives you the results of your simulation, so disksim will be the only one that writes to this file. 
<br><br>Earlier you asked how to run disksim, there is an example in the documentation in section 2.2.<br><br>Hope this helps.<br><span><br>-- shahrukh<br><br></span>
<div><span><span class="gmail_quote">On 3/1/07, <b class="gmail_sendername">shubhada nandarshi</b> <<a href="mailto:shubhada.nandarshi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


 shubhada.nandarshi@gmail.com</a>> wrote:</span></span> 
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span>
<div>Hi, </div>
<div>Is there any available code which we can refer for getting more idea about 'How to write a parameter file and output file' , so that we will be able to write a code for that. </div>
<div> </div>
<div>Thanks & Regards,</div>
<div>Shubhada/Nilofer<br> </div></span></div><span><br>_______________________________________________<br>Disksim-users mailing list<br><a href="mailto:Disksim-users@ece.cmu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">


Disksim-users@ece.cmu.edu </a><br><a href="https://sos.ece.cmu.edu/mailman/listinfo/disksim-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
</a><br><br></span></blockquote></div><br></blockquote></div><br>
</span></div></blockquote></div><br>
</span></div>