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

Gonzalo Paniagua Javier gonzalo at ximian.com
Tue Aug 9 08:28:12 EDT 2005

On Sun, 2005-08-07 at 00:14 +0200, Michal Moskal wrote:

> > Also, Gonzalo was trying
> > to work on the "large file upload" setup, which has better solutions
> > (buffering to files, like is done in Whidbey).
> "large file upload"? I don't get it.

When POSTing anything big to a ASP.NET page or web service, it has to be
buffered. Someone filed a bug report saying that it used too much memory
and the mmap patch made it behave *much* better. However, ASP.NET 2.0
has some feature to use a file on disk instead of keeping the whole
buffer in memory and we might do this for 1.1 too. In this case, it
would help if you provide a test that we can use to measure the
slowdown. Based on that, the mmap option could be removed once the
write-buffer-to-disk code is ready.


More information about the Mono-devel-list mailing list