[Mono-list] mono performance, 20x differential with Java (what am i doing wrong)

Alan McGovern alan.mcgovern at gmail.com
Fri Jan 29 16:23:42 EST 2010


If you mean you want the SIMD extensions to be part of the .NET 5.0+
specification, then that may be an option in the future should someone
decide that it's worth all the paperwork and time involved. As it stands,
Mono is the only VM (that I know of) that allows you access the various SIMD
instruction sets available on modern CPUs.

While GPU accellerated code may be possible in the future, that would have
to built on top of whatever API the GPU exposes (CUDA or whatever). That
would be completely separate to Mono.SIMD as this just exposes additional
CPU instruction sets to .NET languages.

Alan.


On Fri, Jan 29, 2010 at 8:56 PM, Jonathan Shore <jonathan.shore at gmail.com>wrote:

> Alan,  fair enough, I'll give that a shot.  It would be great to see
> support for SSE folded into the core VM.   Or is the idea to later (or
> currently) utilize GPUs as well?
>
> On Jan 29, 2010, at 10:39 AM, Alan McGovern wrote:
>
> Also, while I think of it. If you're doing a lot of repetitive calculations
> on arrays, you should look into using Mono.SIMD. The most recent example of
> perf benefits can be found here:
> http://blog.reblochon.org/2010/01/talk-teaser-image-processing-with.html.  A C# SIMD-optimised version of an image processing function turned out to
> be ~6.5x faster than the native C version. I'd assume that if the native C
> version was SIMD optimised aswell it'd be on par/faster than the mono
> implementation, but it does show the power of Mono.SIMD.
>
> Alan.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100129/48df4e14/attachment.html 


More information about the Mono-list mailing list