Hey all -

Just a quick one...

Is there any plan to update the mdb ::memstat dcmd to present ZFS 
buffers as part of the summary?

At present, we get something like:
 > ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                      28859               112   13%
Anon                        34230               133   15%
Exec and libs               10305                40    5%
Page cache                  16876                65    8%
Free (cachelist)            26145               102   12%
Free (freelist)            105176               410   47%
Balloon                         0                 0    0%

Total                      221591               865

Which just (as far as I can tell) includes the zfs buffers in Kernel memory.

And what I'd really like is:

 > ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                      28859               112   13%
Anon                        34230               133   15%
Exec and libs               10305                40    5%
Page cache                  16876                65    8%
Free (cachelist)            26145               102   12%
Free (zfscachelist)       1827346              1700   xx%
Free (freelist)            105176               410   47%
Balloon                         0                 0    0%

Total                      221591               865

Which then represents the pages that *could* be freed up by ZFS in the 
event that they are needed for other purposes...

Any thoughts on this? Is there a great reason why we cannot do this?

Also - Other utilities like vmstat, etc that print out memory...

Thoughts on those guys and the way they treat the ufs buffers versus the 
zfs buffers?

Cheers!

Nathan.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to