hns - 日記自動生成システム - Version 2.19.9

先月 2002年04月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2002年04月15日(月) 旧暦 [n年日記]

#1 [NetBSD] RealTek 8139

やはりかにさん印は使ってはいけないのかなぁ。 sys/dev/ic/rtl81x9.c (1.40) より、
The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is probably the worst PCI ethernet controller ever made, with the possible exception of the FEAST chip made by SMC . The 8139 supports bus-master DMA, but it has a terrible interface that nullifies any performance gains that bus-master DMA usually offers.

「もしかしたら SMC は例外かも知れないが、史上最悪の PCI Ethernet controller」

It's impossible given this rotten design to really achieve decent performance at 100Mbps, unless you happen to have a 400Mhz PII or some equally overmuscled CPU to drive it.

この腐った設計では、 100Mbps の性能を本当に出すには 400MHz PII か同等品以上が必要

ipnat の問題は RealTek とは無関係:

DEC 21140 に変えて見たが、同じ。
tty00:root@gw  9:40:30/020415(~)# ipnat -v -f /etc/ipnat.conf
map tlp2 192.168.90.0/24  -> 210.145.40.113/32 
map tlp2 192.168.90.0/24  -> 210.145.40.113/32  proxy port ftp ftp/tcp
map tlp2 192.168.90.0/24  -> 210.145.40.113/32  portmap tcp/udp 10000:40000

tty00:root@gw  9:40:39/020415(~)# ipnat -l
List of active MAP/Redirect filters:
unknown value for in_redir: 0
  0.0.0.0/0  -> 0.0.0.0/0 

List of active sessions:
kmemcpy:lseek: Undefined error: 0
??? 0.0.0.0         65535 <- -> 0.0.0.0         65535 [0.0.0.0 65535]
port-alpha で 03/03 に 同じような問題を報告している人がいる (NetBSD alpha 1.5ZA NetBSD 1.5ZA) 答え
Thats the usual problem after a new ipf version was imported.
You really need to install the new ipf and ipnat programms for using the new kernel.
ガーン。確かに古いかも。
macppc/snapshot/20020407-1.5ZC/ を入れることにしよう。(ftpmirror 転送 2h04m/62M = 500k/分, 8.3k/秒)
disk が溢れてしまったので区画からやり直し。64M+64M+220M=348M
という訳で、この NAT の問題は解決。何とか新しい router になれた気がする

#2 [NetBSD] router のまとめ。

2001/11/19 3000/200 を router にする (1.5.2)
                       ep0 + de0 + de1
2002/04/11 3000/180 を 20020116/同じ src + pppoe で IPv6 router に
                       (RealTek で netatalk で -seed  出来ない (?))
                       ep0 + rtk0 + rtk1
2002/04/14 3000/200 20020114 + snap-020328kernel
                       rtk0 + tlp0 + tlp1  DEC にして見ると、
                    AppleTalk は動いたが、 NAT に問題
2002/04/15 3000/200 20020114 + snap-020328kernel
                       tlp1 + tlp0 + tlp2 全て DEC にしても
                    NAT 問題解決せず。
2002/04/15 3000/200 に 20020407-1.5ZC 
                    +snap-020328 kernel を入れて稼動開始
/etc/sysctl.conf の変更を最後に忘れてしまって気が付くのに時間がかかる。 (その他に変更するものの一覧) 一つ RealTek に戻すという選択はあるが、止めておこう。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)