[Mono-dev] Re: [Mono-devel-list] USE_MMAP speed/time tradeoff
Miguel de Icaza
miguel at ximian.com
Thu Aug 25 11:29:53 EDT 2005
> 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.
More information about the Mono-devel-list