On Sun, 2009-07-12 at 16:38 -0500, Bob Friesenhahn wrote:
> In order to raise visibility of this issue, I invite others to see if 
> they can reproduce it in their ZFS pools.  The script at
> 
> http://www.simplesystems.org/users/bfriesen/zfs-discuss/zfs-cache-test.ksh

Here's the results from two machines, the first has 12x400MHz US-II
CPUs, 11GB of RAM and the disks are 18GB 10krpm SCSI in a split D1000:

System Configuration:  Sun Microsystems  sun4u 8-slot Sun Enterprise
4000/5000
System architecture: sparc
System release level: 5.11 snv_101
CPU ISA list: sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 
sparcv8-fsmuld sparcv7 sparc

Pool configuration:
  pool: space
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the
errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed after 0h22m with 0 errors on Mon Jul 13 17:18:55
2009
config:

        NAME         STATE     READ WRITE CKSUM
        space        ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c0t3d0   ONLINE       0     0     0
            c2t11d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c0t2d0   ONLINE       0     0     0
            c2t10d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c0t4d0   ONLINE       0     0     0
            c2t12d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c0t5d0   ONLINE       0     0     0
            c2t13d0  ONLINE       1     0     0  128K repaired

errors: No known data errors

zfs create space/zfscachetest
Creating data file set (3000 files of 8192000 bytes) under /space/zfscachetest 
...
Done!
zfs unmount space/zfscachetest
zfs mount space/zfscachetest

Doing initial (unmount/mount) 'cpio -C 131072 -o > /dev/null'
48000256 blocks

real    11m40.67s
user    0m20.32s
sys     5m27.16s

Doing second 'cpio -C 131072 -o > /dev/null'
48000256 blocks

real    31m29.42s
user    0m19.31s
sys     6m46.39s

Feel free to clean up with 'zfs destroy space/zfscachetest'.

The second has 2x1.2GHz US-III+, 4GB RAM and 10krpm FC disks on a single
loop.

System Configuration:  Sun Microsystems  sun4u Sun Fire 480R
System architecture: sparc
System release level: 5.11 snv_97
CPU ISA list: sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis2 sparcv8plus+vis 
sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc

Pool configuration:
  pool: space
 state: ONLINE
 scrub: none requested
config: 

        NAME         STATE     READ WRITE CKSUM
        space        ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t34d0  ONLINE       0     0     0
            c1t48d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t35d0  ONLINE       0     0     0
            c1t49d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t36d0  ONLINE       0     0     0
            c1t51d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t33d0  ONLINE       0     0     0
            c1t52d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t38d0  ONLINE       0     0     0
            c1t53d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t39d0  ONLINE       0     0     0
            c1t54d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t40d0  ONLINE       0     0     0
            c1t55d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t41d0  ONLINE       0     0     0
            c1t56d0  ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c1t42d0  ONLINE       0     0     0
            c1t57d0  ONLINE       0     0     0
        logs         ONLINE       0     0     0
          c1t50d0    ONLINE       0     0     0

errors: No known data errors

zfs create space/zfscachetest
Creating data file set (3000 files of 8192000 bytes) under /space/zfscachetest 
...
Done!
zfs unmount space/zfscachetest
zfs mount space/zfscachetest

Doing initial (unmount/mount) 'cpio -C 131072 -o > /dev/null'
48000256 blocks

real    5m45.66s
user    0m5.63s
sys     1m14.66s

Doing second 'cpio -C 131072 -o > /dev/null'
48000256 blocks

real    15m29.42s
user    0m5.65s
sys     1m37.83s

Feel free to clean up with 'zfs destroy space/zfscachetest'.

James Andrewartha

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

Reply via email to