Slow samba revisted

Ask questions about Arch Linux ARM. Please search before making a new topic.

Slow samba revisted

Postby htpcdude » Wed May 16, 2012 2:46 am

I've read the other posts about samba shares to ntfs partitions having slow writes on a windows network. I've experimented and found it to be true, ext3 partitions over samba have better performance.

What I don't understand is this. I have 2 goflex home docks, one with the latest stock firmware, one with arch linux arm installed and running from a usb stick. I take a 1TB drive and partition/format it ntfs on the stock firmware unit. Writes are ~ 24MB/s. I take this drive and share it using samba on the arch linux arm unit. Writes to it are now ~ 8MB/s.

Isn't the stock firmware running some version of linux also? If it is, is it using samba to share the drive? If it is, why does it perform so much better than arch linux samba?

Have I made too many assumptions?
htpcdude
 
Posts: 3
Joined: Wed Feb 15, 2012 5:20 pm

Re: Slow samba revisted

Postby kmihelich » Wed May 16, 2012 6:40 am

The stock firmware is running a commercial non-free NTFS driver, not the open-source ntfs-3g we provide. That's what the difference is from.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Slow samba revisted

Postby xenoxaos » Wed May 16, 2012 12:28 pm

This is the reason all my media drives were all migrated to ext3/4. Now internal transfers over sata hit 60MB/s+
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Slow samba revisted

Postby htpcdude » Wed May 16, 2012 2:42 pm

$this->bbcode_second_pass_quote('xenoxaos', 'T')his is the reason all my media drives were all migrated to ext3/4. Now internal transfers over sata hit 60MB/s+


Hi,

What nas devices are you using? I've migrated my arch linux goflex home unit to ext3. I wasn't sure if ext4 was safe or recommended for this unit.

Thanks,
htpcdude
 
Posts: 3
Joined: Wed Feb 15, 2012 5:20 pm

Re: Slow samba revisted

Postby WarheadsSE » Wed May 16, 2012 2:45 pm

I am using a GoFlex Net, a Pogoplug V4, multiple Pogoplug Pro/V3/Classic's, a USI Topkick and an iomega Home Media Network Hard Drive : Cloud Edition

Ext4 is perfectly fine, but only for the non-boot partition. (and not on flash)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Slow samba revisted

Postby sambul13 » Sun Sep 02, 2012 3:09 pm

I've got on average 7-8 MB/sec copy speed of large files with TeraCopy over Samba on Gigabit Ethernet to a DockStar connected USB 2.0 drive with the Plug CPU load as per Htop at 97-100% mostly to handle NTFS writes to the disk. Compare to 28-30 MB/sec copy to EXT4 with 82-97 CPU load, and 29-30 MB/sec copy to XFS with 88-92 CPU load, again mostly to handle writes to disk.

What's the NTFS commercial driver used in Pogo that gives 24 MB/sec copy speed? Is it Paragon driver for Linux embedded systems? How it can be installed on ArchLinux ARM 3.5.2 ?

Got some benchmarks for similar copy speeds from a Windows PC over NFS to the EXT4 USB 2.0 drive hooked to DockStar. For some reason its maxes at 18 MB/s vs 30 MB/s with Samba. Hope, NFS 3 can be optimized to deliver similar to Samba speed.

Another option is using an app like Crossmeta that installs on Windows PC and allows to mount some Linux filesystems in Windows and copy files btw NTFS and EXT2 or XFS via integrated with it NFS server. No USB support though.
Last edited by sambul13 on Mon Sep 10, 2012 7:21 pm, edited 1 time in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Slow samba revisted

Postby sambul13 » Sun Sep 09, 2012 1:07 am

$this->bbcode_second_pass_quote('xenoxaos', 'T')his is the reason all my media drives were all migrated to ext3/4. Now internal transfers over sata hit 60MB/s+


What Pogo model delivers this speed? What do you mean under "internal transfers" - is it from one SATA drive to another, both connected to the same GoFlex Net? What speed do you see, when copying large files from Windows to a SATA EXT4 drive hooked to GFH or GFN? Is it via FTP, Samba or iSCSI? What is GF processor load at 60MB/s writing to SATA? Here's speed compare USB vs SATA on GFN: it doesn't seem to match your speed - why?

$this->bbcode_second_pass_quote('WarheadsSE', 'w')hen I use iSCSI, from a windows host and served off my GFN, I can hit > 37MB/s sustained.

Does it mean you see the same copy speed, when copying files from Windows to GFN, and vice versa? How to install iSCSI server and client on GFN?
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm
Top

Re: Slow samba revisted

Postby WarheadsSE » Sun Sep 09, 2012 1:47 am

1) iSCSI - go read the Arch wiki.
2) Internal transfers means internal transfers, ala not over the network at all.

The I can write via samba, to a PPV4, with a USB3 3TB driver, formatted ext4, at a sustained 20MB/s. I will tell you this: devices that have more memory are able to sustain higher network transfer rates, period. However, the load on the CPU will in the end be the limiting factor. The various IO buses involved greatly come into play, and the network <> SATA versus, network <> USB and network <> PCIe linked USB3 greatly alter the equations but are still only as fast as the CPU.

You are never going to get full SATA bus speed out of these devices, EVER. Do you get that? Should I say it again? I think I shall. Never, Not GONNA FARKING HAPPEN. JUST LIKE NO GUI BOOTLOADER MENU.

$this->bbcode_second_pass_quote('', 'W')hat's the NTFS commercial driver used in Pogo that gives 24 MB/sec copy speed? Is it Paragon driver for Linux embedded systems? How it can be installed on ArchLinux ARM 3.5.2 ?

Let's break this down:
- Whats the Commercial driver? I can't exactly remember, but it might be paragon.
- Is it paragon? Um..
- How can it be installed on a device running a kernel at version 3.5.2? It can't

Last but not least, how does this, and dredging this old thread, have anything to do with samba, since you have left-turned directly to direct bus speeds, and how they related to NTFS disks?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm
Top

Re: Slow samba revisted

Postby sambul13 » Sun Sep 09, 2012 11:49 am

Thanks for your comments and experience sharing. :)

Info on any subject is easier to find if its placed together. Thread dates are less important since discussed devices remain the same. I hit 30 MB/s speed copying large files from a Windows PC via Samba to a USB 2.0 XFS formatted HD hooked to Dockstar. Its good considering USB 2.0 limit at 35MB/s. So wonder how about SATA speed over LAN? NTFS was discussed above, its relevant when hooking a drive at times to either Pogo or Windows. And the direct bus SATA speeds were discussed above, none brought by me. ;)

Looking at GoFlex Net with SATA II ports and Samba performance. What its max speed writing from a PC to GFN SATA drive, and how to reach the max? Is it different compare to USB 2.0 ? Yah, the devices have hardware limitations, but once a large media DB is backed up to a HD on a PC, then adding at times some more files to it via GFN is not going to overheat it, so it makes sense doing over LAN. If iSCSI can deliver higher write speed than Samba to a SATA drive, will try that. :D
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Re: Slow samba revisted

Postby sambul13 » Tue Sep 11, 2012 9:04 pm

Interesting, these reports say GoFlex Home with SATA 3.5" drive attached hits 50 MB/sec speed exchanging files in both directions with Win7 PC over GB LAN. Given the same processor as other ARM5 devices, is that specific to a certain network FS used by the non-modded GFH with HipServ OS? Does it use Samba when copying files from Windows over LAN? Can anyone here confirm such speed over LAN with ArchLinux ARM upgraded GFH?
Last edited by sambul13 on Tue Sep 11, 2012 9:22 pm, edited 2 times in total.
sambul13
 
Posts: 258
Joined: Sat Aug 18, 2012 10:32 pm

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 6 guests