免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1514 | 回复: 0
打印 上一主题 下一主题

[故障求助] 最近碰到的怪事情 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-20 22:58 |只看该作者 |倒序浏览
操作系统 AIX 5.3,Domino 6.5.4FP1HF175,附件上传很慢,大约在40KB/S左右。但是另外一台服务器是Solaris
8的机器,Domino 6.5.4FP1HF494 (Hotfix是针对同一个问题写的),但是上传速度能达到800KB/S左右,相差20倍左右。
经过以下测试:
1、将Internet端口修改为81,不行。
2、升级Domino的版本到6.5.4FP3,也不行。
3、升级到6.5.5,一样,没有改进。
4、用Moazllia浏览器去试验,速度达到500KB/s,奇怪了。感觉根客户端有关系。
查找各方面的资料,找到了一个论坛里的一个帖子,摘录如下:
How To: Dramatically improve web file upload speed under
Windows

[color="#800080"]
Ken Benjamin
[color="#800080"] 12.May.04  下午 01:40[color="#666666"] a Web
browser
[color="#666666"]Category[color="#800080"]:[color="#800080"] Domino Web Access

[color="#666666"]Release: All Releases

[color="#666666"]Platform:
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.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329781
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://support.microsoft.com/kb/329781/en-us
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:
214397
(http://support.microsoft.com/kb/214397/EN-US/) 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.
1.
Start Registry Editor (Regedt32.exe).
2.
Locate and then click the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings

3.
On the Edit menu, click Add Value, and then add the
following registry value:
Value name: SocketSendBufferLength
Data type:
REG_DWORD
Radix: Decimal
Value data: Buffer size that you want (in
bytes) Buffer size value options:
16-KB Buffer = 16384
24-KB Buffer =
24576
32-KB Buffer = 32768
40-KB Buffer =
40960
48-KB Buffer = 49152
56-KB Buffer =
57344
64-KB Buffer = 65536
4.
Quit Registry Editor.

明天准备去客户现场试验一下看看。
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11279/showart_88393.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP