Modify

Opened 6 years ago

Last modified 4 years ago

#11296 new defect

Regresson in Wired Throughput

Reported by: alphasparc@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

A Wired Samba File Copy is slower and sometimes hanging on TP-Link WR1043ND.
A Wireless Samba File Copy copies the file faster with no hanging.
This makes no sense since a Wired Copy should be faster with less overhead.
The Samba Share is a USB connected external harddisk hosted on the Router.

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by alphasparc@…

This happens when using a Windows Client to connect to the router via Ethernet Cable.

comment:2 Changed 6 years ago by alphasparc@…

The network utilisation graph looks like this
_/\_/\_/\
Instead of something like this


comment:3 Changed 6 years ago by alphasparc@…

Hi, you can close the issue.
I fixed it, but I am not sure if you like the fix.
The problem is the lack of buffer in tcp mem.
I fixed it by increasing the wmem and rmem memory the original was too low to provide good file transfer performance.
This is my new /etc/sysctl.conf
net.ipv4.tcp_rmem = 4096 87380 1048576
net.ipv4.tcp_wmem = 4096 65536 1048576
net.ipv4.tcp_mem = 1048576 1048576 1048576
The center value is the default windows size I set it to 64kb which is windows os size
Then I set the max to 1MB.
These value provides good samba performance.

comment:4 Changed 6 years ago by alphasparc@…

Remove the last line
<code>
net.ipv4.tcp_mem = 1048576 1048576 1048576
</code>
tcp_mem is suppose to be autodetected by the system, there is no need to modify it.
Just append
<code>
net.ipv4.tcp_rmem = 4096 87380 1048576
net.ipv4.tcp_wmem = 4096 65536 1048576
</code>
will do

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.