How are the cache memory allocated in 8.x? | |
current/cache/total/max) current - used by application. (total/max) * 100 = 50.91837506%
*** 306522/602898/909420/1786035 mbufs in use (current/cache/total/max)
cache memory = "frame count" * 2.25KB
For example, a box has 8GB of total memory, 2GB is allocated for cache. Here is how these numbers translate into cache frames.
Each cache frame is 2.25KB. With 2GB of cache, it is equal to 900K cache frames.
Number of cache frames * 2.25KB = Cache memory in used
Max cache frames and memory:
Max Number of cache frames: 900000
900K * 2.25KB = 2GB
Threshold when cache drain routine kicks in. The drain threshold is 3/4 * Max cache memory.
Number of cache frames: 650000
650K * 2.25kB = 1.46GB
System Memory 4 GB 4 GB 8 GB 16 GB 16 GB 32 GB 32 GB 32 GB 32 GB
Cache Size 1 GB 1 GB 2 GB 4 GB 4 GB 8 GB 8 GB 8 GB 8 GB root 19422 8.1 1.0 849436 77024 ?? D 15Oct12 565:07.28 /ca/bin/cache
-D stands for process in disk, it may be some memory of cache ( not read/write for a long time) already swapped to disk.
|