[Mono-dev] Re: [Mono-devel-list] USE_MMAP speed/time tradeoff

Gonzalo Paniagua Javier gonzalo at ximian.com
Thu Aug 25 11:38:09 EDT 2005

On Thu, 2005-08-25 at 11:29 -0400, Miguel de Icaza wrote:
> Hello,
> > 2005-06-20 Gonzalo Paniagua Javier <gonzalo at ximian.com>
> > 
> >         * configure.in: enabled the use of mmap/munmap for solaris and linux.
> >         It seems to help with memory usage.
> > 
> > With this patch the compiler is about 10% slower, but uses around 10%
> > less memory. This is all on amd64 box, running 64 bit version of mono.
> > 
> > The Nemerle compiler is quite allocation intensive. The working set is about 
> > 140M and the running time is about 23s.
> > 
> > I wonder if:
> >   a) we can introduce --with-mmap configure switch?
> >   b) better yet, make the mmap version go as fast as the brk one?
> Gonzalo, was this done for ASP.NET?
> We are about to land a new ASP.NET implementation that uses unmanaged
> buffers for input and output as opposed to managed buffers.
> If this change was done for ASP.NET, we can likely back it out.

It was that leak when doing a huge POST. That was needed to make a 55MB
POST not to leak like a sieve. I have to test this with the unmanaged


More information about the Mono-devel-list mailing list