[ns] patch: fast, simple and bugfree scheduler
Thu, 18 Oct 2001 16:16:06 +0200
Free Dmitry Sklyarov !
> -----Original Message-----
> From: Lloyd Wood [SMTP:firstname.lastname@example.org]
> Sent: Thursday, October 18, 2001 4:03 PM
> To: Neundorf Alexander
> Cc: 'email@example.com'
> 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:
> (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.
> > So I hacked a fast, simple and bugfree scheduler, here it is:
> bugfree, eh? brave words...
These are so few lines, they can't contain bugs.