Community discussions

MikroTik App
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

HAP AC like simple switch wireless

Tue Jan 14, 2020 4:20 pm

Hello

i want my HAP AC lite 6.41 like simple switch. I have make a very simple config wich works :
nothing else but :
reset configuration with no default configuration
setup a bridge with all ports
dhcp clients on the brigde

it works but i loose the half of my bandwidth only on download (test with ethernet) ?? (90Mb vs 40Mb)


is it due to the performance of HAP AC ?

thanks for your help
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: HAP AC like simple switch wireless

Tue Jan 14, 2020 5:10 pm

is it due to the performance of HAP AC ?
No...
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Tue Jan 14, 2020 6:52 pm

is it due to the performance of HAP AC ?
No...
is it due to the performance of HAP AC ?
No...
an idee maybe ?
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 5:26 pm

after several test, i assume is due to the performance of HAP AC lite

here's my test :
configuration for all device nothing else but :
reset configuration with no default configuration
setup a bridge with all ports
dhcp clients on the brigde

all test via ethernet
huawei modem b715s : speedtest : 120Mb down/20 Mb up

just an ethernet cable between huawei and :
Audience 6.41 = great i loose nothing
HAP AC2 6.41 = great i loose nothing
HAP AC LITE 6.41 = i loose between 50 to 70% of my bandwidth down (around 40Mb)

may be due to 100Mb ethernet of hap ac lite (1Gb/s for audience and HAP AC2) ?
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 6:06 pm

Might be caused by the wireless settings...how did you configure wireless?
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 6:28 pm

Might be caused by the wireless settings...how did you configure wireless?
all test via ethernet

wireless no configure
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2984
Joined: Mon Apr 08, 2019 1:16 am

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 8:26 pm

Fast ethernet negotiation can fall back to half duplex. Worst case is when one side is half duplex and the other is full duplex.
Mikrotik interface status shows the duplex state of the interface.
If the other side does not answer (eg because full/half negotiation is not implemented, or disturbed negotiation) , then half-duplex is assumed by the negotiating interface!!!
The choice full/half may flap between restarts or over time.

If you see half duplex, you might test without "auto negotiation" on the Mikrotik, and set it fixed to "100 Mbps full".
If the Huawei does not negotiate it will improve. If the Huawei did negotiate before, it will now select half-duplex on its own interface. Performance will be bad then.

There are other limitations to the max net transfer rate than the 100 Mbps overall transfer rate. What is the packet size ? Smaller packets = more interpacket delays and more overhead.
 
McSee
Frequent Visitor
Frequent Visitor
Posts: 84
Joined: Tue Feb 26, 2019 12:49 pm

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 10:49 pm

@dad2312
On your mtik - what speed do you see in ethernet ports status, is it 100 Mbps Full Duplex ? Is Hw. Offload activated on bridge ports (look at Bridge/Ports for big H next to port numbers) ?
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 11:16 pm

Fast ethernet negotiation can fall back to half duplex. Worst case is when one side is half duplex and the other is full duplex.
Mikrotik interface status shows the duplex state of the interface.
If the other side does not answer (eg because full/half negotiation is not implemented, or disturbed negotiation) , then half-duplex is assumed by the negotiating interface!!!
The choice full/half may flap between restarts or over time.

If you see half duplex, you might test without "auto negotiation" on the Mikrotik, and set it fixed to "100 Mbps full".
If the Huawei does not negotiate it will improve. If the Huawei did negotiate before, it will now select half-duplex on its own interface. Performance will be bad then.

There are other limitations to the max net transfer rate than the 100 Mbps overall transfer rate. What is the packet size ? Smaller packets = more interpacket delays and more overhead.
i confirm all are on 100Mb/s full duplex (huawei -> hapac lite and hapac lite -> mypc)

The speedtest is made by several speedtest online like www.speedtest.net or other
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 11:25 pm

@dad2312
On your mtik - what speed do you see in ethernet ports status, is it 100 Mbps Full Duplex ? Is Hw. Offload activated on bridge ports (look at Bridge/Ports for big H next to port numbers) ?
i confirm all is on 100Mbs full duplex and HW offload activated
bridge.JPG
You do not have the required permissions to view the files attached to this post.
 
User avatar
ingdaka
Trainer
Trainer
Posts: 452
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: HAP AC like simple switch wireless

Wed Jan 15, 2020 11:38 pm

Yes it is because of performance of hAP AC Lite, look ate the picture below! With 40-45 Mbps it goes to 95-100% Processor usage! So cannot support more traffic! I have more than 80 of those routers and is the same thing! I use this for clients that need under 20Mbps and need WiFi just for small areas!
Image
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Thu Jan 16, 2020 2:06 am

Yes it is because of performance of hAP AC Lite, look ate the picture below! With 40-45 Mbps it goes to 95-100% Processor usage! So cannot support more traffic! I have more than 80 of those routers and is the same thing! I use this for clients that need under 20Mbps and need WiFi just for small areas!



I understand but i don't verify what's you say


cpu.JPG
You do not have the required permissions to view the files attached to this post.
 
User avatar
macsrwe
Forum Guru
Forum Guru
Posts: 1007
Joined: Mon Apr 02, 2007 5:43 am
Location: Arizona, USA
Contact:

Re: HAP AC like simple switch wireless

Thu Jan 16, 2020 3:04 am

Yes it is because of performance of hAP AC Lite, look ate the picture below! With 40-45 Mbps it goes to 95-100% Processor usage! So cannot support more traffic!
It looks like you are running btest TO the device in the image. If so, you are also measuring the CPU eaten up by the btest processes.

Run btest THROUGH this device, using two unrelated units, and you should see this greatly improve.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: HAP AC like simple switch wireless

Fri Jan 17, 2020 1:17 am

It looks like you are running btest TO the device
Correct... He tests it in a wrong way...
 
User avatar
ingdaka
Trainer
Trainer
Posts: 452
Joined: Thu Aug 30, 2012 3:06 pm
Location: Albania
Contact:

Re: HAP AC like simple switch wireless

Fri Jan 17, 2020 11:07 pm

Yes it is because of performance of hAP AC Lite, look ate the picture below! With 40-45 Mbps it goes to 95-100% Processor usage! So cannot support more traffic!
It looks like you are running btest TO the device in the image. If so, you are also measuring the CPU eaten up by the btest processes.

Run btest THROUGH this device, using two unrelated units, and you should see this greatly improve.
I've tested in both ways and is the same thing! Btest processes not use more than 5% of processor all other is used by networking! That device stays 1-6% of processor usage just doing nothing!
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2984
Joined: Mon Apr 08, 2019 1:16 am

Re: HAP AC like simple switch wireless

Fri Jan 17, 2020 11:32 pm

Just trying to help look around ....
If I see your screenshot,ingdaka, I see ROS 6.45.7 but still some traces of the old way of using switch hardware (ether2-master), it's only the name not the config, but it is probably an upgraded config.
Ether1 is not part of the bridge-port group (it's not slave), and so usually is at the other side of the firewall. Session tracking and even firewall rules may be triggered, using CPU. Just wondering if this is the case.

With dad2312 I see none of this. (all interfaces are part of the bridge). So the switch chip is doing the work. (Atheros7228). Why is it so slow? Store and forward mode (versus cut through mode)? Switch backpressure because of some half-duplex interface? Loop detection or flow control interfering? If have no idea! What do Rx, TX and status counters reveal ?
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2984
Joined: Mon Apr 08, 2019 1:16 am

Re: HAP AC like simple switch wireless

Sat Jan 18, 2020 12:25 am

My little quick and dirty test setup (ROS versions different and taken off a WLAN-ptp network)
I connected a "hAPac2" - to -" hAP ac Lite" - to - "mAP Lite". Connection from hAP ac2 to mAP Lite passes over the hAP ac Lite switch.
Only the hAP ac2 has 1Gbps interfaces.

My simple test shows me full speed in all directions.
You do not have the required permissions to view the files attached to this post.
Last edited by bpwl on Sat Jan 18, 2020 1:55 pm, edited 1 time in total.
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Sat Jan 18, 2020 11:01 am

My little quick and durty test setup (ROS versions different and taken off a WLAN-ptp network)
I connected a "hAPac2" - to -" hAP ac Lite" - to - "mAP Lite". Connection from hAP ac2 to mAP Lite passes over the hAP ac Lite switch.
Only the hAP ac2 has 1Gbps interfaces.

My simple test shows me full speed in all directions.
ouaou bpwl thank you very much for your test, i know definitively now i have trouble with something (i don t know where yet but your test is à real proof)
thanks again !
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Sun Jan 19, 2020 11:35 am

ok i have the answer,

i test huawei b715s with other stuff (not mikrotik) on ethernet
when other device (like connect tv) have 100 Mb ethernet i loose more half on bandwidh
when other device have 1Gbs ethernet i loose nothing

issue come from huawei

thanks to all
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2984
Joined: Mon Apr 08, 2019 1:16 am

Re: HAP AC like simple switch wireless

Sun Jan 19, 2020 11:50 am

 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: HAP AC like simple switch wireless

Sun Jan 19, 2020 5:04 pm

@ingdaka that is not the correct way to test the actual bandwidth of a device.. it is simply wrong...
 
dad2312
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 73
Joined: Sun Nov 17, 2019 12:55 pm

Re: HAP AC like simple switch wireless

Mon Jan 20, 2020 2:39 pm

Check this .... viewtopic.php?f=2&t=156318
Thanks
all ethernet port is on auto negociation and show 100Mb/s full duplex, i try to force 100Mb/s (even if the post tell you don't have to do this if you let over device on auto negociation => on my modem i can't touch this value) and the result is the same.

i think it's my modem who has bad management

Who is online

Users browsing this forum: ivicask, johnson73, mada3k, pajapatak, rhn007 and 106 guests