Darren Reed writes:
 > grant beattie wrote:
 > 
 > >On Tue, Jun 27, 2006 at 10:14:06AM +0200, Patrick wrote:
 > >
 > >  
 > >
 > >>Hi,
 > >>
 > >>I've just started using ZFS + NFS, and i was wondering if there is
 > >>anything i can do to optimise it for being used as a mailstore ? (
 > >>small files, lots of them, with lots of directory's and high
 > >>concurrent access )
 > >>
 > >>So any ideas guys?
 > >>    
 > >>
 > >
 > >check out this thread, which may answer some of your questions:
 > >
 > >    http://www.opensolaris.org/jive/thread.jspa?messageID=40617
 > >
 > >sounds like your workload is very similar to mine. is all public
 > >access via NFS?
 > >
 > >also, check out this blog entry from Roch:
 > >
 > >    http://blogs.sun.com/roller/page/roch?entry=the_dynamics_of_zfs
 > >
 > >for small file workloads, setting recordsize to a value lower than the
 > >default (128k) may prove useful.
 > >  
 > >
 > 
 > So what about for software development (like Solaris :-) where
 > we've got lots of small files that we might be editting (biggest
 > might be 128k) but when it comes time to compile, we can be
 > writing out megabytes of data.

Small files are stored in small records so we should be fine
for   that.  The  recordsize    (would   be  better    named
max_recordsize)   is  the size    of   records (I call   them
Filesystem blocks) when files gets to be larger than
recordsize. Smaller files are stored as single records
(in increment of disk sectors).


-r

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

Reply via email to