From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dilger Subject: Re: Samba speed Date: Mon, 08 Dec 2008 16:37:01 -0800 Message-ID: <20081209003701.GE16818@webber.adilger.int> References: <20081208182114.GD29163@samba1> <20081208223924.GB2501@mit.edu> <20081208231233.GK29163@samba1> <20081208233802.GD2501@mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Cc: Jeremy Allison , samba-technical@samba.org, linux-fsdevel , linux-cifs-client@lists.samba.org To: Theodore Tso Return-path: Received: from sca-es-mail-2.Sun.COM ([192.18.43.133]:64019 "EHLO sca-es-mail-2.sun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753784AbYLIAhR (ORCPT ); Mon, 8 Dec 2008 19:37:17 -0500 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id mB90b3ks005437 for ; Mon, 8 Dec 2008 16:37:04 -0800 (PST) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0KBL002012XG0100@fe-sfbay-10.sun.com> (original mail from adilger@sun.com) for linux-fsdevel@vger.kernel.org; Mon, 08 Dec 2008 16:37:03 -0800 (PST) In-reply-to: <20081208233802.GD2501@mit.edu> Content-disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Dec 08, 2008 18:38 -0500, Theodore Ts'o wrote: > On Mon, Dec 08, 2008 at 03:12:33PM -0800, Jeremy Allison wrote: > > > > Turns out that ext4 doesn't suffer from the slowdown in the > > first place. The paper is extremly interesting, I'm looking > > at the implications for our default settings (most users > > are still using Samba on ext3 on Linux). > > I thought the paper only talked about ext3, and theorized that delayed > allocation in ext4 might be enough to make the problem go away, but > they had not actually done any measurements to confirm this > supposition. Has there been any more recent benchmarks comparing > ext3, ext4, and XFS running Samba serving Windows clients? It wouldn't be a bad idea to use this hint in the kernel to call fallocate(), given the fact that this is used by a number of apps (i.e. all of them) that predate fallocate(). Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.