set parameter を楽にセットする方法

BorderManager Proxy and Cache Performance and Tuning

こんなドキュメントを読むと、 Set Parameters って設定するの面倒だなぁって思いませんか?
Native NetWare の場合 Monitor > Server Parameters から設定できるのですが、項目を見つけるのがメチャクチャ大変で、また設定した内容が NetWare レジストリに格納されてしまうため、レジストリが壊れた場合、全部やり直しになってしまうことがあります。もちろん、 NetWare 6.5 の場合 Remote Manager から実施できるということは知っていて損はないのですが、正直面倒。

できれば autoexec.ncf に書いておきたい。

書いておきたいのは山々なんだけど、実行結果を確認するため再起動が必要だ。

ということでセットパラメタはバッチファイルに書いておくのが一番楽だということです。

一度書いてしまい : FSsetprm.ncf を実行して結果を確認して、問題なければ autoexec.ncf に追加しておしまいです。もちろんバッチファイルは sys:system\FSsetprm.ncf としてテキスト保存しましょう。

サーバーのチューニングで似た性格のサーバが必要な場合も、コピーするだけですからね。こういった点は個別にクリックして設定が必要なウィンドウズと大違いです。

-----------------------------------------------------
File Server 系チューニング FSsetprm.ncfの例

SET Maximum Packet Receive Buffers = 8000
SET client file caching enabled = OFF
SET New Packet Receive Buffer Wait Time = 0.1 seconds
SET Minimum Directory Cache Buffers = 4000
SET Maximum Directory Cache Buffers = 8000
SET Maximum Concurrent Disk Cache Writes = 100
SET Dirty Disk Cache Delay Time = 0.1
SET Minimum Service Processes = 500
SET Maximum Service Processes = 1000
SET New Service Process Wait Time = 0.3 seconds
SET Allow Unencrypted Passwords=OFF
SET TCP Defend Land Attacks = ON
SET Directory Cache Buffer NonReferenced Delay = 60 min
SET Dirty Directory Cache Delay Time = 0.5 seconds
SET Read Ahead Enabled = ON
SET Read Ahead LRU Sitting Time Threshold = 60 seconds
SET Maximum Record Locks Per Connection =100000
Set Maximum File Locks Per Connection =10000
SET Maximum File Locks = 500000
SET Maximum Record Locks = 100000
SET STORE NetWare 5 Conn SCL MLA Usage in NDS =OFF
SET NLS Search Type = 1
SET Maximum Concurrent Disk Cache Writes = 1000
SET Volume Low Warning Reset Threshold = 2048
SET Volume Low Warning Threshold = 2048
SET Directory Cache Allocation Wait Time = 0.1
SET Directory Cache Allocation Wait Time = 0.5 seconds
SET maximum number of internal directory handles = 900
SET maximum number of directory handles = 700


-----------------------------------------------------
GroupWise 系サーバのチューニング GWsetprm.ncfの例

SET Maximum Packet Receive Buffers = 8000
SET Maximum Concurrent Disk Cache Writes = 1000
SET Maximum Directory Cache Buffers = 8000
SET Minimum Directory Cache Buffers = 2000
SET Minimum Service Processes = 500
SET Maximum Service Processes = 1000
SET Directory Cache Buffer NonReferenced Delay = 30
SET Read Ahead Enabled = ON
SET Read Ahead LRU Sitting Time Threshold = 60 seconds
SET Maximum File Locks = 20000
SET Maximum Record Locks = 100000
SET New Service Process Wait Time = 0.3 seconds
SET New Packet Receive Buffer Wait Time = 0.1 seconds
SET TCP Defend Land Attacks = OFF
SET client file caching enabled = OFF
SET Dirty Disk Cache Delay Time=0.1
SET Dirty Directory Cache Delay Time=0.1
SET Directory Cache Buffer NonReferenced Delay = 60 min
SET STORE NetWare 5 Conn SCL MLA Usage in NDS =OFF
SET NLS Search Type = 1
SET Maximum Concurrent Disk Cache Writes = 1000
SET Volume Low Warning Reset Threshold = 2048
SET Volume Low Warning Threshold = 2048
SET Directory Cache Allocation Wait Time = 0.1
SET maximum number of internal directory handles = 900
SET maximum number of directory handles = 700

-------------------------------------
BorderManager のも作ってみました。 BMsetprm.ncf

set Maximum Physical Receive Packet Size = 4224
set Maximum Packet Receive Buffers = 10000
set Minimum Packet Receive Buffers = 5000
set New Packet Receive Buffer Wait Time = 0.1 sec
set Maximum Interrupt Events = 50
set Garbage Collection Interval = 5
set Read Ahead Enabled = on
set Maximum Concurrent Disk Cache Writes = 750
set Dirty Disk Cache Delay Time = 0.1 sec
set Dirty Directory Cache Delay Time = 0.1 sec
set Maximum Concurrent Directory Cache Writes = 125
set Directory Cache Allocation Wait Time = 0.1 sec
set Directory Cache Buffer NonReferenced delay = 30 min
set Minimum Directory Cache Buffers = 1000
set Maximum Directory Cache Buffers = 4000
set Maximum Number of Internal Directory Handles = 500
set Immediate Purge of Deleted Files = on
set Enable File Compression = off
set Maximum File Locks = 100000
set Enable Hardware Write Back = on
set Enable Disk Read After Write Verify = off
set Worker Thread Execute In A Row Count = 15
set Pseudo Preemption Count = 200
set Minimum Service Processes = 500
set Maximum Service Processes = 950
set New Service Process Wait Time = 0.3 sec


非番のエンジニア
by islandcenter | 2007-02-01 16:37 | Native Netware | Comments(0)