Re: Large no.of extents for a single small file with a fresh RAID5 setup

2017-02-21 Thread Lakshmipathi.G
> > >I'm using Ubuntu(16.04) desktop version (not server) running Xorg and > >others. May be its possible its > >flushing data to disk at constant time. If you like to give it a try again > >with servers, below is the > >exact script along with its timing & multiextent output. > > Archlinux

Re: Large no.of extents for a single small file with a fresh RAID5 setup

2017-02-21 Thread Lakshmipathi.G
> >>How did you create the 2m file? > > > >Yes,this is the problem. script invokes 'dd' with 'notrunc' for each > >byte. If the file is 1kb, 'dd' invoked 1024 times with notrunc. > >This seems to be creating the issue. > > IIRC that's not the direct cause though. > > Since kernel is using

Re: Large no.of extents for a single small file with a fresh RAID5 setup

2017-02-20 Thread Lakshmipathi.G
On Mon, Feb 20, 2017 at 03:53:15PM +0800, Qu Wenruo wrote: > > > At 02/18/2017 10:07 AM, Lakshmipathi.G wrote: > >Hi, > > > >With RAID5, using 3 loop-back devices each has 4GB. On a fresh setup, > >created a 2mb file. > >While checking no.of extents,it shows like: > > > ># ./btrfs-debugfs -f

Large no.of extents for a single small file with a fresh RAID5 setup

2017-02-17 Thread Lakshmipathi.G
Hi, With RAID5, using 3 loop-back devices each has 4GB. On a fresh setup, created a 2mb file. While checking no.of extents,it shows like: # ./btrfs-debugfs -f /mnt/file2m.txt (257 0): ram 110592 disk 145227776 disk_size 114688 (257 110592): ram 4096 disk 145461248 disk_size 4096 (257 114688):