First, all memory allocated by UMA and consequently malloc(9) is
wired. In other words, almost all memory used by kernel is accounted
as wired.

yes i understand this. still i found no way how to find out what allocated that much.


Second, the buffer cache wires the pages which are inserted into VMIO
buffers. So your observation is basically right, cached buffers means

what are exactly "VMIO" buffers. i understand that page must be wired WHEN doing I/O.
But i have too much wired memory even when doing no I/O at all.

that corresponding memory is removed from queues and put into wired
state. When buffers are dissolved, pages are unwired and deactivated.

This behaviour is in fact required by VFS, since you do expect to access
buffer data when you get the buffer.

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to