Community discussions

MikroTik App
 
User avatar
jwcn
Forum Guru
Forum Guru
Topic Author
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Slow TCP Speeds

Tue Feb 11, 2014 7:48 pm

I have several routers that seem to hit a brick wall around 30 megs of TCP traffic using the bandwidth test tool between routers to test. CPU utilization never peaks above 40%. It makes no difference what type of Interface queue is being used. NAT, connection tracking, enabled or disabled seems to make no difference. The only notable difference I see is if I increase the connection count to 100 I can get the speed up to around 40-45 megs. UDP connection shows right around 100 megs each direction. Very straight forward configuration - DHCP, couple static NAT's, no shaping, layer 7 or firewall rules.

I've seen this problem crop up over and over again but never any real resolution that I can find. Has anyone figured this out before? Any ideas?
 
onnoossendrijver
Member
Member
Posts: 488
Joined: Mon Jul 14, 2008 11:10 am
Location: The Netherlands

Re: Slow TCP Speeds

Tue Feb 11, 2014 8:20 pm

Don't use btest on the router itself. It is cr*p. The CPU in most routers is not suitable for all the tasks required to test TCP speeds.

If you need to do a decent test just get 2 ordinary PC's with a modern OS like Windows 7 or better, Linux with 3.x kernel or Mac OS X 10.9 and do a bandwith test using 'iperf'.
 
User avatar
jwcn
Forum Guru
Forum Guru
Topic Author
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: Slow TCP Speeds

Tue Feb 11, 2014 8:51 pm

That would hold water if the CPU was spiking anywhere near the maximum but it isn't.
 
onnoossendrijver
Member
Member
Posts: 488
Joined: Mon Jul 14, 2008 11:10 am
Location: The Netherlands

Re: Slow TCP Speeds

Tue Feb 11, 2014 10:32 pm

That would hold water if the CPU was spiking anywhere near the maximum but it isn't.
Maybe.. still, try iperf. Routers are always better in handling traffic going through than traffic to/from the router itself.
And of course, that is what you want to know the performance of.

Who is online

Users browsing this forum: No registered users and 32 guests