Re: speeding up slow btrfs filesystem

2011-12-16 Thread Sergei Trofimovich
On Fri, 16 Dec 2011 21:58:45 +0100 Martin Steigerwald wrote: > Nope. Doesn´t seem to help much. > > How to turn it off, after turning it on? > > deepdance:~> LANG=C mount -o remount,datacow / > mount: / not mounted already, or bad option In debian you can disable syncing on per-process basis:

Re: speeding up slow btrfs filesystem

2011-12-16 Thread Martin Steigerwald
Am Freitag, 16. Dezember 2011 schrieb Martin Steigerwald: > I wonder whether it might be a good idea to have nodatacow for /: Nope. Doesn´t seem to help much. How to turn it off, after turning it on? deepdance:~> LANG=C mount -o remount,datacow / mount: / not mounted already, or bad option Tha

Re: speeding up slow btrfs filesystem

2011-12-16 Thread Martin Steigerwald
Am Freitag, 16. Dezember 2011 schrieb Goffredo Baroncelli: > On Friday, 16 December, 2011 18:54:46 you wrote: > > Am Freitag, 16. Dezember 2011 schrieb Martin Steigerwald: > > > Its not critical for me to fix these issues (soon), but I am > > > curious whether its possible to get the filesystem spe

Re: speeding up slow btrfs filesystem

2011-12-16 Thread Goffredo Baroncelli
On Friday, 16 December, 2011 18:54:46 you wrote: > Am Freitag, 16. Dezember 2011 schrieb Martin Steigerwald: > > Its not critical for me to fix these issues (soon), but I am curious > > whether its possible to get the filesystem speedier by some > > maintenance. > > Maybe after it is clear why it

Re: [GIT PULL] Btrfs fixes

2011-12-16 Thread nobody
Chris Mason oracle.com> writes: > > Hi everyone, > > This pull request is bigger than I wanted it to be, but Josef has > commits in here for some long running ENOSPC bugs in btrfs. % git log --no-merges --grep="enospc" | grep commit | wc -l 45 % git log --no-merges --grep="enospc"|grep "Date

[GIT PULL] Btrfs fixes (part two, against 3.2-rc)

2011-12-16 Thread Chris Mason
Hi everyone, I try to keep most of the btrfs commits against the last release. This way, people can update their old and crusty kernels from 3 months ago, and still have the latest btrfs code. We do have one commit that is 3.2 specific though, so I put it into a for-linus-3.2 branch: git://git.

Re: [GIT PULL] Btrfs fixes

2011-12-16 Thread Chris Mason
On Fri, Dec 16, 2011 at 12:53:44PM -0500, Chris Mason wrote: > Hi everyone, > > This pull request is bigger than I wanted it to be, but Josef has > commits in here for some long running ENOSPC bugs in btrfs. This is > a few weeks of tracing our delalloc reservations from Josef, and then > fixing

Re: speeding up slow btrfs filesystem

2011-12-16 Thread Martin Steigerwald
Am Freitag, 16. Dezember 2011 schrieb Martin Steigerwald: > Its not critical for me to fix these issues (soon), but I am curious > whether its possible to get the filesystem speedier by some > maintenance. Maybe after it is clear why it is so slow in the first place ;). -- Martin 'Helios' Steige

[GIT PULL] Btrfs fixes

2011-12-16 Thread Chris Mason
Hi everyone, This pull request is bigger than I wanted it to be, but Josef has commits in here for some long running ENOSPC bugs in btrfs. This is a few weeks of tracing our delalloc reservations from Josef, and then fixing up the related bugs. Outside of Josef's patches we have some assorted fi

speeding up slow btrfs filesystem

2011-12-16 Thread Martin Steigerwald
Hi! On apt-get dist-upgrading my Amarok ThinkPad T23 with BTRFS as / and as /home I get extremely slow operation - my ThinkPad T42 with Ext4 is running circles around it and thats likely not only due to the faster CPU. vmstat 1 shows: procs ---memory-- ---swap-- -io -syst

Re: Extreme slowdown

2011-12-16 Thread Tobias
Am 16.12.2011 10:19, schrieb Sander: Tobias wrote (ao): On Fri, Dec 16, 2011 at 1:49 AM, Tobias wrote: My BTRFS-FS ist getting really slow. Reading is ok, writing is slow and deleting is horrible slow. There are many files and many links on the FS. Do you happen to have (many) snapshots? Ar

Re: Extreme slowdown

2011-12-16 Thread Sander
Tobias wrote (ao): > >>>On Fri, Dec 16, 2011 at 1:49 AM, Tobias wrote: > My BTRFS-FS ist getting really slow. Reading is ok, writing is > slow and deleting is horrible slow. > > There are many files and many links on the FS. Do you happen to have (many) snapshots? Are btrfs kerne

Re: Extreme slowdown

2011-12-16 Thread Hugo Mills
On Fri, Dec 16, 2011 at 09:51:56AM +0100, Tobias wrote: > Am 16.12.2011 03:09, schrieb Liu Bo: > >On 12/16/2011 02:49 AM, Tobias wrote: > >>Any hints how i could speed it up? > >> > > > >I recommend to run defragment on your files, > >it should help you, although defrag maybe slow, too. > > > > Wh

Re: Extreme slowdown

2011-12-16 Thread Tobias
Am 16.12.2011 05:15, schrieb Shyam Prasad N: On 12/16/2011 09:14 AM, Chester wrote: On Thu, Dec 15, 2011 at 8:19 PM, Fajar A. Nugraha wrote: On Fri, Dec 16, 2011 at 1:49 AM, Tobias wrote: Hi all! My BTRFS-FS ist getting really slow. Reading is ok, writing is slow and deleting is horrible

Re: Extreme slowdown

2011-12-16 Thread Tobias
Am 16.12.2011 03:09, schrieb Liu Bo: On 12/16/2011 02:49 AM, Tobias wrote: Any hints how i could speed it up? I recommend to run defragment on your files, it should help you, although defrag maybe slow, too. When deleting files does it matter if the data is fragmented? When i do normal fi

[PATCH] Btrfs-progs: Fix manual of btrfs command

2011-12-16 Thread Akira Fujita
Usage of balancing btrfs is "btrfs filesystem balance", not "btrfs device balance". And remove unneeded usage of "btrfs filesystem defrag". Also fix some typos and over 80 columns. Signed-off-by: Akira Fujita --- man/btrfs.8.in | 35 +-- 1 files changed, 21 inse