[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:32:38 EST 2008
On Mon, 2007-12-31 at 14:44 +0100, Robert Jordan wrote:
> Mirco Bauer wrote:
> > On Mon, 2007-12-31 at 10:58 +0900, Atsushi Eno wrote:
> >> Oops yes ;-)
> >>
> >> BTW Kazuki cooked patches to reduce those memory usage with little
> >> cost:
> >>
> >> http://kserver.panicode.com/memo/2007/12/30/0
> >> (327KB -> 57KB)
> >
> > looking at those number like:
> > CPU 9.3sec -> 31.5sec
> > MEM 389KB -> 32KB
> >
> > gives me mixed feelings, it's the typical: use less memory needs more
> > CPU scenario.
>
> Then you must be reading Japanese better than I do ;-)
> Hint: scroll down to see the real results.
Didn't notice that only the last measurement is the final one.
>
> > I still believe we should start optimizing both ends and using the
> > --desktop and --server modes we already support but which we are not
> > using yet.
>
> This is wrong, at least in the context of this mail. Those switches
> will affect JIT compiler optimizations, whereas this mail is
> about suboptimal implementation of ToString (). Even a über-JIT
> won't be able to turn a suboptimal algorithm into a good one.
If the setting is exposed via an icall then managed can decide between 2
algorithms/implementations depending on the switch, one being more CPU
friendly and the other more memory friendly.
--
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/8fbe3b11/attachment.bin
More information about the Mono-devel-list
mailing list