[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] patch: fast, simple and bugfree scheduler
--
Free Dmitry Sklyarov !
http://www.freesklyarov.org
> -----Original Message-----
> From: Lloyd Wood [SMTP:[email protected]]
> Sent: Thursday, October 18, 2001 4:03 PM
> To: Neundorf Alexander
> Cc: '[email protected]'
> Subject: Re: [ns] patch: fast, simple and bugfree scheduler
>
> On Thu, 18 Oct 2001, Neundorf Alexander wrote:
>
> > I'm using ns 2.1b7 and found that the default Calendar scheduler
> > is buggy (after some time it starts consuming megabytes of memory
> > and the time stops)
>
> Even once you've applied the later-than-b7 memory-leak patches from:
> http://www.isi.edu/cgi-bin/nsnam/cvsweb/ns-2/scheduler.cc
> (1.56 onwards)?
>
Didn't apply the patches, but they don't seem calendar-scheduler related.
> (and if so, how do you easily demonstrate this?)
>
Don't know. It happened with a very modified version of ns after many many events.
CPU went to 100%, a huge chunk of memory was allocated, and after some time (some minutes) I had a core dump.
I found it using a debugger.
> > and that the simple and bugfree list scheduler
> > is dog slow.
>
> yup.
>
> > So I hacked a fast, simple and bugfree scheduler, here it is:
>
> cool.
>
> L.
>
> bugfree, eh? brave words...
>
:-)
These are so few lines, they can't contain bugs.
Alex