apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <b...@wstoddard.com>
Subject Re: [patch] sendfile on win32 slow (bug #20382)
Date Mon, 01 Sep 2003 16:25:28 GMT
Maarten Bekers wrote:

> Hi,
> 
> End of May 2003, i submitted bug 20382
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20382) which describes an
> issue with Apache on Windows2000 Advanced Server performing very poorly in
> some tested configurations. I also attached a proposed patch (which i'm sure
> can be improved upon, but at least shows a resolution and perhaps a more
> clear view of what's going on). According to
> http://apr.apache.org/patches.html i should just ask again if it was ignored
> for a longer while.
> 
> The issues seems to be that when sending a file in multiple-pieces using
> SendFile() on Windows AS,  the performance drops significantly, where as IIS
> performance is very well, ruling out any network problems. Because the same
> Apache configuration works fine on Windows2000 Professional, it also rules
> out any configuration errors on the Apache side of things.
> 
> Above patch uses the TransmitFile() function to send the whole file at once,
> instead of in 64kbyte blocks as the original program seems to do.
> 
> Thanks,
> Maarten Bekers.


Maarten,
How do you propose to handle Timeout processing with your patch?

Bill


Mime
View raw message