8139 螃蟹卡 的 early tx threshold 該設多少呢?



贊助商連結


akiza
2002-11-11, 05:08 PM
8139的設定堙A有一項 early tx threshold

預設值是 4,看了一些國外的文章,有的設到 15甚至 32 (上限值 是24)

這項參數 在REALTEK的網站上 片尋不著說明...

哪位網友知道的可以 指教一下嗎?..

謝囉

贊助商連結


LordVader
2002-11-12, 12:57 AM
交叉參考Dlink線上FAQ (http://210.242.217.250/Dlink/faq-c.asp?S_Id=1&C_Id=2&Subject=%BA%F4%A5d%28Network+Interface+Cards%29%AC%DB%C3%F6%A4%E5%A5%F3&F_Class=DFE%2D530TX+%A8t%A6C%AC%DB%C3%F6%A4%E5%A5%F3&F_No=DFE%2D530%2D100034)的和Accton的解釋 (http://www.accton.com/accton/drivers/technology/asic/details/register_description_1.html)吧

智邦:
Early Tx Threshold : Specifies the threshold level in the Tx
FIFO to begin the transmission. When the byte count of the data in the FIFO reaches this level, (or the FIFO contains at least one complete packet) the EN5030A will transmit this packet.
000000 = 8 bytes
These fields count from 000001 to 111111 in unit of 32 bytes.
This threshold must be avoided to exceed 2K byte.
友訊:
Transmit Threshold
128~1024 bytes / Store and Forward
NIC TX FIFO 收到多少個bytes的data之後,會開始將這些data從TX FIFO丟到線上,因為VT86C100A 之TX FIFO 只有2K bytes,儘快將data丟到線上,performance 會比較好.
Transmit store and forward 是指 :
當一個完整的packet都被收進到TX FIFO 中, 才將data 丟到線上

**若希望performance 好: 設 RX/TX threshold 小, DMA Burst Length 大
**若希望stable或適用所有機器:設 RX/TX threshold 大, DMA Burst Length 小且RX/TX buffers 多

akiza
2002-11-12, 03:40 AM
early tx threshold的大小應該會影響到傳輸的穩定....

剛剛愈GOOGLE搜尋了一下國外的BBS (很遺憾,國內的搜尋不到幾篇..@@)

國外有不少網友遇到 8139 傳送大量資料狂LOSS封包的做法就是調大

early tx threshold 值 設為 16~32 ( 512B~1KB)

這樣可以大幅提升8139 傳送大量檔案的穩定....

手邊有兩台8139的網友可以試試看...

akiza
2002-11-12, 08:11 PM
對了...國內到底有哪家廠商在做8139c+ 的卡阿?

找了很久都找不到...@@

如果有的話..拿來做中低階的SERVER用卡 應該不錯用吧..^^

(前提是 廠商別再偷料了...@@ )