Displaying 20 results from an estimated 28 matches for "autodefrag".
2011 Oct 08
5
defrag makes fragmentation worse
Kernel 3.1-rc8
btrfs-progs-0.19
mount options: noatime,autodefrag (space_cache is enabled)
There are snapshots present on the filesystem.
When I do a btrfs fi defrag on a file, the file becomes much more
fragmented. The end result can be a file with 20k times more fragments
than before. Initially I thought the extents were just smaller but
were next to each othe...
2012 Sep 09
13
enquiry about defrag
Hi all,
i am new on btrfs, i am testing KVM on btrfs (host: kernel x86-64 3.5.3), the performance is reasonable.
I have two question on defrag, can someone help me?
1. According to btrfs wiki, defragment a COW file will produce two unrelated files.
Does it apply to the "autodefrag" mount option?
2. Is there any command for the fragmentation status of a file/dir ? e.g. fragment size, number of fragments.
--
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:/...
2013 Jul 20
11
Lots of harddrive chatter on after booting with btrfs on root (slow boot)
Hi,
I''ve been using btrfs for my root partition for about a month on
archlinux and recently Ive started using the i3 window manager and
starting X manually and I now boot to run level 3 (multi-user.target
for systemd) and Ive noticed that booting archlinux on a btrfs root,
there is a lot off hdd chatter after the login prompts are displayed,
which doesnt happen with ext4 on root, so I
2013 Jan 31
3
/home on BTRFS on SSD, now highly fragmenting virtuoso database - use autodefrag?
...ry/main/data/virtuosobackend>
martin@merkaba:~/.kde/share/apps/nepomuk/repository/main/data/virtuosobackend> sudo filefrag soprano-virtuoso.db
soprano-virtuoso.db: 15900 extents found
Now I do not perceive any bottle neck so far and this is an SSD.
What would be your recommendation: Add autodefrag to mount options or not?
For now I am inclined to let it run that way and see how it goes. I am a bit
reluctant about autodefrag cause of the additional writes it causes.
Well, a direct dd of the file to memory is still quite fast:
merkaba:/home/martin/.kde/share/apps/nepomuk/repository/main/da...
2012 Oct 07
29
BTRFS, getting darn slower everyday
Hi,
I have 4 machines, all converted to BTRFS about 6 months ago, now all
running Ubuntu Quantal with kernel 3.5.0-17
The matter is that all these machines are now getting slower and slower
everyday, every disk access causing the disk to be 100% busy for long
periods, to the point that I''m now seriously considering migrating
everything back to ext4...
From the start BTRFS was "not
2013 May 11
4
Defragmentation of large files
Hi list,
I have a few large image files (VMware workstation VMDKs and TrueCrypt
containers) which I routinely back up over the network to a btrfs raid10
volume via bigsync (https://code.google.com/p/bigsync/).
The VM images in particular get really fragmented due to CoW, which is
expected. I haven''t yet switched off CoW on the backups directory mainly
to experiment and see what
2012 Nov 03
0
btrfs kernel threads producing high load and slow system down
...esktops this primarily affects application databases (including
Firefox and Chromium profiles, GNOME Zeitgeist, Ubuntu Desktop Couch,
Banshee, and Evolution''s datastore.)
Workarounds include manually defragmenting your home directory using
btrfs fi defragment. Auto-defragment (mount option autodefrag) should
solve this problem in 3.0.
Symptoms include btrfs-transacti and btrfs-endio-wri taking up a lot
of CPU time (in spikes, possibly triggered by syncs). You can use
filefrag to locate heavily fragmented files.
Symptoms are: Very high load, btrfs-transacti, btrfs-endio-wri and
other btfs kerne...
2012 Mar 02
1
nocow flags
...s mounted with nodatacow.
I''m using this as a workaround since subvolumes can''t be mounted with different options simultaneously. ie. one with COW, one with nodatacow
Any ideas why the flags are being ignored?
I''m running 32bit 3.3rc4 with noatime,nodatasum,space_cache,autodefrag,inode_cache on a 3 disk RAID0 data RAID1 metadata filesystem.
Thanks,
Kyle
--
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
2011 Nov 11
1
[PATCH] btrfs: rename the option to nospace_cache
...1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 629281c..8bd9d6d 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -197,7 +197,7 @@ static match_table_t tokens = {
{Opt_subvolrootid, "subvolrootid=%d"},
{Opt_defrag, "autodefrag"},
{Opt_inode_cache, "inode_cache"},
- {Opt_no_space_cache, "no_space_cache"},
+ {Opt_no_space_cache, "nospace_cache"},
{Opt_recovery, "recovery"},
{Opt_err, NULL},
};
@@ -711,7 +711,7 @@ static int btrfs_show_options(struct seq_file *seq, struct...
2014 Sep 16
0
3.14.18 btrfs_set_item_key_safe BUG
On 3.14.18 with a BTRFS partition mounted
noatime,autodefrag,compress=lzo, I see the second assertion in
btrfs_set_item_key_safe() trip:
void btrfs_set_item_key_safe(struct btrfs_root *root, struct btrfs_path *path,
struct btrfs_key *new_key)
{
struct btrfs_disk_key disk_key;
struct extent_buffer *eb;
int...
2012 Jun 11
11
KVM on top of BTRFS
What are the recommendations for running KVM images on BTRFS systems using kernel 3.4? I saw older posts on the web complaining about poor performance, but I know a lot of work has gone into btrfs since then. There also seemed to be the nocow option, but I didn''t find anything that said it actualy helped.
Anybody have ideas?
Thanks,
Matt
--
To unsubscribe from this list: send the line
2012 Sep 17
13
[PATCH 1/2 v3] Btrfs: use flag EXTENT_DEFRAG for snapshot-aware defrag
We''re going to use this flag EXTENT_DEFRAG to indicate which range
belongs to defragment so that we can implement snapshow-aware defrag:
We set the EXTENT_DEFRAG flag when dirtying the extents that need
defragmented, so later on writeback thread can differentiate between
normal writeback and writeback started by defragmentation.
This patch is used for the latter one.
Originally patch
2013 Aug 22
11
Samba strict allocate = yes stops btrfs compression working
Hi,
If i set strict allocate = yes in samba to speed up the transfer
of a mssql database dump,
then btrfs does not compress the file.
I have tried it also by just copying a small file in Windows to the
samba share and the same.
I have tried btrfs mount options autodefrag and then
btrfs fi defrag -c and the file still does not get compressed.
I have tried kernels 3.6.11, 3.8 and 3.10.7 on FC16 and FC18.
Any help, much appreciated.
Thanks.
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to major...
2013 Feb 07
8
[RFC] Btrfs: Allow the compressed extent size limit to be modified v2
Provide for modification of the limit of compressed extent size
utilizing mount-time configuration settings.
The size of compressed extents was limited to 128K, which
leads to fragmentation of the extents (although the extents
themselves may still be located contiguously). This limit is
put in place to ease the RAM required when spreading compression
across several CPUs, and to make sure the
2013 Jun 10
1
btrfs-cleaner Blocked on xfstests 068
...0bf04a5a05995bf2d79300c
btrfs: clean snapshots one by one
The 068 test uses the scratch drive, so I believe xfs-test is using
the defaults for formatting the device, which is a physical partition
on my SATA drive.
My mount settings for xfstests is:
export MOUNT_OPTIONS="-o compress-force=lzo,autodefrag"
There are no errors shown in dmesg. Here is the result of Alt-SysRq-W
to show the blocked states:
[ 413.408168] SysRq : Show Blocked State
[ 413.409157] task PC stack pid father
[ 413.409157] btrfs-cleaner D ffff88007827c308 0 4516 2 0x00000000
[...
2012 Jun 15
6
[PATCH] Btrfs: add "nocompress" mount option
In btrfs if we mount with "compress" we have no way to disable
compressing by remounting
(mount -o remount /mnt/btrfs), only by unmounting and mounting without
"compress".
This patch adds "nocompress" mount option which can be used to remount
the filesystem without compression:
# mount -o remount,nocompress /mnt/btrfs
This option is usefull in cases when we have a
2013 Apr 11
0
[PATCH 1/2] Btrfs: fix unblocked autodefraggers when remount
The new mount option is set after parsing the remount arguments,
so it is wrong that checking the autodefrag is close or not at
btrfs_remount_prepare(). Fix it.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
---
fs/btrfs/super.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 68a29a1..0f03569 100644
--- a/fs/btrfs/super.c
+++...
2013 Sep 25
0
Easy Q: reset space cache updated?
...meone confirm that
http://comments.gmane.org/gmane.comp.file-systems.btrfs/21256
is still the correct procedure to use to clear the cache.
Still very happy with how well btrfs is working for me.
Thank you.
Al.
PS: I think that there may be a problem with having a non-default boot
subvol with autodefrag mount option but can''t consistently reproduce in
haste. I''ve moved to the explicit subvol=@ in the kernel load and the
eventual hang has gone.
I have a ext based /boot but the remaining system is installed to a subvol
to allow snapshots on it. Works fine (with above caveat) and i...
2014 Mar 09
0
Massive BTRFS performance degradation
I am experiencing massive performance degradation on my BTRFS root
partition on SSD. Except for regular daily updates, nothing changed in
the system. The mount point remained the same:
/ btrfs rw,noatime,compress=lzo,ssd,space_cache,autodefrag 0 0
but the performance dropped to less than 8% of norm.
Before:
# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 1.57307 s, 683 MB/s
Now:
# dd if=tempfile of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
1...
2012 Apr 26
7
[PATCH 2/4] Btrfs: fix deadlock on sb->s_umount when doing umount
The reason the deadlock is that:
Task Btrfs-cleaner
umount()
down_write(&s->s_umount)
sync_filesystem()
do auto-defragment and produce
lots of dirty pages
close_ctree()
wait for the end of
btrfs-cleaner
start_transaction
reserve space
shrink_delalloc()
writeback_inodes_sb_nr_if_idle()