Hi!
I have install 384.8_2 on my AC-RT66U_b1 to be able to cofigure SMB. SMB main conf is:
Connected 3.5 USB3 HDD with separate power source. (MAIVO K3568g2+WDC WD40 EFRX-68N32N0).
On PC i have 100-150 MB/s (800-1200 Mb/s)+- seq read, depends on part of the disk and 20% less seq write.
Log tells me next thing:
In result i get 37-40 MB/s (up to 320 Mb/s) seq download and nearly 100% router CPU usage. What I did wrong?
I have install 384.8_2 on my AC-RT66U_b1 to be able to cofigure SMB. SMB main conf is:
[global]
workgroup = WORKGROUP
netbios name = RT-AC66U_B1
server string = RT-AC66U_B1
unix charset = UTF8
display charset = UTF8
load printers = no
printing = bsd
printcap name = /dev/null
log file = /var/log.samba
log level = 0
max log size = 5
security = USER
guest ok = no
map to guest = Bad User
encrypt passwords = yes
pam password change = no
null passwords = yes
force directory mode = 0777
force create mode = 0777
max connections = 5
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
obey pam restrictions = no
disable spoolss = yes
host msdfs = no
strict allocate = no
strict locking = no
wide links = no
bind interfaces only = yes
interfaces = lo br0 192.168.1.1/255.255.255.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
wins support = yes
enable core files = no
deadtime = 30
load printers = no
printable = no
max protocol = SMB2
smb encrypt = disabled
min receivefile size = 16384
passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd
workgroup = WORKGROUP
netbios name = RT-AC66U_B1
server string = RT-AC66U_B1
unix charset = UTF8
display charset = UTF8
load printers = no
printing = bsd
printcap name = /dev/null
log file = /var/log.samba
log level = 0
max log size = 5
security = USER
guest ok = no
map to guest = Bad User
encrypt passwords = yes
pam password change = no
null passwords = yes
force directory mode = 0777
force create mode = 0777
max connections = 5
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
obey pam restrictions = no
disable spoolss = yes
host msdfs = no
strict allocate = no
strict locking = no
wide links = no
bind interfaces only = yes
interfaces = lo br0 192.168.1.1/255.255.255.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
wins support = yes
enable core files = no
deadtime = 30
load printers = no
printable = no
max protocol = SMB2
smb encrypt = disabled
min receivefile size = 16384
passdb backend = smbpasswd
smb passwd file = /etc/samba/smbpasswd
On PC i have 100-150 MB/s (800-1200 Mb/s)+- seq read, depends on part of the disk and 20% less seq write.
Log tells me next thing:
May 5 08:05:03 kernel: xhci_hcd 0000:00:0c.0: Failed to enable MSI-X
May 5 08:05:03 kernel: xhci_hcd 0000:00:0c.0: failed to allocate MSI entry
May 5 08:05:03 kernel: usb usb1: No SuperSpeed endpoint companion for config 1 interface 0 altsetting 0 ep 129: using minimum values
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 16 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 5 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 16 for vlan2 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 5 for vlan2 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 13 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 1 for vlan1 mvlan_en 0
May 5 08:05:04 nat: apply redirect rules
May 5 08:05:09 WAN_Connection: ISP's DHCP did not function properly.
May 5 08:05:13 RT-AC66U_B1: start https:8443
May 5 08:05:13 RT-AC66U_B1: start httpd:80
May 5 08:05:14 NAT_Tunnel: AAE Service is stopped
May 5 08:05:14 AAE: AAE Service is started
May 5 08:05:14 kernel: gro enabled with interval 2
May 5 08:05:14 disk_monitor: be idle
May 5 08:05:14 hour_monitor: daemon is starting
May 5 08:05:14 httpd: Generating SSL certificate...
May 5 08:05:14 avahi-daemon[303]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
May 5 08:05:14 custom_config: Using custom /jffs/configs/smb.conf config file.
May 5 08:05:15 avahi-daemon[303]: Alias name "RT-AC66U_B1" successfully established.
May 5 08:05:16 Samba_Server: daemon is started
May 5 08:05:17 jffs2: valid logs(1)
May 5 08:05:18 lldpd[380]: cannot get ethtool link information with GLINKSETTINGS (requires 4.9+): Operation not permitted
May 5 08:05:18 lldpd[380]: cannot get ethtool link information with GSET (requires 2.6.19+): Operation not permitted
May 5 08:05:20 Mastiff: init
May 5 08:05:21 rc_service: udhcpc 458:notify_rc start_firewall
May 5 08:05:21 wan: finish adding multi routes
May 5 08:05:21 kernel: SCSI subsystem initialized
May 5 08:05:21 rc_service: udhcpc 458:notify_rc stop_upnp
May 5 08:05:21 rc_service: waitting "start_firewall" via udhcpc ...
May 5 08:05:22 kernel: csw_retry 100
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: disable burst on ep 1
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN no SS endpoint bMaxBurst
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: disable burst on ep 2
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN no SS endpoint bMaxBurst
May 5 08:05:24 nat: apply nat rules (/tmp/nat_rules_eth0_eth0)
May 5 08:05:24 kernel: scsi 0:0:0:0: Direct-Access WDC WD40 EFRX-68N32N0 0 PQ: 0 ANSI: 6
May 5 08:05:24 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
May 5 08:05:24 kernel: xhci_hcd 0000:00:0c.0: WARN: Stalled endpoint
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Write Protect is off
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
May 5 08:05:24 kernel: xhci_hcd 0000:00:0c.0: WARN: Stalled endpoint
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
May 5 08:05:03 kernel: xhci_hcd 0000:00:0c.0: failed to allocate MSI entry
May 5 08:05:03 kernel: usb usb1: No SuperSpeed endpoint companion for config 1 interface 0 altsetting 0 ep 129: using minimum values
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 16 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 5 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 16 for vlan2 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 5 for vlan2 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 13 for vlan1 mvlan_en 0
May 5 08:05:03 kernel: et0: et_mvlan_netdev_event: event 1 for vlan1 mvlan_en 0
May 5 08:05:04 nat: apply redirect rules
May 5 08:05:09 WAN_Connection: ISP's DHCP did not function properly.
May 5 08:05:13 RT-AC66U_B1: start https:8443
May 5 08:05:13 RT-AC66U_B1: start httpd:80
May 5 08:05:14 NAT_Tunnel: AAE Service is stopped
May 5 08:05:14 AAE: AAE Service is started
May 5 08:05:14 kernel: gro enabled with interval 2
May 5 08:05:14 disk_monitor: be idle
May 5 08:05:14 hour_monitor: daemon is starting
May 5 08:05:14 httpd: Generating SSL certificate...
May 5 08:05:14 avahi-daemon[303]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
May 5 08:05:14 custom_config: Using custom /jffs/configs/smb.conf config file.
May 5 08:05:15 avahi-daemon[303]: Alias name "RT-AC66U_B1" successfully established.
May 5 08:05:16 Samba_Server: daemon is started
May 5 08:05:17 jffs2: valid logs(1)
May 5 08:05:18 lldpd[380]: cannot get ethtool link information with GLINKSETTINGS (requires 4.9+): Operation not permitted
May 5 08:05:18 lldpd[380]: cannot get ethtool link information with GSET (requires 2.6.19+): Operation not permitted
May 5 08:05:20 Mastiff: init
May 5 08:05:21 rc_service: udhcpc 458:notify_rc start_firewall
May 5 08:05:21 wan: finish adding multi routes
May 5 08:05:21 kernel: SCSI subsystem initialized
May 5 08:05:21 rc_service: udhcpc 458:notify_rc stop_upnp
May 5 08:05:21 rc_service: waitting "start_firewall" via udhcpc ...
May 5 08:05:22 kernel: csw_retry 100
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN: short transfer on control ep
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: disable burst on ep 1
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN no SS endpoint bMaxBurst
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: disable burst on ep 2
May 5 08:05:23 kernel: xhci_hcd 0000:00:0c.0: WARN no SS endpoint bMaxBurst
May 5 08:05:24 nat: apply nat rules (/tmp/nat_rules_eth0_eth0)
May 5 08:05:24 kernel: scsi 0:0:0:0: Direct-Access WDC WD40 EFRX-68N32N0 0 PQ: 0 ANSI: 6
May 5 08:05:24 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] 4096-byte physical blocks
May 5 08:05:24 kernel: xhci_hcd 0000:00:0c.0: WARN: Stalled endpoint
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Write Protect is off
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
May 5 08:05:24 kernel: xhci_hcd 0000:00:0c.0: WARN: Stalled endpoint
May 5 08:05:24 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Last edited: