Hello, With your advice, local-to-local I saw speeds of 650MByte per sec--10% faster than IIS! I have an idea for futher speed:
procedure TIcsBufferHandler.Lock; begin EnterCriticalSection(FCritSect); end; {* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *} procedure TIcsBufferHandler.UnLock; begin LeaveCriticalSection(FCritSect); end; We use NO_ADV_MT. Shouldn't these be IFNDEF'ed for it? Best Regards, SZ On Thu, Sep 29, 2011 at 18:04, Angus Robertson - Magenta Systems Ltd < an...@magsys.co.uk> wrote: > > I mean I have on my server in Canada IIS and our ICS server. When I > > download from there with high latency and high bandwidth, > > On the same physical hardware with different ports or IPs? > > IIS runs as a kernel driver, so is more efficient than Windows > applications. > > >I had read that I need to increase window size. I have > > made it 128KB and now the download speed is 180KB/s. > > So it's now much slower? > > The difference could be down to TCP settings, with slow latency the round > trip time to acknowledge packets causes the speed to slow down, so > allowing TCP to send more packets without waiting for ACK packets speeds > things up. > > On my WAN, I've tested downloads from the ICS FTP server with the ICS FTP > client at almost 500Mbits/s, and I can download from (decent) low latency > (10ms) public FTP servers at over 50Mbits/s which is my maximum cable > modem speed. That's with 64K TCP buffers. > > But I can not test the ICS web server at those speeds, I have an old > firewall in front of my public server which limits the maximum speed to > about 15Mbits/s. > > IIS7 - http://www.magsys.co.uk/download/testing/speed50meg.zip > > ICS v7 - http://www.telecom-tariffs.co.uk/testing/speed50meg.zip > > ICS is slower but is still using the default 8K TCP sockets, not got > around to increasing the TCP buffer size yet, do most testing with FTP. > > Angus > > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be