Re: Performance of TransmitFile on Windows Servers with 2.0.49

2004-04-12 Thread Bill Stoddard
Philip Gladstone wrote: I noticed that the performance of TransmitFile (used when EnableSendFile On on Windows platforms) was significantly worse than EnableSendFile Off. It turns out that the way that TransmitFile is called is *without* the TF_WRITE_BEHIND flag. This means that TransmitFile does

Re: Performance of TransmitFile on Windows Servers with 2.0.49

2004-04-12 Thread Bill Stoddard
Bill Stoddard wrote: Philip Gladstone wrote: I noticed that the performance of TransmitFile (used when EnableSendFile On on Windows platforms) was significantly worse than EnableSendFile Off. It turns out that the way that TransmitFile is called is *without* the TF_WRITE_BEHIND flag. This means

Re: Performance of TransmitFile on Windows Servers with 2.0.49

2004-04-12 Thread Philip Gladstone
Bill, That patch works when the server is running on XP SP 1. It doesn't help when the server is NT4 SP6. I suspect that the TF_WRITE_BEHIND flag is not supported on that platform. When the server is XP, the data rate jumps up to 11MBytes/sec on a 100Mbit network. I would call this a success.

Re: Performance of TransmitFile on Windows Servers with 2.0.49

2004-04-12 Thread Philip Gladstone
OK -- I made a mistake in my tests. My XP system had 'enablesendfile off', and that was the reason that it went fast. It does appear that fiddling with those flags (TF_WRITE_BEHIND) doesn't make much (if any) difference. THe only thing that makes much difference is the MAX_SEGMENT_SIZE.

Re: Performance of TransmitFile on Windows Servers with 2.0.49

2004-04-12 Thread William A. Rowe, Jr.
At 12:50 PM 4/12/2004, Philip Gladstone wrote: Bill, That patch works when the server is running on XP SP 1. It doesn't help when the server is NT4 SP6. I suspect that the TF_WRITE_BEHIND flag is not supported on that platform. When the server is XP, the data rate jumps up to 11MBytes/sec on a