[users@httpd] R: [users@httpd] Apache throughput problem with high latency client (WAN) on Windows 2000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Solved, I needed to set SendBufferSize because on windows platform Apache
takes by default 4KB

This is documented in "listen.c"

/*
     * To send data over high bandwidth-delay connections at full
     * speed we must force the TCP window to open wide enough to keep the
     * pipe full.  The default window size on many systems
     * is only 4kB.  Cross-country WAN connections of 100ms
     * at 1Mb/s are not impossible for well connected sites.
     * If we assume 100ms cross-country latency,
     * a 4kB buffer limits throughput to 40kB/s.
     *
     * To avoid this problem I've added the SendBufferSize directive
     * to allow the web master to configure send buffer size.
     *
     * The trade-off of larger buffers is that more kernel memory
     * is consumed.  YMMV, know your customers and your network!
     *
     * -John Heidemann <johnh@xxxxxxx> 25-Oct-96
     *
     * If no size is specified, use the kernel default.
     */


 

>-----Messaggio originale-----
>Da: edp.lists@xxxxxxxxxx [mailto:edp.lists@xxxxxxxxxx] 
>Inviato: mercoledì 27 aprile 2005 15.02
>A: users@xxxxxxxxxxxxxxxx
>Oggetto: [users@httpd] Apache throughput problem with high 
>latency client (WAN) on Windows 2000
>
> 
>I've got a problem with an Apache 1.3.33 installation on 
>windows 2000 related to throughput, I can't understand what is 
>happening.
>
>When I request a file from the local lan, the throughput is 
>good and quite full, but when I fetch file from the internet ( 
>we have a 180 KB/s link ) using clients with latency in 
>average around 100ms, the total througput seems capped and 
>limited to 40 KB/s .
>
>If I use the same client and I fetch the same file using the 
>FTP protocol, I get full bandwidth usage ( 160-170 KB/s ).
>
>If I fetch the same file from an instance of IIS installed on 
>the same server and same tcp port, the throughput is full, 
>like FTP ( 160-170 KB/s ).
>
>If I fetch the same file from an instance of Apache version 2 
>installed on the same server and tcp port, the throughput 
>seems again limited, but bigger than 1.3.33 ( 90 KB / s ).
>
>The file in question is 10 MB big.
>
>So according to this tests, to me it is not an ethernet 
>interface problem, nor a wrong configured tcp ip settings, nor 
>an in-path router/firewall that do bandwidth limiting.
>
>The only conclusion that I can make is that it seems that 
>Apache sets or force the trasmit tcp window (not honoring 
>client declared receive window, or host setting ) in some 
>limiting way so that on high latency clients the problem shows 
>up ( but not on local lan ethernet where latency is very low ).
>
>It is a known problem / how can I avoid the problem?
>
>Thanks you much all for your time
>
>
>.FT
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux