On Thu, 2008-04-24 at 09:46 -0700, Rick wrote: > Recently I've installed SXCE nv86 for the first time in hopes of getting rid > of my linux file server and using Solaris and ZFS for my new file server. > After setting up a simple ZFS mirror of 2 disks, I enabled smb and set about > moving over all of my data from my old storage server. What I noticed was the > dismal performance while writing. I have tried to find information regarding > performance and possible expectations, but I've yet to come across anything > with any real substance that can help me out. I'm sure there is some guide on > tuning for CIFS, but I've not been able to locate it. The write speeds for > NFS described in this post > http://opensolaris.org/jive/thread.jspa?threadID=55764&tstart=0 made me want > to look into NFS. However, after disabling sharing, turning off smb, enabling > NFS, and sharing the pool again I see the same if not worse performance on > write speeds (ms windows SFU may be partially to blame, so I've gone back to > learning how to fix smb instead of learnin g > and tweaking NFS). > > What I'm doing is mounting the smb share with WinXP and pulling data from the > ZFS mirror pool at 2.3MiB/s across the network. Writing to the same share > from the WinXP host I get a fairly consistent 342KiB/s speed. > > Copying data locally from an IDE drive to the zpool mirror (2 SATAII drives) > I get much faster performance. As I do with copying data from one zpool > mirror (1 SATA1 drive and 1 SATAII drive) to another zpool mirror (2 SATAII > drives) on the same host. I'm not sure on performance numbers but it takes > *substantially* less time to transfer. > > The research I've done thus far indicates that I've got to use a file that's > double the size of my ram to ensure that caching doesn't skew the results. So > these tests are all done with an 8GB file. > > I would imagine that write speeds and read speeds across the network should > be much closer. At this point, I'm assuming that I'm doing something wrong > here. Anyone want to let me know what I'm missing? > > rick >
What performance are you getting with transfers over other protocols, e.g. SCP with Putty? Have you tried using a different network card? If you are getting bad one-way performance with file copies your network stack may be a culprit - check that your NIC is operating in full-duplex mode (methods to check this are card-dependent, but may well involve ndd(1M)). Chris _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss