Hi, I am using 2.6.36.3 kernel with btrfs, 512MB memory and a very slow disk, no special options for mounting btrfs except noatime. Now I found it very slow. When I rm a 5GB movie, it took 20 secs. -- 竹密岂妨流水过 山高哪阻野云飞 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tuesday 25 of January 2011 07:45:02 Magicloud Magiclouds wrote:> Hi, > I am using 2.6.36.3 kernel with btrfs, 512MB memory and a very slow > disk, no special options for mounting btrfs except noatime. Now I > found it very slow. When I rm a 5GB movie, it took 20 secs.try mounting with nodatacow and defragment the directory the file resides in Regards -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
So you were saying that, even an unlink operation, the system walks through all file data blocks? I thought unlink wouldn''t have to write too much data. On Tue, Jan 25, 2011 at 6:30 PM, Hubert Kario <hka@qbs.com.pl> wrote:> On Tuesday 25 of January 2011 07:45:02 Magicloud Magiclouds wrote: >> Hi, >> I am using 2.6.36.3 kernel with btrfs, 512MB memory and a very slow >> disk, no special options for mounting btrfs except noatime. Now I >> found it very slow. When I rm a 5GB movie, it took 20 secs. > > try mounting with nodatacow and defragment the directory the file resides in > > Regards > -- > Hubert Kario > QBS - Quality Business Software > 02-656 Warszawa, ul. Ksawerów 30/85 > tel. +48 (22) 646-61-51, 646-74-24 > www.qbs.com.pl >-- 竹密岂妨流水过 山高哪阻野云飞 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tuesday, January 25, 2011 15:28:11 Magicloud Magiclouds wrote:> So you were saying that, even an unlink operation, the system walks > through all file data blocks? I thought unlink wouldn''t have to write > too much data.No, but the amount of data to be changed if the number of extents is small will be lower.> > On Tue, Jan 25, 2011 at 6:30 PM, Hubert Kario <hka@qbs.com.pl> wrote: > > On Tuesday 25 of January 2011 07:45:02 Magicloud Magiclouds wrote: > >> Hi, > >> I am using 2.6.36.3 kernel with btrfs, 512MB memory and a very slow > >> disk, no special options for mounting btrfs except noatime. Now I > >> found it very slow. When I rm a 5GB movie, it took 20 secs. > > > > try mounting with nodatacow and defragment the directory the file resides > > in > > > > Regards > > -- > > Hubert Kario > > QBS - Quality Business Software > > 02-656 Warszawa, ul. Ksawerów 30/85 > > tel. +48 (22) 646-61-51, 646-74-24 > > www.qbs.com.pl-- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html