[codes-ross-users] "No free event buffers" error

Jian Peng jpeng10 at hawk.iit.edu
Wed Apr 5 15:34:06 CDT 2017


Thanks for the explanation! I'll try it out.

On Wed, Apr 5, 2017 at 11:18 AM, Mubarak, Misbah <mmubarak at anl.gov> wrote:

> Hi Jian,
>
> The ROSS simulations start up with a certain number of events statically
> allocated per PE (The message-size parameter in the CODES config files tell
> ROSS how big an event is in bytes). At some point during the simulation, if
> the events being processed by a PE exceed the number of events that were
> allocated at the simulation start up, this error is thrown and the
> simulation terminates.
>
> To handle this issue, you could do a —extramem that you already tried.
> This will allocate an extra number of events per PE. You could try
> increasing extramem till the point where the event memory is sufficient.
> However, when this error pops up, it is usually better to double check the
> model behavior I.e. If the model is issuing a reasonable number of events,
> it isn't running into an infinite loop of event generation or if the
> workload is reasonable (it could be that the workload is injecting a very
> large number of events in a short amount of time).
>
> Also, if you are running in optimistic mode and you are getting too many
> rollbacks, that could be another reason of the event memory running out. So
> it will help to run the simulation in sequential mode first and see if the
> error is still there.
>
> Regards,
> Misbah
>
> From: <codes-ross-users-bounces at lists.mcs.anl.gov> on behalf of Jian Peng
> <jpeng10 at hawk.iit.edu>
> Date: Wednesday, April 5, 2017 at 12:48 PM
> To: "codes-ross-users at lists.mcs.anl.gov" <codes-ross-users at lists.mcs.
> anl.gov>
> Subject: [codes-ross-users] "No free event buffers" error
>
> Hi,
>
>     I get a "No free event buffers.Try increasing via g_tw_events_per_pe
> or --extramem" error in tw_event_new when running some not too large scale
> simulation, say 12840 LPs. I add option "--extramem=8192" and it doesn't
> help. And there is still 90GB of memory left.
>
>     So, any general suggestion of avoiding this error? Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/codes-ross-users/attachments/20170405/ad3783b3/attachment.html>


More information about the codes-ross-users mailing list