On Feb 21, 2010, at 9:18 AM, Tomas Ögren wrote: > On 21 February, 2010 - Felix Buenemann sent me these 0,7K bytes: > >> Am 20.02.10 03:22, schrieb Tomas Ögren: >>> On 19 February, 2010 - Christo Kutrovsky sent me these 0,5K bytes: >>>> How do you tell how much of your l2arc is populated? I've been looking for >>>> a while now, can't seem to find it. >>>> >>>> Must be easy, as this blog entry shows it over time: >>>> >>>> http://blogs.sun.com/brendan/entry/l2arc_screenshots >>>> >>>> And follow up, can you tell how much of each data set is in the arc or >>>> l2arc? >>> >>> kstat -m zfs >>> (p, c, l2arc_size) >>> >>> arc_stat.pl is good, but doesn't show l2arc.. >> >> zpool iostat -v <poolname> would also do the trick for l2arc. > > No, it will show how much of the disk has been visited (dirty blocks) > but not how much it occupies right now. At least very obvious difference > if you add a zvol as cache.. > > If it had supported TRIM or similar, they would probably be about the > same though.
Don't confuse the ZIL with L2ARC. TRIM will do little for L2ARC devices. -- richard ZFS storage and performance consulting at http://www.RichardElling.com ZFS training on deduplication, NexentaStor, and NAS performance http://nexenta-atlanta.eventbrite.com (March 15-17, 2010) _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss