top tells me:
last pid: 64807; load averages: 0.99, 0.97, 0.92 up 189+04:47:22 09:16:17 45 processes: 1 running, 44 sleeping CPU: 0.4% user, 0.0% nice, 0.2% system, 6.4% interrupt, 93.0% idle Mem: 222M Active, 2151M Inact, 2008M Wired, 823M Buf, 3499M Free Swap: 8192M Total, 8192M Free
Munin shows a this a little more clearly:
As you can see, the server has around 8GB of ram. I wondering if I can cram this beast into a more modest 2GB server. Now I know what active and buffers mean, I think. But I am really concerned about the "wired" and "inactive" blobs of memory. Those do not map to any existing process as far as I know.
Note how the green "active" line went up in December: that's when we started using a BGP daemon on this router. I don't exactly understand what happened in April and May, but I remember doing a system upgrade and switching to pkgng around that time.
Here's the spare router for the first one, with less ram (4GB):
It seems this one lives perfectly well with half the RAM and still leaves around 2GB free, which leads me to believe I could switch to a 2GB box for this server, lowering costs and maintenance...
Any suggestions? What do the various memory counters shown in top mean? More specifically, what does:
...really mean? I have found some posts explaining bits of the VM subsystem works, and I remember having a "ah-ah!" moment understanding all of this about 12 years ago, but I forgot. :) Even the faithful FreeBSD handbook failed to answer my question...
Can I downgrade to 2GB?