[Mono-devel-list] using xsp as webserver

Jerome Laban jlaban at wanadoo.fr
Mon Jul 7 18:05:22 EDT 2003


Here is a little time saver :) The HttpContext class is accessing many
times the ConfigurationSettings class, which is *really* slow.

On my honorable Pentium 233MMX (yep, mmx :) ), I got static pages
processing falling down from ~250ms to ~25ms. This is still slow, but
for that kind of CPU, that's ok.

Hope this will help.

-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Miguel de
Icaza
Sent: Monday, July 07, 2003 8:14 PM
To: dim
Cc: mono-devel
Subject: Re: [Mono-devel-list] using xsp as webserver


Hello,

> I found xsp is very slow while transfering data to clients. Images
> loading on static webpages are very slow even when running browser on 
> machine where xsp runs itself.
> 
> Is xsp io layer so slow by itself, or can I tune something to increase
> perfomance?

We are aware that doing bulk data transfers is slow with Mono, and this
seems to be an issue of the stream implementations.  Someone mentioned
that a possible optimization was to avoid copies in our IO stack if the
size to be transfered was aligned and was a full page (a nice constant
basically).

It is worth tuning this, because it impacts the overall performance.

Miguel.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HttpContextPatch-20030707.diff
Type: application/octet-stream
Size: 1090 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030708/7767de88/attachment.obj 


More information about the Mono-devel-list mailing list