- 论坛徽章:
- 0
|
关于freebsd的内存管理问题。
没看过Faq吧? 现在像我这样喜欢阅读的人可是很少了。哎。
16.2. Why does top show very little free memory even when I have very few programs running?
The simple answer is that free memory is wasted memory. Any memory that your programs do not actively allocate is used within the FreeBSD kernel as disk cache. The values shown by top(1) labeled as Inact, Cache, and Buf are all cached data at different aging levels. This cached data means the system does not have to access a slow disk again for data it has accessed recently, thus increasing overall performance. In general, a low value shown for Free memory in top(1) is good, provided it is not very low.
这是我的,Up了32天。
Mem: 259M Active, 560M Inact, 132M Wired, 40M Cache, 112M Buf, 7060K Free
Swap: 500M Total, 500M Free |
|