From owner-freebsd-fs@FreeBSD.ORG Wed Nov 3 23:38:17 2010 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFC6A106564A for ; Wed, 3 Nov 2010 23:38:17 +0000 (UTC) (envelope-from sarawgi.aditya@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 759FC8FC12 for ; Wed, 3 Nov 2010 23:38:17 +0000 (UTC) Received: by iwn39 with SMTP id 39so1278138iwn.13 for ; Wed, 03 Nov 2010 16:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=F6OJ+eWd3HX4ChCApyQwwfJIzvJjyWu7CnNkJWszYMk=; b=h+WOpdv2Jvbiy+IsW2885Jke/1Se9K4s543+dJMtrjgJ1+Ja7Hgruw0unu8nGs4/I2 u1eSZCxwjw5aVh12TT55uzQbQx0f0B53amsAH5iQQWMGx+E/2j6g99rZZMoHEzDw4okX faH3fQ67W1cPsaQO6o98YXl4ZYbC+NDQinTbc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=XGWHtGsCjItc5ppvTsH7AW8ZlZFRQO5D4MvuFBlfXSm1W8UD1hE2qnMyMy/8ZLXcJl FO8ohRvrmPJ6i0+IgZTump91O5bveRndsJoZwrEXETeLboiMbciSgAcCVQzw3DOGNEcg Bi8OQoDetHMZ92/f3YPMvkNYuJj/0/3Ff8ysY= MIME-Version: 1.0 Received: by 10.42.169.130 with SMTP id b2mr681321icz.403.1288827496805; Wed, 03 Nov 2010 16:38:16 -0700 (PDT) Received: by 10.231.253.81 with HTTP; Wed, 3 Nov 2010 16:38:16 -0700 (PDT) In-Reply-To: <4CD0A3E8.4080304@FreeBSD.org> References: <20100929031825.L683@besplex.bde.org> <20100929084801.M948@besplex.bde.org> <20100929041650.GA1553@aditya> <201009290917.05269.jhb@freebsd.org> <20100929202526.GA1564@aditya> <4CD0A3E8.4080304@FreeBSD.org> Date: Thu, 4 Nov 2010 05:08:16 +0530 Message-ID: From: Aditya Sarawgi To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: fs@freebsd.org Subject: Re: ext2fs now extremely slow X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 23:38:17 -0000 On Wed, Nov 3, 2010 at 5:21 AM, Doug Barton wrote: > On 09/29/10 13:25, Aditya Sarawgi wrote: >> >> [snip] >>>> >>>> I see what you are saying. The gap of 8 block between the files >>>> is due to the old preallocation which used to allocate additional >>>> 8 blocks in advance for a particular inode when allocating a block >>>> for it. The gap between blocks of the same file shouldn't be there >>>> too. Both of these cases should be removed. I will look into this >>>> during this week. The slowness is also due to lack of preallocation >>>> in the new code. >>> >>> One of the GSoC students worked on a patch to add preallocation back to >>> ext2fs this summer. =A0Would you be interested in reviewing and/or test= ing >>> that patch? =A0(I've attached it). =A0Here is his original e-mail: >> >> [snip] >> >> Hi John, >> >> I did a review of Zheng Liu's reservation window patch last week and >> I suggested him a few changes. Otherwise the code looks awesome. >> But it would be great if someone else can review the patch too and if >> everything goes well, we should merge this to HEAD. >> For the ext4 part, I still have to review his patches and I am planning >> to do it soon. Zheng is planning to have a separate module for ext4, >> and it does make sense. We are aiming at bringing ext4 to a usable state >> for 9-RELEASE (atleast read-only). > > Is anything happening with this? =A0I recently built a new system that is > multi-booting windows, freebsd, and ubuntu. I chose ext[23]fs for my /hom= e > partition so that I could share unix'y stuff between freebsd and linux, b= ut > I'm having both performance and stability problems, and today (fortunatel= y > for the first time, and fortunately recoverable) I had actual data loss. = I'm > happy to be a guinea pig for new code if people are reasonably sure that = it > will help, but if the situation doesn't improve I will have to reformat. > Are you suffering from these problems on CURRENT ? Can you please elaborate on the performance and stability issue you are facing ? Any specific scenar= io ? You can test Zheng's preallocation patch for ext2fs, there is a serious lack of testers for that. > On a related note, is there any way to use the journaling features of ext= 3fs > in FreeBSD? When I boot the linux partition it's treating the fs as ext3f= s, > but AFAICS we only have ext2fs capabilities. > Journaling is difficult to bring in, especially if one is planning to have a BSDL version. > FWIW, the reason I chose ext2fs is that linux doesn't have reliable r/w > support for ufs, and there are really good drivers to mount ext2fs > partitions in windows; which we also don't have for ufs. > > > Doug > > -- > > =A0 =A0 =A0 =A0Nothin' ever doesn't change, but nothin' changes much. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- OK Go > > =A0 =A0 =A0 =A0Breadth of IT experience, and depth of knowledge in the DN= S. > =A0 =A0 =A0 =A0Yours for the right price. =A0:) =A0http://SupersetSolutio= ns.com/ > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > --=20 Cheers, Aditya Sarawgi