> We are running Solaris 10 11/06 on a Sun V240 with 2
> CPUS and 8 GB of memory. This V240 is attached to a
> 3510 FC that has 12 x 300 GB disks. The 3510 is
> configured as HW RAID 5 with 10 disks and 2 spares
> and it's exported to the V240 as a single LUN.
> 
> We create iso images of our product in the following
> way (high-level):
> 
> # mkfile 3g /isoimages/myiso
> # lofiadm -a /isoimages/myiso
> /dev/lofi/1
> # newfs /dev/rlofi/1
> # mount /dev/lofi/1 /mnt
> # cd /mnt; zcat /product/myproduct.tar.Z | tar xf -
> 
> and we finally use mkisofs to create the iso image.
> 

> 
> ZFS performance
> ---------------------
> When we create a ZFS file system on the above LUN and
> create the iso it takes forever it seems to be
> hanging in the tar extraction (we killed this after a
> while i.e. > few hours).

That's probably bug 6382683 "lofi is confused about sync/async I/O",
and AFAIK it's fixed in current opensolaris releases.

See the thread with subject "bad lofi performance with zfs file backend /
bad mmap write performance"  from january / february 2006:

http://mail.opensolaris.org/pipermail/zfs-discuss/2006-January/016450.html
http://mail.opensolaris.org/pipermail/zfs-discuss/2006-February/016566.html

Possible workaround:
Create a 3gb zvol device, and use that instead of a 3gb file + lofi.

Or use something like this:

  zfs create tank/myiso
  cd /tank/myiso
  cat /product/myproduct.tar.Z | tar xf -
  mkisofs ...
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to