Re: Very slow samba file transfer speed... any ideas ?

2012-07-20 Thread Martin Steigerwald
Am Freitag, 20. Juli 2012 schrieb Shavi N: On Fri, Jul 20, 2012 at 12:19 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Donnerstag, 19. Juli 2012 schrieb Shavi N: Hi, Hi Shavi, Thanks. This is the output: btrfs: $ dd if=/dev/zero of=/mnt/shared/misc/temp_file

Re: Very slow samba file transfer speed... any ideas ?

2012-07-20 Thread Shavi N
Martin, I agree with you 100% that dd does not measure proper performance (and that /dev/zero is not a very good test). Hence I'm asking.. I know that I get fast copy/write speeds on the btrfs volume from real life situations, but NOT with samba. So, is there something I can do to test why samba

Re: Very slow samba file transfer speed... any ideas ?

2012-07-20 Thread Martin Steigerwald
Am Freitag, 20. Juli 2012 schrieb Remco Hosman: 11 really fast 15000rpm FC / SAS disks could possibly do 936 MB/s. But regular 7200rpm SATA disks depending to the on disk location might be as slow as 40-50 MB/s – just try fio disk-zone-profile on one if you do not believe this – and then

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Martin Steigerwald
Hi! Am Donnerstag, 19. Juli 2012 schrieb Bernhard Redl: On 07/19/2012 03:42 AM, Shavi N wrote: Hi, I have btrfs volume, shared via samba. I have a directory of documents that I want to backup on my server. win7 reports a maximum of ~3.10MB/s transfer transferring the same directory on

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Shavi N
Hi, Thanks. This is the output: btrfs: $ dd if=/dev/zero of=/mnt/shared/misc/temp_file bs=1M count=1400 1400+0 records in 1400+0 records out 1468006400 bytes (1.5 GB) copied, 1.56841 s, 936 MB/s ext4: $ dd if=/dev/zero of=/mnt/500/VirutalBox_VMs/thor/thor-data/temp_file bs=1M count=1400 1400+0

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Fajar A. Nugraha
On Thu, Jul 19, 2012 at 7:39 PM, Shavi N shav...@gmail.com wrote: So btrfs gives a massive difference locally, but that still doesn't explain the slow transfer speeds. Is there a way to test this? I'd try with real data, not /dev/zero. e.g: dd_rescue -b 1M -m 1.4G /dev/sda testfile.img ... or

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Martin Steigerwald
Am Donnerstag, 19. Juli 2012 schrieb Shavi N: Hi, Hi Shavi, Thanks. This is the output: btrfs: $ dd if=/dev/zero of=/mnt/shared/misc/temp_file bs=1M count=1400 1400+0 records in 1400+0 records out 1468006400 bytes (1.5 GB) copied, 1.56841 s, 936 MB/s ext4: $ dd if=/dev/zero

Re: Very slow samba file transfer speed... any ideas ?

2012-07-19 Thread Shavi N
Hi, Yes I read and understood your email. my btrfs volume consists of 11 HDD's. I was very surprised with that result myself... On Fri, Jul 20, 2012 at 12:19 AM, Martin Steigerwald mar...@lichtvoll.de wrote: Am Donnerstag, 19. Juli 2012 schrieb Shavi N: Hi, Hi Shavi, Thanks. This is the

Very slow samba file transfer speed... any ideas ?

2012-07-18 Thread Shavi N
Hi, I have btrfs volume, shared via samba. I have a directory of documents that I want to backup on my server. win7 reports a maximum of ~3.10MB/s transfer transferring the same directory on a ext4 samba share I get 25MB/s + Any ideas? Is it like that because of how btrfs works and is setup?

Re: Very slow samba file transfer speed... any ideas ?

2012-07-18 Thread Bernhard Redl
Did you try creating an huge file directly on your linux host with dd if=/dev/zero of=/mnt/YOURPATH/file bs=1M count=1400 dd will report the speed afterwards. You can also try copying the documents from ext4 to a ramfs and then copy them from the ramfs to btrfs. On 07/19/2012 03:42 AM, Shavi N