[OpenIndiana-discuss] Slow zfs list on oi_148 compared to snv_111b

Christopher Chan christopher.chan at bradbury.edu.hk
Wed Jun 22 13:19:44 UTC 2011


On Friday, June 17, 2011 04:05 AM, Shawn Moore wrote:
> I have several(5) ZFS machines that have been built to serve out over
> NFS.  Most are OpenSolaris snv_111b, but we have two that are oi_148.
> Between these we have ~ 200 volumes and 221000 snapshots (as of this
> writing). On all of the oi_148's it takes a really really long time to
> list the snapshots, but on the snv_111b's it's really quick.  It does
> not appear to be related to the amount of data or hardware as the
> oi_148's have 144GB ram, 2x6 CPU's and even mirror'd SSD ZIL's.  The
> snv_111b's have 16GB ram, 2x4 CPU's and no SSD.  Any help or
> troubleshooting advice is greatly appreciated as I would like to move
> to OI for several reasons.  Below is my findings.
>

I concur for I have a similar problem but not with volumes. I have 
resorted to doing an ls for the .zfs/snapshot subdirectory of an 
representative fs which is much faster than getting zfs to list all 
snapshots. I have a bit more than 32k snapshots on a 9 disk raidz3, 16 
GB of RAM and 2x6 cpus.



More information about the OpenIndiana-discuss mailing list