Hey folks,

Just a quick update here:

On Mon, 2007-11-19 at 15:54 +0000, Tim Foster wrote:
> >    I feel it is a ZFS thingy combined with the small 110MB available RAM 
> > after the microroot grabs it's share. I think doing the install to UFS will 
> > be a good test.
> 
> Okay, I'll give it a go whenever I get time. (the system's useless at
> the moment, so this is in my best interests :-)

I booted the system from the Indiana cd into text mode, added a 512mb
swap device, then for both UFS and ZFS did the following:

1. created a new zfs/ufs filesystem (on a new pool, for ZFS)
2. ftp the solaris.zlib file from a remote machine to the ufs/zfs
filesystem (for zfs, I left it in the top level pool)
3. lofiadm'd the zlib file, and mounted it
4. cd /mnt/fs ; find . | cpio -pvdum /<ufs|zfs>

For UFS, I was able to repeat step 4 twice, copying the data to a second
subdirectory under the UFS directory the 2nd time.

For ZFS, we wrote about 200mb before starting to swap wildly.


I had kmdb loaded both times, and for UFS saw that ::memstat was
reporting only about 70mb in use by the kernel, with 97mb being used
when doing the experiment with ZFS.

Interestingly along the way, I hit a kernel heap corruption panic when
running ZFS - http://bugs.opensolaris.org/view_bug.do?bug_id=6632145
(assuming it shows up on bugs.opensolaris.org, it isn't there right now)

For ZFS, when the system had been swapping for a while, I dropped to
kmdb and took a system dump[1], which is available at:
http://mediacast.sun.com/details.jsp?id=3988


My next steps, will be to try coping the files over NFS, to both UFS and
ZFS on the Indiana system (to see if taking lofi out of the picture has
any effect) and otherwise, try messing about with some ZFS Evil
Tunings[2] to see if I can limit the amount of memory ZFS uses.

        cheers,
                        tim

[1] Some stuff from the core:

> ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                      24876                97   39%
Anon                          109                 0    0%
Exec and libs                   4                 0    0%
Page cache                      8                 0    0%
Free (cachelist)              204                 0    0%
Free (freelist)             37852               147   60%

Total                       63053               246
Physical                    63052               246

> ::arc ! grep MB
p                         =         6 MB
c                         =        64 MB
c_min                     =        64 MB
c_max                     =       184 MB
size                      =        18 MB
arc_tempreserve           =         0 MB
arc_meta_used             =        15 MB
arc_meta_limit            =        46 MB
arc_meta_max              =        15 MB

[2] http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide


-- 
Tim Foster, Sun Microsystems Inc, Solaris Engineering Ops
http://blogs.sun.com/timf


Reply via email to