<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Jian,</div>
<div><br>
</div>
<div>Thanks for reporting this issue. So I have a few questions: are you using the latest CODES master branch? If so, which dragonfly model are you using— there is an aries based dragonfly model (dragonfly-custom.C) in addition to the conventional Dally-style
dragonfly that we have been using?</div>
<div><br>
</div>
<div>I see that you are getting left over messages in terminals and routers, are you running the simulation long enough so that all messages have enough time to reach their destinations? Alternately, have you done any updates in the dragonfly routing or topology
setup? Have you tested the workload with other network models and does it work fine? </div>
<div><br>
</div>
<div>Looking at the issue, I don’t think this is a ROSS related problem, this looks like either a model or workload related problem.</div>
<div> </div>
<div>Thanks,</div>
<div>Misbah</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:codes-ross-users-bounces@lists.mcs.anl.gov">codes-ross-users-bounces@lists.mcs.anl.gov</a>> on behalf of Jian Peng <<a href="mailto:jpeng10@hawk.iit.edu">jpeng10@hawk.iit.edu</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, February 28, 2017 at 5:36 PM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:codes-ross-users@lists.mcs.anl.gov">codes-ross-users@lists.mcs.anl.gov</a>" <<a href="mailto:codes-ross-users@lists.mcs.anl.gov">codes-ross-users@lists.mcs.anl.gov</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [codes-ross-users] Simulation ends with events unprocessed<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>Hi,<br>
<br>
</div>
After some debugging, I found the reason of this issue was "tw_event_send()". I added some debugging code shown as "tw_event_send.png". Then I got debugging output as "debug1.png". Please notice the highlighted value of pointer "kp". Then I found this same
"kp" value in previous context, shown in "debug2.png". Since the "last_time" is greater than "recv_ts", "tw_eventq_push()" rather than "tw_pq_enqueue()" is called. As I'm doing sequential simulation, "tw_scheduler_sequential()" in tw-shed.c should be used.
"tw_pq_dequeue()" is used to read the event queue, shown in "tw_scheduler_sequential.png".
<br>
<br>
</div>
So here's the question. The events that called "tw_eventq_push()" seem not able to be retrieved by "tw_pq_dequeue()". So I'm wondering that either mapping multiple LPs to one KP or only using "tw_pq_dequeue()" in sequential scheduler is a bug? I haven't
looked too much into both parts, just got this question in mind. <br>
<br>
</div>
Thanks!<br>
<div><br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Feb 27, 2017 at 1:20 PM, Jian Peng <span dir="ltr">
<<a href="mailto:jpeng10@hawk.iit.edu" target="_blank">jpeng10@hawk.iit.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
I'm running some experiments on Dragonfly with CODES 5.0.2. Sometimes they end up with unsent messages remaining in terminals and routers. I think the reason is the events that carry these messages are not handled. I looked through my debugging information
and confirmed it. <br>
<br>
So, why does ROSS end when there are still events unprocessed? I'm running a sequential simulation. Thanks.<br>
<br>
<img src="cid:ii_15a8131568296ddc" alt="Inline image 1" width="442" height="289"><br>
<br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>