Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-27 Thread Christian Brunner
2012/2/24 Nik Markovic : > To add... I also tried nodatasum (only) and nodatacow otions. I found > somewhere that nodatacow doesn't really mean tthat COW is disabled. > Test data is still the same - CPU spikes and times are the same. > > On Fri, Feb 24, 2012 at 2:38 PM, Nik Markovic > wrote: >> O

Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-24 Thread Duncan
Nik Markovic posted on Fri, 24 Feb 2012 14:38:57 -0600 as excerpted: > On Fri, Feb 24, 2012 at 12:38 AM, Duncan <1i5t5.dun...@cox.net> wrote: >> Nik Markovic posted on Thu, 23 Feb 2012 20:31:02 -0600 as excerpted: >> >>> I noticed a few errors in the script that I used. I corrected it and >>> it s

Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-24 Thread Nik Markovic
To add... I also tried nodatasum (only) and nodatacow otions. I found somewhere that nodatacow doesn't really mean tthat COW is disabled. Test data is still the same - CPU spikes and times are the same. On Fri, Feb 24, 2012 at 2:38 PM, Nik Markovic wrote: > On Fri, Feb 24, 2012 at 12:38 AM, Dunca

Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-24 Thread Nik Markovic
On Fri, Feb 24, 2012 at 12:38 AM, Duncan <1i5t5.dun...@cox.net> wrote: > Nik Markovic posted on Thu, 23 Feb 2012 20:31:02 -0600 as excerpted: > >> I noticed a few errors in the script that I used. I corrected it and it >> seems that degradation is occurring even at fully random writes: > > I don't

Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-23 Thread Duncan
Nik Markovic posted on Thu, 23 Feb 2012 20:31:02 -0600 as excerpted: > I noticed a few errors in the script that I used. I corrected it and it > seems that degradation is occurring even at fully random writes: I don't have an ssd, but is it possible that you're simply seeing erase- block related

Re: Strange prformance degradation when COW writes happen at fixed offsets

2012-02-23 Thread Nik Markovic
I noticed a few errors in the script that I used. I corrected it and it seems that degradation is occurring even at fully random writes: #!/bin/bash mode=$1 if [ -z "$mode" ]; then echo "Usage $0 " exit -1 fi mode=$1 src=`pwd`/test/src dst=`pwd`/test/dst srcfile=$src/test.tar ds

Strange prformance degradation when COW writes happen at fixed offsets

2012-02-23 Thread Nik Markovic
Hi, My kernel version is 32-bit 3.2.0-rc5 and using btrfs-tools 0.19 I was having performance issues with BTRFS with fragmentation and HDDs, so I decided to switch to an SSD to see if these would go away. Performance was much better but at times, I would see a "freeze happen" which I can't really