Skip to contentSkip to conversation

Performance degradation when monitor interface is enabled

ath9k-devel Ali Abedi 2 participants 2 messages Dec 20, 2012 – Dec 30, 2012 1 message not in the archive

lore
Share & tools
lore

Ali Abedi

author
#1 lore raw
In reply to a message not in the archive

Hi,
I am writing this response to my own question since I have found a workaround for this problem and this may help others as well. So the problem is that if you have an interface wlan0 in managed mode and then add another interface wlan1 in monitor mode it lowers your outgoing throughput. It does not affect the incoming traffic though. The trick is to add the monitor interface wlan1 then remove wlan0 by using "iw dev wlan0 del" and then create wlan0 again. This way the incoming and outgoing traffic is not affected by the monitor interface. This can be caused by a bug in the driver. Those folks who know more about this part of the driver may figure out what is going on after seeing this solution.

Best,
Ali

Quoted 16 lines · Ali Abedi

Hello,

I asked this question once before but didn't get a satisfying answer. In our experiments, with two laptops running Ath9k driver we get about 29 Mbps bandwidth (802.11g configuration + UDP traffic), but when the monitor mode interface is enabled on the sender the throughput drops to 25 Mbps. This is not a performance issue. The performance is unaffected if monitor mode interface is enabled on the receiver (no monitor interface on sender). I really appropriate your answer.

Regards,
Ali Abedi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#2 lore raw
Quoted 4 lines · Ali Abedi

Hi,
I am writing this response to my own question since I have found a workaround for this problem and this may help others as well. So the problem is that if you have an interface wlan0 in managed mode

Quoted 8 lines

and then add another interface wlan1 in monitor mode it lowers your outgoing throughput. It does not affect the incoming traffic though. The trick is to add the monitor interface wlan1 then remove wlan0 by using "iw dev wlan0 del" and then create wlan0 again. This way the incoming and outgoing traffic is not affected by the monitor interface. This can be caused by a bug in the driver. Those folks who know more about this part of the driver may figure out what is going on after seeing this solution.

sure, lets take a look at this(new year). if its a straight forward one we should go ahead and fix it.

Quoted 28 lines

Best,
Ali

Quoted 10 lines · Ali Abedi

Hello,

I asked this question once before but didn't get a satisfying answer. In our experiments, with two laptops running Ath9k driver we get about 29 Mbps bandwidth (802.11g configuration + UDP traffic), but when the monitor mode interface is enabled on the sender the throughput drops to 25 Mbps. This is not a performance issue. The performance is unaffected if monitor mode interface is enabled on the receiver (no monitor interface on sender). I really appropriate your answer.

Quoted 6 lines

Regards,
Ali Abedi
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Signature · 2 lines
thanks,
shafi