Community discussions

MikroTik App
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Single TCP Connection issue

Fri Oct 08, 2021 9:47 pm

Hello
as I read on other threads, I am experiencing low speed in single tcp connections test.

I try with iperf through one RB1009 and one 1036, and another 2004 with rj01 (not the eth port)

Multimple tcp stream test, I can saturate easily 1G speed.
Single tcp test, the best case are around 500M

I tried both with fastpath (routing)
fasttrack
no change

I have read that the connection is tied to a single CPU, so the TILE are around 1000-1200MHz, I replaced them with a 2004 with 1.7Ghz ARM cpu, I expected better results, but they are the same.

how can I solve this issue?
Top
sindy
Forum Guru
Forum Guru
Posts: 10009
加入: Mon Dec 04, 2017 9:19 pm

Re: Single TCP Connection issue

Sat Oct 09, 2021 1:10 am

For me, all these single TCP session throughput issues always boiled down to packet loss so far - either caused merely by low quality network or by a too coarse bandwidth shaping. So watch for this at first.
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Sat Oct 09, 2021 11:40 am

Hello, thank you for your reply.
In that part of the network we don't have any shaping or bandwidth restriction.
I am able to reproduce this issue with single tcp connection speed (as other in the forum).
Top
sindy
Forum Guru
Forum Guru
Posts: 10009
加入: Mon Dec 04, 2017 9:19 pm

Re: Single TCP Connection issue

Sat Oct 09, 2021 11:56 am

Have you tried to sniff at the iperf server and iperf client themselves? I don't comment on CCR10xx as there indeed the concept of many relatively weak cores may affect single-stream throughput; I have in mind when testing with the CCR2xxx.
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Wed Oct 20, 2021 11:59 pm

Hello
what do I have to sniff?
Top
mikruser
Long time Member
Long time Member
Posts: 578
加入: Wed Jan 16, 2013 6:28 pm

Re: Single TCP Connection issue

Mon Oct 25, 2021 6:41 pm

how can I solve this issue?
Try replacing hardware routers with CHR routers.
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Mon Oct 25, 2021 6:51 pm

It is not possible. However both 1036 and 2004 have the very same issue.
Top
mikruser
Long time Member
Long time Member
Posts: 578
加入: Wed Jan 16, 2013 6:28 pm

Re: Single TCP Connection issue

Mon Oct 25, 2021 7:26 pm

However both 1036 and 2004 have the very same issue.
Yes, all hardware routers have same issue.
CHR do not have this issue:viewtopic.php?t=146665#p770846
Top
sindy
Forum Guru
Forum Guru
Posts: 10009
加入: Mon Dec 04, 2017 9:19 pm

Re: Single TCP Connection issue

Mon Oct 25, 2021 11:34 pm

what do I have to sniff?
The idea of sniffing is to see whether the throughput is limited by delays between packets or by losses and subsequent retransmissions. So you should sniff the test TCP session and then use Wireshark to look for anomalies.
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Tue Oct 26, 2021 10:46 am

Thank you. There are no limitation in this aspect.
the limitation appears to be on the MT hardware routers
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Wed Oct 27, 2021 7:52 pm

@normis any news?
Top
R1CH
Forum Guru
Forum Guru
Posts: 1089
加入: Sun Oct 01, 2006 11:44 pm

Re: Single TCP Connection issue

Wed Oct 27, 2021 10:06 pm

Is iperf showing dropped packets / retransmission? If not then it's limited by OS on one of the sides. Have you adjusted buffer sizes and window scaling on the sender / receiver?
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Wed Oct 27, 2021 10:28 pm

No losses anywhere. If i replace the mt with a cisco a edgerouter for example, i dont have this limitation
Top
R1CH
Forum Guru
Forum Guru
Posts: 1089
加入: Sun Oct 01, 2006 11:44 pm

Re: Single TCP Connection issue

2021年10月28日星期四12:54

Strange, I've managed about 960mbps through a single TCP connection on a CCR1009. What does tool / profile look like?
Top
用户头像
Maggiore81
Trainer
Trainer
Topic Author
Posts: 518
加入: Sun Apr 15, 2012 12:10 pm
Location:Italy
Contact:

Re: Single TCP Connection issue

Thu Oct 28, 2021 7:36 am

Try doing nat on the ccr, with fasttrack.
Top

Who is online

Users browsing this forum:anav,Bing [Bot]and 20 guests

Baidu
map