Hello,
I bought this router just because of 1GBit ethernet ports and now I see that I cannot get higher speed than 100Mbit
my case:
two computers where is each conected into 1Gbit port (eth1, eth2)
one computer is on a subnet 192.168.1.0/24 (eth1)
second on is on a subnet 192.168.10.0/24 (eth2)
for testing transfer speed I use tool “iperf”
**zdenek@debian-zdenek:~$ iperf -c 192.168.10.1
Client connecting to 192.168.10.1, TCP port 5001
TCP window size: 16.0 KByte (default)
[ 3] local 192.168.6.116 port 34286 connected with 192.168.10.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 112 MBytes 94.2 Mbits/sec
zdenek@debian-zdenek:~$**
Client connecting to 192.168.10.1, UDP port 5001
Sending 1500 byte datagrams
UDP buffer size: 122 KByte (default)
[ 3] local 192.168.1.1 port 36481 connected with 192.168.10.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 3] Sent 875 datagrams
[ 3] WARNING: did not receive ack of last datagram after 10 tries.
supervisor@linux-server:~$
Client connecting to 192.168.10.1, UDP port 5001
Sending 1500 byte datagrams
UDP buffer size: 122 KByte (default)
[ 3] local 192.168.1.1 port 48276 connected with 192.168.10.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 3] Sent 875 datagrams
[ 3] Server Report:
[ 3] 0.0-10.0 sec 1.23 MBytes 1.03 Mbits/sec 0.503 ms 0/ 875 (0%)
supervisor@linux-server:~$
**
The RB2011 CPU cannot process packets at Gb/s Speeds it generally maxes out at about 100Mb/s from my experience (You can confirm by performing your test and watching the CPU monitor in Inbox). However you can gain wire speed switching ability (1Gb/s) by utilizing the switch chip. This is achieved by setting a master port say ether1 and the other ports as slaves. The master port is then added to the bridge, whilst the slave ports are marked as a slave in the interfaces menu by specifying a master port for all on that switch chip. However I do not believe that the switch chip can do changing sub nets, thus your router board cannot function an better by software configurations sorry.
If any of this is not clear or you require a more detailed demonstration/explanation I will be happy to provide.
Considering 99% of the data transferred with typical file transfers is TCP, your tests are accurate.
I have a 2011-UAS and it maxes out at about 130mbps or so TCP routing.
If you have two computers on two subnets, you are routing data between them. You are maxing out the CPU. You can confirm that by watching the CPU in the “resources” page.
To compare two devices at their maximum possible performance, one has to use the same tests on both devices. Maximum speed is achieved with large packet UDP. If you want to compare anything, conditions must be the same.
Client connecting to 192.168.1.1, TCP port 5001
TCP window size: 16.0 KByte (default)
[ 3] local 192.168.6.116 port 41402 connected with 192.168.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 314 MBytes 263 Mbits/sec
zdenek@debian-zdenek:~$**
Second, why the hell everyone uses some artificial testing programs… If you have good internet connection - download some popular torrent, if no - make a FTP server and download with several connection at once…
I fight it almost every week - users run some speedtest and then complain, after they see actual torrent or FTP speed - complains stop.
IPERF is professional Unix tool
Iperf was developed by the Distributed Applications Support Team (DAST) at the National Laboratory for Applied Network Research (NLANR), a research lab that merged with the University of California San Diego’s CAIDA group, but which was shut down on December 31, 2006 due to termination of funding by the USA’s NSF.
ok …
say me how I can test the transfer speed when in office I have just one routerboard
i need generate trafic from PC to PC cause this is real case
now Iam trying copy files from station(linux) to station(linux) over ssh, exactly say SFTP(secure FTP on port 22)
and actually speed is max 87Mbit
and also Iam trying copy files over windows share and average is 230Mbit - it is better
I understand with what you are saying, and I agree with you, but I am talking about real world scenarios, not testing.
Single thread (aka transferring files via smb) routing 1500byte packets single threaded, average thruput will be about 140mbit if you have a few firewall rules enabled. Sure, if you run multiple connections you will see higher thruput, but “typical” useage that a “normal user” will see is roughly 140mbit. I have 3 2011’s here and have tested them time and time again and 140mbit TCP is average for a single routed connection between 2 subnets, even using the built in speed test from 2011 to 2011. Sure, add some connections and the speed goes up, but that isn’t “real world what a user would see on their desktop”.
Brings up a good point though as there seems to be some kind of inefficiency in the RouterOS programming to have such a speed difference between a single connection and what the device can actually handle (multiple connections).
This is not specific to RouterOS or RouterBOARD. Any device will show slower results with single TCP connection. This is how TCP works, and is not related to our software. In addition to that, you only run the test for 10 seconds. This is not enough. The test should be run longer, and with 20 connections in parallel. TCP is slow to start. I suggest reading through this http://tools.ietf.org/html/rfc6349