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
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
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.
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.
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