[Mono-list] Mono Performance and Stability issues (ASP.Net)

Marek Habersack grendel at twistedcode.net
Thu Aug 14 12:33:08 EDT 2008


On Thu, 14 Aug 2008 06:03:55 -0700 (PDT)
Artyom <artyomtnk at yahoo.com> wrote:

> Hello,
Hello,

> I'd try to perform some benchmarks of ASP.Net based CMS using mono
> but I got into few issues:
> 
> 1. Performance stability issues. As more benchmarks I run 
>    this xsp/mod-mono/mono-server-fastcgi become slower. Even with
>    simple application (like Hello World) I get 300 requests per
>    second first time I run benchmark (ab -c 5 -n 500 URL) then 
>    this number become lower and lower and **never** returns to the
>    original level.
>    
>    I've seen reports on same problem there as well:
>    http://www.phpvs.net/2008/02/08/benchmarking-mono-aspnet-vs-php-a-slight-problem/
>    I also had written about it there:
>    http://art-blog.no-ip.info/cppcms/blog/post/27
>    
>    This makes all possible measurements irrelevant because the results
>    are not consistent
Mono versions before 2.0 have had hidden performance issues which we've fixed during
the 2.0 development phase. Please try benchmarking with mono, mod_mono and xsp from
the svn trunk (or the 2.0 branch) - the results will be much better.

> 2. I can't enable output cache support. I created a simple ASP.Net
>    application that shows clock and added Output cache directive.
>    that stores the cache for 10 seconds. I tested it under IIS
>    refreshing the page under IIS does not change clock value.
>    
>    Same application caching hadn't given any result under
>    xsp/mod_mono/fastcgi-server.
> 
>    And Yes, I had reas this FAQ:
>    http://www.mono-project.com/FAQ:_ASP.NET#OutputCache_and_VarByParam
Yes, output caching is not fully implemented under Mono. Finishing it is planned
sometime after the 2.0 is released. Feel free to contribute if you need it earlier
and you can allot some time to the task :)
 
best regards,

marek


More information about the Mono-list mailing list