to among
(1)这个动态view,设置2M cache是否合适? \
(2)另外view server有16G内存,从下面getcache -mvfs得到的结果来看,这个设置是否合理? (开发环境,同时会有近100_150个动态view在工作.)
$ ct getcache -view myview
Lookup cache: 100% full, 3346 entries (165.6K), 655198 requests, 60% hits
Readdir cache: 62% full, 756 entries (506.7K), 255771 requests, 28% hits
Fstat cache: 100% full, 3534 entries (483.2K), 1060565 requests, 95% hits
Object cache: 100% full, 3534 entries (579.9K), 848705 requests, 87% hits
Total memory used for view caches: 1735.3Kbytes
The current view server cache limits are:
Lookup cache: 169632 bytes
Readdir cache: 838860 bytes
Fstat cache: 494760 bytes
Object cache: 593712 bytes
Total cache size limit: 2097152 bytes
________________________________________
VIew Server
$ ct getcache -mvfs -short
Mnodes: (active/max) 354/45056 (0.786%)
Mnode freelist: 165/9912 (1.665%)
Cltxt freelist: 10/9912 (0.101%)
DNC: Files: 25/12800 (0.195%)
Directories: 54/3200 (1.688%)
ENOENT: 145/12800 (1.133%)
RPC handles: 2/160 (1.250%)
Current MVFS cache enable settings:
Attribute cache: enabled
Close-to-open revalidation: enabled
Name cache: enabled
Readlink cache: enabled
Root version cache: enabled
VOB freelist low-water mark: 8920
Cleartext freelist low-water mark: 9400
Readdir block cache size: 6
MVFS scaling factor: 15