Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 2010 05:08:16 +0530
From:      Aditya Sarawgi <sarawgi.aditya@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        fs@freebsd.org
Subject:   Re: ext2fs now extremely slow
Message-ID:  <AANLkTi=iTCG4aO-KO_gy7fp_96KcZ_TCyNk5OkLZUHV3@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 3, 2010 at 5:21 AM, Doug Barton <dougb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=iTCG4aO-KO_gy7fp_96KcZ_TCyNk5OkLZUHV3>