<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Not sure if commenting out is a good idea. I tried to increase the MAX_QUEUE_LENGTH value. But it appears that disksim either hangs or takes a really really long time to finish if I do this. You can see the offending while loop by attaching a debugger to it. Basically, the loop seems to be making progress, but it's hard to say for sure since it seems to run forever.<br><br>--- On <b>Mon, 8/3/09, David Maung <i><dmaung@earthlink.net></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Maung <dmaung@earthlink.net><br>Subject: Re: [Disksim-users] Request arrival rate<br>To: disksim-users@ece.cmu.edu<br>Date: Monday, August 3, 2009, 2:12 PM<br><br><div class="plainMail"><br>> The simulation stops with a message "Stopping simulation because of<br>saturation"<br><br>I
 ran into this error myself.  It is a hard limit.  In disksim_lororg.c, you<br>can find the offending code as:<br><br>   if (currlogorg->stat.outstanding >= MAX_QUEUE_LENGTH) {<br>      fprintf(stderr,"Stopping simulation because of saturation: simtime %f,<br>totalreqs %d\n", simtime, disksim->totalreqs);<br>      fflush(stderr);<br>      fprintf (outputfile, "Stopping simulation because of saturation:<br>simtime %f, totalreqs %d\n", simtime, disksim->totalreqs);<br>      fprintf (outputfile, "last request:  dev=%d, blk=%d, cnt=%d, %d<br>(R==1)\n",curr->devno, curr->blkno, curr->bcount, (curr->flags & READ));<br>      disksim_simstop();<br>   }<br><br>MAX_QUEUE_LENGTH is 10000 and is not based on any underlying cache<br>configuration or anything.  For example, I have configured a memory cache of<br>8192
 blocks, but outstanding requests can still exceed 10000, perhaps due to<br>multiple requests for the same blocks, etc.  I would be inclined to comment<br>out this code, if, as in my case, you actually find it to be invalid for<br>your given configuration.<br><br>David Maung<br><br><br>_______________________________________________<br>Disksim-users mailing list<br><a ymailto="mailto:Disksim-users@ece.cmu.edu" href="/mc/compose?to=Disksim-users@ece.cmu.edu">Disksim-users@ece.cmu.edu</a><br><a href="https://sos.ece.cmu.edu/mailman/listinfo/disksim-users" target="_blank">https://sos.ece.cmu.edu/mailman/listinfo/disksim-users</a><br></div></blockquote></td></tr></table><br>