[Mono-dev] Make use of --desktop and --server VM modes [was Re: ToString() performace in Mono revisited]

Mirco Bauer meebey at meebey.net
Wed Jan 2 11:33:46 EST 2008


[resent to the mailing list as the MTA refused the email with an obscure
"date in future" error, sems like the server is behind ;)]

On Mon, 2007-12-31 at 12:53 -0500, Miguel de Icaza wrote:
> Another option would be to expose the setting to class libraries, so the
> class libraries could pick between two implementation.

thats exactly was I was trying to point out :-P sorry for my bad
explainations.

> 
> But I feel uneasy about adding this sort of feature, because it would
> basically create another column in matrix testing (we would then have to
> test everything against both configurations).

True, and it's difficult to test the performance of both modes as other
things like JIT opts or other classes of the BCL influence the results.

> 
> Am not sure that this extra source of potential errors is worth it at
> this point.

In this case I don't think either, now that I learned it's actually just
10% more CPU usage, which is acceptable compared to the memory savings
of 10x.

But sooner or later it might become useful to have 2 implementations. I
just wanted to point out that the possibility exists to target both
cases, CPU friendly or memory friendly using the VM mode switchs.

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    meebey at meebey.net  http://www.meebey.net/
PEAR Developer    meebey at php.net     http://pear.php.net/
Debian Developer  meebey at debian.org  http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080102/9d821831/attachment.bin 


More information about the Mono-devel-list mailing list