netstat(8) GEN and per-CPU caches

Giovanni P. Tirloni gpt at tirloni.org
Fri Nov 14 05:42:59 PST 2003


Hi,

 When is the GEN cache used ? My desktop machine never has mbufs in the
 GEN pool but some other machine (acting as gateways in
 small/medium-sized networks) do have them.

 DESKTOP (no load at all)

 mbuf usage:
        GEN cache:      0/0 (in use/in pool)
        CPU #0 cache:   1/128 (in use/in pool)
        Total:          1/128 (in use/in pool)

 mbuf cluster usage:
        GEN cache:      0/0 (in use/in pool)
        CPU #0 cache:   0/120 (in use/in pool)
        Total:          0/120 (in use/in pool)

 
 GATEWAY (12 machines, kind of loaded)

 mbuf usage:
        GEN cache:      0/32 (in use/in pool)
        CPU #0 cache:   3/512 (in use/in pool)
        Total:          3/544 (in use/in pool)

 mbuf cluster usage:
        GEN cache:      0/0 (in use/in pool)
        CPU #0 cache:   0/88 (in use/in pool)
        Total:          0/88 (in use/in pool)


 GATEWAY (30 machines)

 mbuf usage:
        GEN cache:      0/0 (in use/in pool)
        CPU #0 cache:   2/256 (in use/in pool)
        Total:          2/256 (in use/in pool)

 mbuf cluster usage:
        GEN cache:      0/56 (in use/in pool)
        CPU #0 cache:   0/128 (in use/in pool)
        Total:          0/184 (in use/in pool)

 Thanks in advance,

 --
 Giovanni P. Tirloni <gpt at tirloni.org>
 Fingerprint: 8C3F BEC5 79BD 3E9B EDB8  72F4 16E8 BA5E D031 5C26


More information about the freebsd-hackers mailing list