WAAS には以下の 2 つの cache があります。
- TCP flow の圧縮に使われる DRE cache
- CIFS 最適化で利用される CIFS file cache
それぞれの使用量の確認方法、クリア方法を紹介します。
DRE cache の確認方法:
CLI から "show statistics dre" コマンドを入力しすると、以下赤字の部分で使用量を確認することができます。
DRE cache の使用量が 100% になった場合、最も古い cache が削除され、新しい cache が追加されます。
WAE612-B#show statistics dre
Cache: Status: Usable, Oldest Data (age): 12h Total usable disk size: 116735 MB, Used: 0.42% Hash table RAM size: 417 MB, Used: 0.00%
Connections: Total (cumulative): 601 Active: 0
Encode: Overall: msg: 6203, in: 1389 KB, out: 993 KB, ratio: 28.55% DRE: msg: 5054, in: 1228 KB, out: 1064 KB, ratio: 13.34% DRE Bypass: msg: 1158, in: 161 KB LZ: msg: 5593, in: 1214 KB, out: 960 KB, ratio: 20.94% LZ Bypass: msg: 610, in: 11508 B Avg latency: 0.160 ms Delayed msg: 78 Encode th-put: 1400 KB/s Message size distribution: 0-1K=88% 1K-5K=11% 5K-15K=0% 15K-25K=0% 25K-40K=0% >40K=0% Decode: Overall: msg: 19630, in: 411 MB, out: 409 MB, ratio: 0.00% DRE: msg: 18749, in: 411 MB, out: 408 MB, ratio: 0.00% DRE Bypass: msg: 15760, in: 975 KB LZ: msg: 13366, in: 340 MB, out: 341 MB, ratio: 0.29% LZ Bypass: msg: 6264, in: 72906 KB Avg latency: 0.570 ms Decode th-put: 37480 KB/s Message size distribution: 0-1K=28% 1K-5K=10% 5K-15K=14% 15K-25K=7% 25K-40K=9% >40K=30% |
DRE cache のクリア方法:
DRE cache クリア時の注意点として、以下が挙げられます。
- 既存の最適化コネクションはすべて reset されます。
- Central Manager に Alarm が上がる場合があります。
- WAE 自身が再起動する場合があります。
CLI から "clear cache dre" を入力し、"Do you want to Continue?" の確認に "yes" を入力すると、DRE cache をクリアすることができます。
WAE612-B#clear cache dre TFO application needs to be restarted (all existing connections will be reset, alarms may be raised and system may reboot if required). Do you want to Continue? [yes/no]yes Restarting processes Clearing DRE cache Done. No reboot was required. |
CIFS cache の確認方法:
CLI から "show cifs cache disk-use" コマンドで cache 容量(byte)を表示し、"show cifs cache entry-count" コマンドで、cache resource 数を表示します。
WAE612-B#show cifs cache ? disk-use Total disk usage for CIFS cache entry-count Count of cached file and directory entries WAE612-B#show cifs cache disk-use 427528192 WAE612-B#show cifs cache entry-count 134 |
Centerl Manager から対象 WAE の Device GUI を開き、Cifs AO -> Monitoring で Cache タブを開いても確認できます。
Device GUI では、cache 容量、cache resource 数の上限を確認することができます。
CIFS cache のクリア方法:
CIFS cache クリア時の注意点として、以下が挙げられます。
- クリアを実施している間 CIFS AO での最適化が止まるため、既存の CIFS コネクションは reset されます。
- クリアを行っている間に新しく確立したコネクションは、cache クリア後も最適化されません。
CLI から "clear cache cifs" を入力し、"Are you sure you want to go ahead?" の確認に "y" を入力すると、CIFS AO が停止し、CIFS cache がクリアされ、その後 CIFS AO が再起動します。
WAE612-B#clear cache cifs The cifsao service will be stopped during this operation. Are you sure you want to go ahead? [y/n] y Stopping cifsao Process to search: CifsAO ... Removing cache Starting cifsao |