From owner-freebsd-questions@FreeBSD.ORG Mon Feb 16 17:18:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4B8B1065688 for ; Mon, 16 Feb 2009 17:18:04 +0000 (UTC) (envelope-from jon@witchspace.com) Received: from queueout03-winn.ispmail.ntl.com (queueout03-winn.ispmail.ntl.com [81.103.221.33]) by mx1.freebsd.org (Postfix) with ESMTP id 20CC68FC1B for ; Mon, 16 Feb 2009 17:18:03 +0000 (UTC) (envelope-from jon@witchspace.com) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090216165637.FTAO7670.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Mon, 16 Feb 2009 16:56:37 +0000 Received: from witchspace.com ([82.15.251.148]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with SMTP id <20090216165634.EROG2093.aamtaout03-winn.ispmail.ntl.com@witchspace.com> for ; Mon, 16 Feb 2009 16:56:34 +0000 Received: (qmail 68985 invoked from network); 16 Feb 2009 16:56:43 -0000 Received: from unknown (HELO ?127.0.0.1?) (192.168.0.1) by dookie.home with SMTP; 16 Feb 2009 16:56:43 -0000 Message-ID: <49999AA2.9060306@witchspace.com> Date: Mon, 16 Feb 2009 16:56:02 +0000 From: Jonathan Belson User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.0 c=1 a=Om6UiTVdDNYA:10 a=IjGrbkjIAAAA:8 a=uVOsG2otCXWbvi4Gp1wA:9 a=7yY_QUlo3RpJOFT5WeF5ir-OuqsA:4 a=50e4U0PicR4A:10 Subject: Performance problem with samba/zfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 17:18:05 -0000 Hiya I export a few samba shares from a FreeBSD amd64 server and I've been editing text files on one of the shares via a Windows box. This /usually/ works fine, but occasionally I'll get a pause of several seconds when I save back a modified file. No errors are generated on the server, but it causes the smbd process takes a few % of available cpu time, according to top. Could this be due to the infamous seekdir/seekdir issue between samba and FreeBSD? Some of the directories do contain hundreds of files. This post suggests it has been fixed though: http://www.vnode.ch/fixing_seekdir The server is running -STABLE ('FREEBSD 7.1-PRERELEASE'), as built on 2008/09/08. The file system is zfs. I'm using samba 3.0.34,1, built from ports. Any ideas, anyone? Cheers, --Jon