[Mono-dev] Big performance gaps between .NET,	Mono (Suse/Debian) 	?
    Chuck Esterbrook 
    chuck.esterbrook at gmail.com
       
    Tue Oct  6 12:36:59 EDT 2009
    
    
  
A web search showed me that GC can be turned off with the environment
variable GC_DONT_GC. Maybe that should be called MONO_GC_ON. In any
case, any value will turn off the GC, including blank, so to turn it
back on, unset it.
I tested with a command line Mono program that is not a
microbenchmark. With GC, it peaks at around 180MB and without, it
peaks around 840MB and runs about 18% faster. I gave the same program
less work to do and its performance boost was only 10%.
So now you can try your programs without GC to see how much it
contributes to performance drag. Just watch for swap.  :-)
Does anyone know what's involved with plugging in your own GC into Mono?
-Chuck
    
    
More information about the Mono-devel-list
mailing list