1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slow NAS/USB Performance

Discussion in 'Tomato Firmware' started by Zodler, Dec 17, 2012.

  1. Zodler

    Zodler Serious Server Member

    I have an Asus RT-N66U with tomato-K26USB-NVRAM64K-1.28.0500.5MIPSR2Toastman-RT-N-VLAN-VPN-NOCAT.

    ZOTAC ZBOX nano XS AD11 Plus with OpenELEC 2. When I copy files to a USB drive attached to that from a Windows 8 PC I get around 15 MB/s speed.

    But if I connect the same USB drive to my Asus router and enable USB sharing, I get file transfer of 3 MB/s from Windows 8.

    How come? Why my Samba shared OpenELEC machine gives x5 times faster file transfer than directly connecting my USB to Asus router?
  2. koitsu

    koitsu Network Guru Member

  3. Zodler

    Zodler Serious Server Member

    Unfortunately that doesn't improve anything.
  4. ryzhov_al

    ryzhov_al Networkin' Nut Member

    3MB/s is really slow. Is it NTFS? I've got 7-9MB/s via SAMBA on stock firmware if there is no other disk/CPU activity.
  5. Zodler

    Zodler Serious Server Member

    Yes the 1TB 2.5" USB3 drive is formated NTFS.

    Funny thing, with Asus router its 3 MB/s but I can see free space available on the drive by Windows.

    With ZOTAC ZBOX nano XS AD11 Plus / OpenELEC 2 / default Samba server, i get 15 MB/s but I can't see the free space available on the drive with windows!

    I have not tried the stock asus firmware, its with tomato-K26USB-NVRAM64K-1.28.0500.5MIPSR2Toastman-RT-N-VLAN-VPN-NOCAT.
  6. Zodler

    Zodler Serious Server Member

    Should I not use NTFS? What other file system I can use that supports larger than 4GB and also is readable under windows directly that works best with tomato?
  7. ryzhov_al

    ryzhov_al Networkin' Nut Member

    No any alternative for NTFS then. You may open console and type "top" while files are copying, there will be 100% CPU load :(

    If NTFS is a key condition, then better to use stock firmware or Merlin's mod. It uses ufsd Paragon's commercial driver with quite impressive perfomance, at least, no worse than EXT3.
  8. Zodler

    Zodler Serious Server Member

    So you said the most you got was 7-9MB/s via SAMBA?. Is that all you can get? It's not a lot even if I manage to get it. Is the router not very good at that? I will just abandon that route if not.

    Also I'm wondering I read somewhere home users getting speeds like 70-100MB/s with their home NAS?!! Is that real? The most I have ever seen personally is 15 MB/s between a synology NAS or 2 Windows machines and all supposedly Gigabit Ethernet/routers in my home.

    I do get 100MB/s speeds but between 2 directly connected USB 3 drives!
  9. koitsu

    koitsu Network Guru Member

    You have to understand that these consumer routers do not have dedicated USB chips on them. These routers use what's called a SOC, which is a "system on a chip"; i.e. the CPU, USB, Wifi, etc. are all in one very small chip on the motherboard and are across a proprietary on-die bus of some sort. The main focus of these chips is cost/convenience, not speed. I've yet to see a single consumer-grade router offer good USB throughput. To make matters worse, these are embedded systems, where debugging/troubleshooting is often very difficult given the limited amount of space/resources for debugging (not to mention most end-users do not know how do this).

    As far as "home users getting 70-100MBytes/second with their home NAS" -- yup. You can read my own benchmarks here, which includes the systems/hardware involved, filesystems, Samba tuning, and throughput examples. You need to read my post in full, not skim it. In general CIFS/SMB is a crappy protocol with a lot of overhead (meaning FTP performs much better -- I show that in my post), but your situation with your router almost certainly isn't because of that. You'll see that with CIFS/SMB with Samba, I can get about 55MBytes/second between systems, while between the same two systems with FTP I can get 95MBytes/second.

    If you want some pre-built NAS device, go right ahead and buy something. You'll then be experiencing vendor lock-in, so when your array doesn't rebuild, or you lose a disk and find that it actually nuked your entire array, or when you encounter a firmware bug, you'll need to have a support contract (or a company that actually knows/understands their product -- very rare). This is why I build my own "NAS" devices (for lack of better term) using server-class hardware that I know is supported decently and driven by an open-source OS. I then have full control over what everything. My data is my responsibility, and I do not trust random vendors with my data.
    lefty likes this.
  10. lefty

    lefty Networkin' Nut Member

    Yes, alot of people don't understand, you are not going to get USB 2.0 spec speeds from a consumer router, these aren't PC's with a high speed front side bus, fast CPU etc., consumer router hardware is a different architecture altogether.
  11. digiblur

    digiblur Networkin' Nut Member

    I used to get about 40 megabytes a sec reading from that piece of junk DroboFS drive. I imagine better devices give much faster speeds.

    Sent from a little old Note 2
  12. GhaladReam

    GhaladReam Network Guru Member

    I've given up on Tomato's SAMBA network sharing. I have a dedicated PC that hosts my file shares now. Went from 2-5 MB/s up to 30-50 MB/s using the same USB 2.0 HDD.
  13. ryzhov_al

    ryzhov_al Networkin' Nut Member

    Yes, that's all for SAMBA. A raw USB r/w throughput is a 22/11 MB/s, it's our top limit. While using any service as a SAMBA/ISCSI/FTP/NFS the bottleneck is a weak CPU.

    That's why I bought WD My Book Live NAS. It gets 40-60MB/s via SAMBA. Also, it's a linux geek heaven: got a native Debian on board out of the box.
    koitsu likes this.
  14. Zodler

    Zodler Serious Server Member

    I stayed away from My Book Live thinking maybe its too generic and stuff, was looking at synology, qnap and even maybe installing freenas on an old asrock that I used for HTPC.

    Is my book live really that good? Can you install Plex Media Server or Sabnzbd on it?

Share This Page