[Mono-dev] Fundamental performance problems with Mono

Thad Thompson TThompson at Nucsafe.com
Fri Jan 8 16:22:37 EST 2010


Hi Miguel,
The purpose of System.ServiceModel.Channels.BufferManager in WCF is to
allocate buffers from a pool. The current implementation in Mono is
marked [MonoTODO] and only returns a single buffer. Not only does it not
manage a pool, but each invocation of TakeBuffer returns a reference to
its single internal buffer which would probably cause any consumer of
this class to crash and burn when run on Mono.

Regards,
-Thad

-----Original Message-----
From: Miguel de Icaza [mailto:miguel at novell.com] 
Sent: Friday, January 08, 2010 4:06 PM
To: Thad Thompson
Cc: zvikag; mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Fundamental performance problems with Mono

Hello Thad,

> If you do decide to go with managed buffers you'll need to implement
> your own (or find a good library) as the WCF BufferManager in Mono
won't
> really do what you want.

Can you describe what are the limitations in Mono's Buffer Manager?

Miguel.



More information about the Mono-devel-list mailing list