All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] Atheros Throughput with Aggregation & Encryption
@ 2008-07-29  0:33 charles at thewybles.com
  2008-07-29  0:33 ` Mahesh Kumar
  0 siblings, 1 reply; 9+ messages in thread
From: charles at thewybles.com @ 2008-07-29  0:33 UTC (permalink / raw)
  To: ath9k-devel

What version of the code?
What version of the linux kernel?
What compile tool chain?
What distro? 

Thanks. 

Charles


------Original Message------
From: Mahesh Kumar
Sender: ath9k-devel-bounces at lists.ath9k.org
To: ath9k-devel at lists.ath9k.org
ReplyTo: mkumar at solectek.com
Sent: Jul 28, 2008 4:11 PM
Subject: [ath9k-devel] Atheros Throughput with Aggregation & Encryption

Hello,

We have a critical issue in getting the high throughput, once we enable 
both the Aggregation (AMPDU) and Encryption (WPA) at the same time. (We 
are using the AR9160 chipset.)

Our test setup is like this,

[PC1] ---> [Access Point] --> [Client] --> [PC2].

We are sending a 100 Mbps of UDP traffic from PC1 to PC2. The 
Aggregation (AMPDU) & Encryption are enabled on both "Access point" and 
the "Client". Very low traffic ( < 1Mbps) is reaching at the PC2, that 
also occasionally. Most of the traffic is dropped at the Access point 
itself. When we check the transmit status descriptor at the Access 
point, it shows , lots of "Tx delimiter under-run error" & " Tx data 
under-run error".

Once the driver gets "under-run" error, it starts adjusting the Tx FIFO 
trigger level [TXCFG register, Frame Trigger level], and it finally 
reaches it's maximum. This register specifies the minimum number of 
bytes that must be DMAed  into the PCU TXFIFO, before the PCU initiates 
the frame on the air.

Any idea on why it's happening ?. Are we missing any special kind of 
configuration ?. Or is there any known issue when we enable both 
Aggregation (AMPDU) and encryption simultaneously ?.

The same setup is working, if we disable the Encryption ( getting around 
95.7 Mbps). Also the encryption alone is working, without the 
Aggregation, though we are getting a degraded performance ( max around 
30 Mbps.)
 

Thanks in advance,
Mahesh.
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel



Sent via BlackBerry from T-Mobile

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ath9k-devel] Atheros Throughput with Aggregation & Encryption
@ 2008-07-29  0:39 charles at thewybles.com
  2008-07-29  0:38 ` Mahesh Kumar
  0 siblings, 1 reply; 9+ messages in thread
From: charles at thewybles.com @ 2008-07-29  0:39 UTC (permalink / raw)
  To: ath9k-devel

Also does this occur with just UDP traffic? How about tcp? Sctp? Dccp? 

What is your sample length? 5 minutes? 1 hour? 

How about with another card? 
Sure someone isn't running a microwave when your testing? :)

Very interesting little problem you have going on. Look forward to seeing the resolution. 

Charles Wyble

------Original Message------
From: Mahesh Kumar
Sender: ath9k-devel-bounces at lists.ath9k.org
To: ath9k-devel at lists.ath9k.org
ReplyTo: mkumar at solectek.com
Sent: Jul 28, 2008 4:11 PM
Subject: [ath9k-devel] Atheros Throughput with Aggregation & Encryption

Hello,

We have a critical issue in getting the high throughput, once we enable 
both the Aggregation (AMPDU) and Encryption (WPA) at the same time. (We 
are using the AR9160 chipset.)

Our test setup is like this,

[PC1] ---> [Access Point] --> [Client] --> [PC2].

We are sending a 100 Mbps of UDP traffic from PC1 to PC2. The 
Aggregation (AMPDU) & Encryption are enabled on both "Access point" and 
the "Client". Very low traffic ( < 1Mbps) is reaching at the PC2, that 
also occasionally. Most of the traffic is dropped at the Access point 
itself. When we check the transmit status descriptor at the Access 
point, it shows , lots of "Tx delimiter under-run error" & " Tx data 
under-run error".

Once the driver gets "under-run" error, it starts adjusting the Tx FIFO 
trigger level [TXCFG register, Frame Trigger level], and it finally 
reaches it's maximum. This register specifies the minimum number of 
bytes that must be DMAed  into the PCU TXFIFO, before the PCU initiates 
the frame on the air.

Any idea on why it's happening ?. Are we missing any special kind of 
configuration ?. Or is there any known issue when we enable both 
Aggregation (AMPDU) and encryption simultaneously ?.

The same setup is working, if we disable the Encryption ( getting around 
95.7 Mbps). Also the encryption alone is working, without the 
Aggregation, though we are getting a degraded performance ( max around 
30 Mbps.)
 

Thanks in advance,
Mahesh.
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel



Sent via BlackBerry from T-Mobile

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ath9k-devel] Atheros Throughput with Aggregation & Encryption
@ 2008-07-28 23:11 Mahesh Kumar
  0 siblings, 0 replies; 9+ messages in thread
From: Mahesh Kumar @ 2008-07-28 23:11 UTC (permalink / raw)
  To: ath9k-devel

Hello,

We have a critical issue in getting the high throughput, once we enable 
both the Aggregation (AMPDU) and Encryption (WPA) at the same time. (We 
are using the AR9160 chipset.)

Our test setup is like this,

[PC1] ---> [Access Point] --> [Client] --> [PC2].

We are sending a 100 Mbps of UDP traffic from PC1 to PC2. The 
Aggregation (AMPDU) & Encryption are enabled on both "Access point" and 
the "Client". Very low traffic ( < 1Mbps) is reaching at the PC2, that 
also occasionally. Most of the traffic is dropped at the Access point 
itself. When we check the transmit status descriptor@the Access 
point, it shows , lots of "Tx delimiter under-run error" & " Tx data 
under-run error".

Once the driver gets "under-run" error, it starts adjusting the Tx FIFO 
trigger level [TXCFG register, Frame Trigger level], and it finally 
reaches it's maximum. This register specifies the minimum number of 
bytes that must be DMAed  into the PCU TXFIFO, before the PCU initiates 
the frame on the air.

Any idea on why it's happening ?. Are we missing any special kind of 
configuration ?. Or is there any known issue when we enable both 
Aggregation (AMPDU) and encryption simultaneously ?.

The same setup is working, if we disable the Encryption ( getting around 
95.7 Mbps). Also the encryption alone is working, without the 
Aggregation, though we are getting a degraded performance ( max around 
30 Mbps.)
 

Thanks in advance,
Mahesh.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-07-30  1:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29  0:33 [ath9k-devel] Atheros Throughput with Aggregation & Encryption charles at thewybles.com
2008-07-29  0:33 ` Mahesh Kumar
2008-07-29  3:10   ` Luis R. Rodriguez
2008-07-29 17:41     ` Mahesh Kumar
2008-07-29 20:17       ` Mahesh Kumar
2008-07-30  1:32         ` Sujith
  -- strict thread matches above, loose matches on Subject: below --
2008-07-29  0:39 charles at thewybles.com
2008-07-29  0:38 ` Mahesh Kumar
2008-07-28 23:11 Mahesh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.