[7.460][INFO] How to speed up HTTP Proxy Upload throughput

I had reported previously that I found the HTTP proxy filter to cause a slowdown in uploading of files or speed testing. As it turns out the HTTP proxy is fine, the cause is Firefox. There will be minimal loss of throughput due to the action of the filter which I would consider normal. Firefox inherently has a slow file upload. After some research I have resolved the issue. The addition of the following windows registry hex dword value as noted below, followed by a windows restart will correct the slow upload. The actual dword value can be increased or decreased depending on the throughput requirements. The following can be copied to notepad, saved as a reg file, then merged in to the registry. This is applicable to Windows XP/2000, Server 2000, and 2003.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]
"DefaultSendWindow"=dword:00078000

Hopefulley this information will benefit others.

Jim [:D]
  • Jim, does this affect only Firefox, or could it affect IE and other browsers?

    Thanks - Bob
  • Astaro Beta Report
    --------------------------------
    Version: 7.460
    Type: INFO
    State: NONE
    Reporter: scottj
    Contributor: 
    MantisID: 
    --------------------------------
  • Further Information on DefaultSendWindow
    Source Appendix C: Windows Sockets and DNS Registry Parameters

    Appendix C: Windows Sockets and DNS Registry Parameters

    Updated: July 6, 2005
    AFD Registry Parameters

    Afd.sys is the kernel-mode driver that is used to support Windows Sockets applications. When there are three default values, the default is calculated based on the amount of memory detected in the system:

        * The first value is the default for smaller computers (less than 19 MB).
        * The second value is the default for medium computers (32 MB on Windows XP Professional, >64 MB on Windows Server 2003).

    For example, if the default is given as 0/2/10, a system containing 12.5 to 20 MB of RAM would default to 2.

    The following values can be set under:

    HKEY_LOCAL_MACHINE

         \SYSTEM

              \CurrentControlSet

                   \Services

                        \Afd

                             \Parameters
    DefaultReceiveWindow

    Value Type: REG_DWORD

    Default: 4096/8192/8192

    Description: The number of receive bytes that AFD buffers on a connection before imposing flow control. For some applications, a larger value here gives slightly better performance at the expense of increased resource utilization. Applications can modify this value on a per-socket basis with the SO_RCVBUF socket option.
    DefaultSendWindow

    Value Type: REG_DWORD

    Default: 4096/8192/8192

    Description: This is similar to DefaultReceiveWindow, but for the send side of connections.