PLIPCONFIG(8) PLIPCONFIG(8)
名前
plipconfig - PLIP デバイスのパラメータを微調整する
書式
plipconfig interface
plipconfig interface [nibble NN] [trigger NN] [unit NN]
説明
plipconfig は、 PLIP 制御のタイミングパラメータのデフォルト値を変更する
ことによって、 PLIP の性能を (できれば) 改善するために用いられる。結 果
はパラレルポートのハードウェア・ケーブル・PLIP 接続両端の各マシンにおけ
る CPU 速度などに依存する。
interface 引数をひとつだけ与えると、 plipconfig はそのインターフェー ス
の 状態を表示して終了する。その他の場合は、そのオプションを設定しようと
試みる。
オプション
nibble NN
nibble wait の値を設定する (マイクロ秒単位)。デフォルトは 3000。
trigger NN
trigger wait の値を設定する (マイクロ秒単位)。デフォルトは 500。
デフォルトの値から小さくすることによって、 PLIP の速度が改善されるこ と
がある。ただし小さくしすぎると CPU の負荷が大きくなり、割り込みに対する
反応時間が遅くなり、シリアルポートが文字を取りこぼしたり、 PLIP パケ ッ
トを取りこぼしたりする原因になる。 plip の MTU を変更することによっても
PLIP の速度は変化する。
注意
なんの反応もないときは、まず間違いなく IRQ の設定が正しくない。 ifcon-
fig を用いて正しく設定する必要がある。デフォルトのパラメータが速すぎる
ような場合もありうる。例えば非常に長いケーブルを使っているような場合 な
ど である。パラレルポートは長いケーブル接続ができるようには規格化・設計
されていないので、このような状況にはならないようにすべきである。
関連項目
ifconfig(8)
バグ
ない。
著者
John Paul Morrison,
PLIPCONFIG(8) PLIPCONFIG(8)
NAME
plipconfig - fine tune PLIP device parameters
SYNOPSIS
plipconfig interface [nibble NN] [trigger NN]
plipconfig [-V] [--version] [-h] [--help]
DESCRIPTION
Plipconfig is used to (hopefully) improve PLIP performance by changing
the default timing parameters used by the PLIP protocol. Results are
dependent on the parallel port hardware, cable, and the CPU speed of
each machine on each end of the PLIP link.
If the single interface argument is given, plipconfig displays the sta-
tus of the given interface only. Otherwise, it will try to set the
options.
OPTIONS
nibble NN
Sets the nibble wait value in microseconds. Default is 3000.
trigger NN
Sets the trigger wait value in microseconds. Default is 500.
PLIP speed can in some cases be improved by lowering the default val-
ues. Values which are too low may cause excess use of CPU, poor inter-
rupt response time resulting in serial ports dropping characters, or in
dropping of PLIP packets. Changing the plip MTU can also affect PLIP
speed.
NOTE
If you get no response it is far more likely the irq is wrong and needs
setting with ifconfig. The few cases where the default parameters will
be too fast are those using very long cables. Something you should
never do as the parallel port is not specified or designed for driving
long cable runs.
SEE ALSO
ifconfig(8)
BUGS
Non.
AUTHOR
John Paul Morrison,
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa