PCDVD數位科技討論區
PCDVD數位科技討論區   註冊 常見問題 標記討論區為已讀

回到   PCDVD數位科技討論區 > 其他群組 > 團購及新品專區 > 明誠科技
帳戶
密碼
 

  回應
 
主題工具
FlyinDance
Advance Member
 
FlyinDance的大頭照
 

加入日期: Feb 2000
您的住址: 敗家天堂PCDVD
文章: 333
引用:
作者cmwang
鵝前面提過win32版iperf的buffer(TCP window) default只有8KB,設成64KB之後throughput就好多了,除此之外鵝沒做啥特別的調校啊 ....BTW,鵝用的kernel是重新compile過的v2.6.17,也先把iptable的rule清掉了,您要不要檢查一下是不是iptable的關係(一般常見的distribution如RH/FC之類會有default的rule,iptable/firewall rule的寫法對throughput/loading會有重大的影響).....



這就牽涉到真正的I/O和file system了,光由您提到有限的資訊恐怕是很難做出有意義的判斷的....

我的linux是用ubuntu的6.0.6版,核心是2.6.15-26-386,也沒去做什麼編譯核心的事,硬碟是一顆WD IDE 80G的硬碟,不知道還有什麼東西會跟傳輸的效能有關的,小弟我再提供。
     
      
__________________

實在是太可愛了

我的GMail Icon:
舊 2006-09-17, 05:01 PM #51
回應時引用此文章
FlyinDance離線中  
cheerx@ethome
Senior Member
 
= PCDVD認證賣家 =
加入日期: Oct 2001
您的住址: 新店市福園街13號
文章: 1,379
果然越來越精采了.FlyinDance兄快點換張卡試試看吧!!

在windows的環境下,建議是採用多sessions才能逼近效能的極限.這個工具也可以拿來測試您路由器和防火牆的性能,不過在windows環境下sessions開太大程式會直接當掉.
 
舊 2006-09-18, 06:01 PM #52
回應時引用此文章
cheerx@ethome離線中  
cmwang
Elite Member
 

加入日期: May 2002
您的住址: 板橋
文章: 5,106
引用:
作者cheerx@ethome
果然越來越精采了.FlyinDance兄快點換張卡試試看吧!!

在windows的環境下,建議是採用多sessions才能逼近效能的極限.這個工具也可以拿來測試您路由器和防火牆的性能,不過在windows環境下sessions開太大程式會直接當掉.


題外話,小峰兄有沒有熟的SBC/IPC vendor啊 ....鵝之前要幫sponsor搞客製化的SBC,好不容易把design house trainning的差不多了(兜出個鵝還算可以接受的可行性評估/layout草圖/spec等等過來),不過其卻報了個天價過來,害鵝有點兩面不是人....

PS:若小峰兄不方便回在板上的話請直接pm給鵝....
__________________
士大夫之無恥,是謂國恥....
舊 2006-09-18, 06:17 PM #53
回應時引用此文章
cmwang離線中  
cmwang
Elite Member
 

加入日期: May 2002
您的住址: 板橋
文章: 5,106
鵝再來貼個R牌8169好了,client是Celeron 2.4D+512MB DDR400(不過限於CPU實際上是跑DDR266),server一樣是AM2的Sempron3000+2GB DDRII667+MCP51內建的GbE(PHY也是Marvell的),不過這次server是跑XP(為了開Jumbo Frame/off loading等功能)....

default只開rx off loading,沒開Jumbo Frame....

root@lab01:~# ethtool -k eth1
Offload parameters for eth1:
rx-checksumming: on
tx-checksumming: off
scatter-gather: off
tcp segmentation offload: off
root@lab01:~# time iperf -c 192.168.10.115
------------------------------------------------------------
Client connecting to 192.168.10.115, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.10.110 port 36782 connected with 192.168.10.115 port 5001
[ 5] 0.0-10.0 sec 723 MBytes 607 Mbits/sec

real 0m10.034s
user 0m0.112s
sys 0m4.068s

throughput約607Mbps,CPU loading約40%....

同上,開10個connection

root@lab01:~# time iperf -c 192.168.10.115 -P10
connect failed: Connection refused
write1 failed: Broken pipe
connect failed: Connection refused
write1 failed: Broken pipe
connect failed: Connection refused
write1 failed: Broken pipe
connect failed: Connection refused
write1 failed: Broken pipe
------------------------------------------------------------
Client connecting to 192.168.10.115, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
write2 failed: Broken pipe
write2 failed: Broken pipe
write2 failed: Broken pipe
write2 failed: Broken pipe
[ 9] local 192.168.10.110 port 45776 connected with 192.168.10.115 port 5001
[ 5] local 192.168.10.110 port 45772 connected with 192.168.10.115 port 5001
[ 6] local 192.168.10.110 port 45773 connected with 192.168.10.115 port 5001
[ 7] local 192.168.10.110 port 45774 connected with 192.168.10.115 port 5001
[ 8] local 192.168.10.110 port 45775 connected with 192.168.10.115 port 5001
[ 10] local 192.168.10.110 port 45777 connected with 192.168.10.115 port 5001
[ 11] local 0.0.0.0 port 45778 connected with 192.168.10.115 port 5001
[ 11] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 12] local 0.0.0.0 port 45779 connected with 192.168.10.115 port 5001
[ 12] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 13] local 0.0.0.0 port 45780 connected with 192.168.10.115 port 5001
[ 13] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 14] local 0.0.0.0 port 45781 connected with 192.168.10.115 port 5001
[ 14] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 5] 0.0-10.0 sec 123 MBytes 103 Mbits/sec
[ 6] 0.0-10.0 sec 123 MBytes 103 Mbits/sec
[ 7] 0.0-10.0 sec 123 MBytes 103 Mbits/sec
[ 8] 0.0-10.0 sec 123 MBytes 104 Mbits/sec
[ 10] 0.0-10.0 sec 123 MBytes 103 Mbits/sec
[ 9] 0.0-10.0 sec 124 MBytes 104 Mbits/sec
[SUM] 0.0-10.0 sec 740 MBytes 621 Mbits/sec

real 0m10.023s
user 0m0.196s
sys 0m5.932s

throughput沒太大變動,但CPU load由40%上升到60%(約50% )....BTW,出現write2 failed不知是鵝的XP沒hack過(10個connection的限制)亦或是真跑不動了....

開一個connection,off loading全開,MTU設成7200(linux kernel driver中R牌support的最大值)....

root@lab01:~# ethtool -k eth1
Offload parameters for eth1:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
root@lab01:~# time iperf -c 192.168.10.115
------------------------------------------------------------
Client connecting to 192.168.10.115, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[ 5] local 192.168.10.110 port 46567 connected with 192.168.10.115 port 5001
[ 5] 0.0-10.0 sec 790 MBytes 663 Mbits/sec

real 0m10.019s
user 0m0.084s
sys 0m2.696s

throughput由607Mbps上升到663Mbps(約10%),CPU loading由40%下降至27%(約33%)....

同上,開10個connection....

root@lab01:~# time iperf -c 192.168.10.115 -P10
connect failed: Connection refused
write1 failed: Broken pipe
connect failed: Connection refused
write1 failed: Broken pipe
------------------------------------------------------------
Client connecting to 192.168.10.115, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
write2 failed: Broken pipe
write2 failed: Broken pipe
[ 6] local 192.168.10.110 port 46193 connected with 192.168.10.115 port 5001
[ 7] local 192.168.10.110 port 46194 connected with 192.168.10.115 port 5001
[ 8] local 192.168.10.110 port 46195 connected with 192.168.10.115 port 5001
[ 9] local 192.168.10.110 port 46196 connected with 192.168.10.115 port 5001
[ 11] local 192.168.10.110 port 46198 connected with 192.168.10.115 port 5001
[ 12] local 192.168.10.110 port 46199 connected with 192.168.10.115 port 5001
[ 13] local 0.0.0.0 port 46200 connected with 192.168.10.115 port 5001
[ 13] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 14] local 0.0.0.0 port 46201 connected with 192.168.10.115 port 5001
[ 14] 0.0- 0.0 sec 0.00 Bytes 0.00 bits/sec
[ 10] local 192.168.10.110 port 46197 connected with 192.168.10.115 port 5001
[ 5] local 192.168.10.110 port 46192 connected with 192.168.10.115 port 5001
[ 7] 0.0- 7.0 sec 70.4 MBytes 84.3 Mbits/sec
[ 8] 0.0- 7.0 sec 70.1 MBytes 83.9 Mbits/sec
[ 11] 0.0- 7.0 sec 70.4 MBytes 84.2 Mbits/sec
[ 9] 0.0- 7.0 sec 70.4 MBytes 84.2 Mbits/sec
[ 12] 0.0- 7.0 sec 70.4 MBytes 84.1 Mbits/sec
[ 10] 0.0- 7.0 sec 70.3 MBytes 84.0 Mbits/sec
[ 6] 0.0-10.0 sec 189 MBytes 159 Mbits/sec
[ 5] 0.0-10.0 sec 189 MBytes 158 Mbits/sec
[SUM] 0.0-10.0 sec 800 MBytes 671 Mbits/sec

real 0m13.015s
user 0m0.144s
sys 0m2.896s

throughput與CPU loading都與off loading全開,MTU設成7200時約略相當....

由以上不太精確的測試,大致上可以得出Jumbo Frame/off loading不論對throughput或CPU loading而言的確有些助益的結果吧....
舊 2006-09-18, 07:06 PM #54
回應時引用此文章
cmwang離線中  
cheerx@ethome
Senior Member
 
= PCDVD認證賣家 =
加入日期: Oct 2001
您的住址: 新店市福園街13號
文章: 1,379
cmwang大當初在pczone貼這個需求的時候我有看到,小弟沒有特別熟的,不過之前有想要做自己的機器,有整理過ipc廠商資料,晚一點小弟pm給您.

另外其他的朋友,比較win跟linux的環境會比較不客觀,小弟會建議在同樣的平台比較同一張卡會比較準確.
舊 2006-09-20, 12:34 PM #55
回應時引用此文章
cheerx@ethome離線中  
alvin721
Basic Member
 

加入日期: Sep 2004
文章: 16
我想請問一下 這台hub是不是很燙阿 我買來就燙到手不太能摸
才買不到一周
舊 2007-05-22, 07:45 PM #56
回應時引用此文章
alvin721離線中  
alvin721
Basic Member
 

加入日期: Sep 2004
文章: 16
非常抱歉我回錯文了..........我眼花...........打攪了/ \
舊 2007-05-22, 11:43 PM #57
回應時引用此文章
alvin721離線中  
cheerx@ethome
Senior Member
 
= PCDVD認證賣家 =
加入日期: Oct 2001
您的住址: 新店市福園街13號
文章: 1,379
沒關係的 順便回答您的問題 gigabit的交換器大多很燙 不過只要不會熱當都是不需要介意的.
舊 2007-05-23, 04:12 AM #58
回應時引用此文章
cheerx@ethome離線中  
chlang
Master Member
 
chlang的大頭照
 

加入日期: Dec 2001
文章: 1,747
不知道有沒有大大跑過這一顆 Switch

http://jokera.mrs3.com/pg/thumbnail...m=topn&cat=-317

看起來蠻划算的(網拍約 1.5k). 不知道有啥缺點.

1. Asus
2. MIT
3. 20GBps
4. 8Ports
5. 9k Jumbo Frame

唯一缺點:
引用:
勉強原諒它Intel網卡群組使用的問題
(目前已知的有負載平衡的部份出問題)
舊 2007-06-11, 09:18 PM #59
回應時引用此文章
chlang離線中  
cheerx@ethome
Senior Member
 
= PCDVD認證賣家 =
加入日期: Oct 2001
您的住址: 新店市福園街13號
文章: 1,379
看起來是不錯啦!!不過網路設備這種東西還是要用了才知道.尤其華碩品質.....後面的讓其他人回答.
舊 2007-06-12, 06:07 PM #60
回應時引用此文章
cheerx@ethome離線中  


    回應


POPIN
主題工具

發表文章規則
不可以發起新主題
不可以回應主題
不可以上傳附加檔案
不可以編輯您的文章

vB 代碼打開
[IMG]代碼打開
HTML代碼打開



所有的時間均為GMT +8。 現在的時間是01:08 AM.


vBulletin Version 3.0.1
powered_by_vbulletin 2025。