What's new

ASUS RT-AC1200GU SAMBA slow transfer speed

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

samba4linux

New Around Here
My ASUS RT-AC1200GU WLAN router has USB2.0 interface for an external storage. The transfer speed over SAMBA to / from that router is ~7MBps on a Gigabit connection.


# Details

Setup: hard drive has NTFS partition, connected to WLAN router. Linux PC1 is connected to router on LAN port 1. No other connections.

The router is using latest firmware from the manufacturer (3.0.0.4.380_10732)

# Tests

For comparison, a SAMBA server has been installed on the PC. File transfer speeds from PC1 (linux) to PC2 (win10), connected over the router using LAN, reach 90+ MBps.

# SAMBA configurations

configurations on PC1:

testparm:
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb


[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[sambashare]
comment = Samba on Ubuntu
path = /media/EXT4/sambashare
read only = No


On my router the configuration is the following:

smb.conf:

[global]
workgroup = WORKGROUP
netbios name = RT-AC1200GU-101
server string = RT-AC1200GU-101
unix charset = UTF8
display charset = UTF8
log file = /var/log.samba
log level = 0
max log size = 5
security = SHARE
guest only = yes
encrypt passwords = yes
pam password change = no
null passwords = yes
force directory mode = 0777
force create mode = 0777
max connections = 5
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536
obey pam restrictions = no
use spnego = no
client use spnego = no
disable spoolss = yes
host msdfs = no
strict allocate = no
wide links = no
bind interfaces only = yes
interfaces = lo br0 10.0.1.1/255.255.255.0
hosts allow = 127.0.0.1 10.0.1.1/255.255.255.0
hosts deny = 0.0.0.0/0
use sendfile = yes
map archive = no
map hidden = no
map read only = no
map system = no
store dos attributes = yes
dos filemode = yes
oplocks = yes
level2 oplocks = yes
kernel oplocks = no
[ipc$]
hosts allow = 127.0.0.1 10.0.1.1/255.255.255.0
hosts deny = 0.0.0.0/0
[BACKUPNTFS]
comment = WD My Passport 0820's BACKUPNTFS
veto files = /.__*.txt*/asusware*/asus_lighttpdpasswd/
path = /tmp/mnt/BACKUPNTFS
writeable = yes
dos filetimes = yes
fake directory create times = yes


do I have to change configurations on the router or PC? Is there anything I can change?

any help is much appreciated, thank you.
 
You wont get more on router-USB (its not a NAS), EXT might be faster than NTFS but far from samba-server on your PC.
 
You wont get more on router-USB (its not a NAS), EXT might be faster than NTFS but far from samba-server on your PC.

Truth be told, I never worked with SAMBA before so I don't know anything about it. My naive self assumed a bottleneck on the USB2 interface. A bottleneck on USB2 should be a bit closer to 27MBps for large files.

This router in particular does not support EXT, unfortunately. I didn't try FAT32. I'll try a memory stick to see if it makes any difference.
 
I cannot observe any difference in speed using FAT32, or other drives. What are the speeds I can expect from SAMBA?
 
That router has just 128MB and a 880Mhz processor and a single USB2 port. Too low specs for samba to run correctly on nowadays big disks. I definetly would go for a real NAS or change the router to a much more powerful one. For instance the RT-AX88U does reach 115MB/sec samba transfer speeds, but this router has 1GB and a quad core 1.8Mhz processor ... it is much more expensive though..
 
Thank you this is really great info. where do you look up this information? Because I might still be able to return this device and the store has RT-AC1750U and RT-AC1900U in stock. ASUS product sites don't specify RAM or CPU :(

I hooked up a Raspberry Pi as SAMBA server now and get 9.4MBps. The Paspberry Pi has a fast ethernet connection! o_O

the slow SAMBA is not essential, but it bugs me a little... :(
 
Last edited:
Thank you this is really great info. where do you look up this information? Because I might still be able to return this device and the store has RT-AC1750U and RT-AC1750U in stock. ASUS product sites don't specify RAM or CPU :(

I hooked up a Raspberry Pi as SAMBA server now and get 9.4MBps. The Paspberry Pi has a fast ethernet connection! o_O

the slow SAMBA is not essential, but it bugs me a little... :(

Hi, the specs for routers you can find them searching in google for 'rotername wiki'. Re. The throughput figures I have are for my own experience with a RT-AX88 and a RT-AC3200 I had overclocked to 1.4Ghz (which could reach 55MB/s and was still much more powerful than the 1200).
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top