tech-kern archive

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

Kernel Single-user Memory usage breakdown results and tools posted in the NetBSD WIKI


We conducted an investigation into the inner workings of the NetBSD
kernel to find out who is actually reserving memory and what for. We
hooked into the malloc() and kmalloc() calls to find the specific
information that appears not to be available in any other way, and
compiled a report to clarify which parts are major influences in the
memory footprint. We used a single-user configuration with small pool
sizes and reached a tracked footprint just below 2 megabytes, whereas a
multi-user boot with large pool sizes comes out almost double that size.

But to the point, you can find the results and a brief description of
our methods along with source code behind the following link

Best regards,
Juha Keski-Saari

Home | Main Index | Thread Index | Old Index