查找各方面的资料,找到了一个论坛里的一个帖子,摘录如下: How To: Dramatically improve web file upload speed under
Windows
12.May.04 下午 01:40 a Web
browser Domino Web Access All Releases
Windows 2003; Windows 2000;
Windows XP; Windows NT; Windows 95; Windows 98
I stumbled on this in
researching why it takes so long to upload files from a web browser while
downloads are fast.
By
adding the registry setting
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\SocketSendBufferLength and setting it's value to 32768 decimal (0x8000)
I've been able to see a 10x improvement in upload performance for the file
upload control.
In testing on my 100Mbps LAN I noticed significant
improvement setting it 16384 but a 35Mb file upload almost 3x faster when it was
set to 32768 or 65536 (both were about the same so I chose the lower setting to
be closer to the default of 8192).
This change is made on the CLIENT
side, not the server so deployment may be an issue.
然后去查找微软的网站,查找到如下信息,
HTTP File Upload Operation Takes a Long Time to Complete
SYMPTOMS
When you use the HTTP File Upload feature to upload
multi-megabyte files, the upload operation may take a very long time to
complete.
Note This issue is documented in Request For Comment
(RFC) 1867, "Form-based File Upload in HTML."
CAUSE
This issue occurs because the default Winsock Send buffer is 8
kilobytes (KB), and therefore Internet Explorer supplies the data in 8 KB
chunks. On an average network, this equals approximately 80 KB per second
(KBps), regardless of network bandwidth.
For additional information,
click the article number below to view the article in the Microsoft Knowledge
Base:
() INFO: Design
Issues - Sending Small Data Segments Over TCP w/Winsock
RESOLUTION
To resolve this issue, configure Internet Explorer to increase
the Send buffer when communicating with Winsock. This increases network
performance when you use the HTTP File Upload method. To do this, follow these
steps.
WARNING: If you use Registry Editor incorrectly, you may
cause serious problems that may require you to reinstall your operating system.
Microsoft cannot guarantee that you can solve problems that result from using
Registry Editor incorrectly. Use Registry Editor at your own risk.