[Mono-list] Same code, different performance?

reubensm reubens73 at gmail.com
Thu Feb 12 17:34:50 EST 2009

Hello Mono community :)

At work we have a piece of C# code written and compiled under Windows that
we'd like to port to Linux using Mono.

The code has two parts (client and server) that perform many tasks, one of
which is data transfer from the cilent to the server.

In our tests we see that when running on Windows, the same code achieves
performance at least 3-4 times better (faster) than when running under

We ran a profiler, but the results didn't give any obvious culprit, except
the possibility that it might be related to synchronization primitives
implementation of Mono.

Can anyone think of a reason for this slowness? like said, it is the same
code (and binaries, compiled under Windows) used in both Windows and Linux.
Both environments are physical (no virtualization, VMs).

Could this be unrelated to Mono, and a result of some OS settings? (Fedora
10) if so, what should we check?


View this message in context: http://www.nabble.com/Same-code%2C-different-performance--tp21986473p21986473.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list