tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysstat mbufs hardcoded sizes



sysstat is hardcoded for mbufs to only go up to 60:

                    /0   /1   /2   /3   /4   /5   /6   /7   /8   /9   /10
     Load Average   |||

          /0   /5   /10  /15  /20  /25  /30  /35  /40  /45  /50  /55  /60
headers   XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 682
data      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 413

Not visually interesting.

I don't know what is a good modern value for hardcoded.

Or maybe it could look at initial mb->m_mtypes (all of them) to find some 
good value and then dynamically create that header in labelmbufs().

Any thoughts? Does it matter?


Home | Main Index | Thread Index | Old Index