Date: Mon, 19 Mar 2012 22:20:14 GMT From: Vincent Hoffman <vince@unsane.co.uk> To: freebsd-wireless@FreeBSD.org Subject: Re: kern/166190: [ath] TX hangs and frames stuck in TX queue Message-ID: <201203192220.q2JMKECm059189@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/166190; it has been noted by GNATS. From: Vincent Hoffman <vince@unsane.co.uk> To: Adrian Chadd <adrian.chadd@gmail.com> Cc: "bug-followup@freebsd.org" <bug-followup@freebsd.org> Subject: Re: kern/166190: [ath] TX hangs and frames stuck in TX queue Date: Mon, 19 Mar 2012 22:10:57 +0000 This is a multi-part message in MIME format. --------------070001010500040909030800 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit During an iperf test Total TX buffers went from 512 -> 356) iperf output (tcp, sending form freebsd machine to osx laptop [ 4] 0.0-60.2 sec 154 MBytes 21.4 Mbits/sec) dmesg output: no tx bufs (empty list): 0 no tx bufs (was busy): 0 aggr single packet: 14372 aggr single packet w/ BAW closed: 0 aggr non-baw packet: 1 aggr aggregate packet: 119987 aggr single packet low hwq: 641424 aggr sched, no work: 15333 0: 0 1: 0 2: 7811 3: 5690 4: 5077 5: 4509 6: 4675 7: 4546 8: 5255 9: 5061 10: 4796 11: 9393 12: 3094 13: 2604 14: 2647 15: 2301 16: 4372 17: 2440 18: 4558 19: 8300 20: 6962 21: 4679 22: 2404 23: 1270 24: 1076 25: 929 26: 866 27: 856 28: 835 29: 895 30: 1033 31: 1016 32: 10037 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 0 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 HW TXQ 0: axq_depth=0, axq_aggr_depth=0 HW TXQ 1: axq_depth=0, axq_aggr_depth=0 HW TXQ 2: axq_depth=0, axq_aggr_depth=0 HW TXQ 3: axq_depth=0, axq_aggr_depth=0 HW TXQ 8: axq_depth=0, axq_aggr_depth=0 Total TX buffers: 512; Total TX buffers busy: 0 no tx bufs (empty list): 0 no tx bufs (was busy): 0 aggr single packet: 14553 aggr single packet w/ BAW closed: 0 aggr non-baw packet: 1 aggr aggregate packet: 121203 aggr single packet low hwq: 643315 aggr sched, no work: 15414 0: 0 1: 0 2: 7931 3: 5744 4: 5116 5: 4554 6: 4716 7: 4577 8: 5284 9: 5097 10: 4822 11: 9425 12: 3123 13: 2628 14: 2671 15: 2322 16: 5036 17: 2442 18: 4558 19: 8300 20: 6962 21: 4679 22: 2404 23: 1270 24: 1076 25: 929 26: 866 27: 856 28: 835 29: 895 30: 1033 31: 1016 32: 10037 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 0 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 HW TXQ 0: axq_depth=0, axq_aggr_depth=0 HW TXQ 1: axq_depth=2, axq_aggr_depth=2 HW TXQ 2: axq_depth=0, axq_aggr_depth=0 HW TXQ 3: axq_depth=0, axq_aggr_depth=0 HW TXQ 8: axq_depth=0, axq_aggr_depth=0 Total TX buffers: 481; Total TX buffers busy: 0 no tx bufs (empty list): 0 no tx bufs (was busy): 0 aggr single packet: 14928 aggr single packet w/ BAW closed: 0 aggr non-baw packet: 1 aggr aggregate packet: 125149 aggr single packet low hwq: 645085 aggr sched, no work: 15673 0: 0 1: 0 2: 8187 3: 5884 4: 5230 5: 4653 6: 4801 7: 4649 8: 5347 9: 5168 10: 4891 11: 9496 12: 3305 13: 2715 14: 2753 15: 2399 16: 7473 17: 2464 18: 4565 19: 8304 20: 6966 21: 4681 22: 2405 23: 1270 24: 1077 25: 929 26: 866 27: 856 28: 835 29: 895 30: 1033 31: 1016 32: 10037 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 0 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 HW TXQ 0: axq_depth=0, axq_aggr_depth=0 HW TXQ 1: axq_depth=2, axq_aggr_depth=1 HW TXQ 2: axq_depth=0, axq_aggr_depth=0 HW TXQ 3: axq_depth=0, axq_aggr_depth=0 HW TXQ 8: axq_depth=0, axq_aggr_depth=0 Total TX buffers: 502; Total TX buffers busy: 0 no tx bufs (empty list): 0 no tx bufs (was busy): 0 aggr single packet: 15237 aggr single packet w/ BAW closed: 0 aggr non-baw packet: 1 aggr aggregate packet: 127403 aggr single packet low hwq: 646324 aggr sched, no work: 15851 0: 0 1: 0 2: 8360 3: 5998 4: 5304 5: 4703 6: 4846 7: 4701 8: 5377 9: 5216 10: 4935 11: 9544 12: 3383 13: 2753 14: 2811 15: 2441 16: 8822 17: 2474 18: 4566 19: 8304 20: 6966 21: 4681 22: 2406 23: 1270 24: 1077 25: 929 26: 866 27: 856 28: 835 29: 895 30: 1033 31: 1016 32: 10037 33: 0 34: 0 35: 0 36: 0 37: 0 38: 0 39: 0 40: 0 41: 0 42: 0 43: 0 44: 0 45: 0 46: 0 47: 0 48: 0 49: 0 50: 0 51: 0 52: 0 53: 0 54: 0 55: 0 56: 0 57: 0 58: 0 59: 0 60: 0 61: 0 62: 0 63: 0 HW TXQ 0: axq_depth=0, axq_aggr_depth=0 HW TXQ 1: axq_depth=2, axq_aggr_depth=2 HW TXQ 2: axq_depth=0, axq_aggr_depth=0 HW TXQ 3: axq_depth=0, axq_aggr_depth=0 HW TXQ 8: axq_depth=0, axq_aggr_depth=0 Total TX buffers: 356; Total TX buffers busy: 0 On 19/03/2012 21:49, Adrian Chadd wrote: > Just check the txagg sysctl and mae sure your buffer count stays up > around 512. > > I want to make sure that buffers aren't being leaked. > > Thanks again! > > > > Sent from my Palm Pre on AT&T > > ------------------------------------------------------------------------ > On Mar 19, 2012 2:38 PM, Vincent Hoffman <vince@unsane.co.uk> wrote: > > Hi Adrian, > > > This patch is looking good as yet, I've repeated tests that were > previously causing timeouts and as yet not been able cause a timeout > after applying this patch. > > Its not definitive but so far it appears to have resolved this issue > for me. > > > Regards, > Vince Hoffman --------------070001010500040909030800 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> During an iperf test<br> Total TX buffers went from 512 -> 356)<br> <br> iperf output (tcp, sending form freebsd machine to osx laptop [ 4] 0.0-60.2 sec 154 MBytes 21.4 Mbits/sec)<br> <br> dmesg output:<br> <br> no tx bufs (empty list): 0<br> no tx bufs (was busy): 0<br> aggr single packet: 14372<br> aggr single packet w/ BAW closed: 0<br> aggr non-baw packet: 1<br> aggr aggregate packet: 119987<br> aggr single packet low hwq: 641424<br> aggr sched, no work: 15333<br> 0: 0 1: 0 2: 7811 3: 5690 <br> 4: 5077 5: 4509 6: 4675 7: 4546 <br> 8: 5255 9: 5061 10: 4796 11: 9393 <br> 12: 3094 13: 2604 14: 2647 15: 2301 <br> 16: 4372 17: 2440 18: 4558 19: 8300 <br> 20: 6962 21: 4679 22: 2404 23: 1270 <br> 24: 1076 25: 929 26: 866 27: 856 <br> 28: 835 29: 895 30: 1033 31: 1016 <br> 32: 10037 33: 0 34: 0 35: 0 <br> 36: 0 37: 0 38: 0 39: 0 <br> 40: 0 41: 0 42: 0 43: 0 <br> 44: 0 45: 0 46: 0 47: 0 <br> 48: 0 49: 0 50: 0 51: 0 <br> 52: 0 53: 0 54: 0 55: 0 <br> 56: 0 57: 0 58: 0 59: 0 <br> 60: 0 61: 0 62: 0 63: 0 <br> <br> HW TXQ 0: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 1: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 2: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 3: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 8: axq_depth=0, axq_aggr_depth=0<br> Total TX buffers: 512; Total TX buffers busy: 0<br> no tx bufs (empty list): 0<br> no tx bufs (was busy): 0<br> aggr single packet: 14553<br> aggr single packet w/ BAW closed: 0<br> aggr non-baw packet: 1<br> aggr aggregate packet: 121203<br> aggr single packet low hwq: 643315<br> aggr sched, no work: 15414<br> 0: 0 1: 0 2: 7931 3: 5744 <br> 4: 5116 5: 4554 6: 4716 7: 4577 <br> 8: 5284 9: 5097 10: 4822 11: 9425 <br> 12: 3123 13: 2628 14: 2671 15: 2322 <br> 16: 5036 17: 2442 18: 4558 19: 8300 <br> 20: 6962 21: 4679 22: 2404 23: 1270 <br> 24: 1076 25: 929 26: 866 27: 856 <br> 28: 835 29: 895 30: 1033 31: 1016 <br> 32: 10037 33: 0 34: 0 35: 0 <br> 36: 0 37: 0 38: 0 39: 0 <br> 40: 0 41: 0 42: 0 43: 0 <br> 44: 0 45: 0 46: 0 47: 0 <br> 48: 0 49: 0 50: 0 51: 0 <br> 52: 0 53: 0 54: 0 55: 0 <br> 56: 0 57: 0 58: 0 59: 0 <br> 60: 0 61: 0 62: 0 63: 0 <br> <br> HW TXQ 0: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 1: axq_depth=2, axq_aggr_depth=2<br> HW TXQ 2: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 3: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 8: axq_depth=0, axq_aggr_depth=0<br> Total TX buffers: 481; Total TX buffers busy: 0<br> no tx bufs (empty list): 0<br> no tx bufs (was busy): 0<br> aggr single packet: 14928<br> aggr single packet w/ BAW closed: 0<br> aggr non-baw packet: 1<br> aggr aggregate packet: 125149<br> aggr single packet low hwq: 645085<br> aggr sched, no work: 15673<br> 0: 0 1: 0 2: 8187 3: 5884 <br> 4: 5230 5: 4653 6: 4801 7: 4649 <br> 8: 5347 9: 5168 10: 4891 11: 9496 <br> 12: 3305 13: 2715 14: 2753 15: 2399 <br> 16: 7473 17: 2464 18: 4565 19: 8304 <br> 20: 6966 21: 4681 22: 2405 23: 1270 <br> 24: 1077 25: 929 26: 866 27: 856 <br> 28: 835 29: 895 30: 1033 31: 1016 <br> 32: 10037 33: 0 34: 0 35: 0 <br> 36: 0 37: 0 38: 0 39: 0 <br> 40: 0 41: 0 42: 0 43: 0 <br> 44: 0 45: 0 46: 0 47: 0 <br> 48: 0 49: 0 50: 0 51: 0 <br> 52: 0 53: 0 54: 0 55: 0 <br> 56: 0 57: 0 58: 0 59: 0 <br> 60: 0 61: 0 62: 0 63: 0 <br> <br> HW TXQ 0: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 1: axq_depth=2, axq_aggr_depth=1<br> HW TXQ 2: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 3: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 8: axq_depth=0, axq_aggr_depth=0<br> Total TX buffers: 502; Total TX buffers busy: 0<br> no tx bufs (empty list): 0<br> no tx bufs (was busy): 0<br> aggr single packet: 15237<br> aggr single packet w/ BAW closed: 0<br> aggr non-baw packet: 1<br> aggr aggregate packet: 127403<br> aggr single packet low hwq: 646324<br> aggr sched, no work: 15851<br> 0: 0 1: 0 2: 8360 3: 5998 <br> 4: 5304 5: 4703 6: 4846 7: 4701 <br> 8: 5377 9: 5216 10: 4935 11: 9544 <br> 12: 3383 13: 2753 14: 2811 15: 2441 <br> 16: 8822 17: 2474 18: 4566 19: 8304 <br> 20: 6966 21: 4681 22: 2406 23: 1270 <br> 24: 1077 25: 929 26: 866 27: 856 <br> 28: 835 29: 895 30: 1033 31: 1016 <br> 32: 10037 33: 0 34: 0 35: 0 <br> 36: 0 37: 0 38: 0 39: 0 <br> 40: 0 41: 0 42: 0 43: 0 <br> 44: 0 45: 0 46: 0 47: 0 <br> 48: 0 49: 0 50: 0 51: 0 <br> 52: 0 53: 0 54: 0 55: 0 <br> 56: 0 57: 0 58: 0 59: 0 <br> 60: 0 61: 0 62: 0 63: 0 <br> <br> HW TXQ 0: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 1: axq_depth=2, axq_aggr_depth=2<br> HW TXQ 2: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 3: axq_depth=0, axq_aggr_depth=0<br> HW TXQ 8: axq_depth=0, axq_aggr_depth=0<br> Total TX buffers: 356; Total TX buffers busy: 0<br> <br> <br> On 19/03/2012 21:49, Adrian Chadd wrote: <blockquote cite="mid:4f67a9ec.4105440a.1995.ffffecdf@mx.google.com" type="cite">Just check the txagg sysctl and mae sure your buffer count stays up around 512.<br> <br> I want to make sure that buffers aren't being leaked.<br> <br> Thanks again!<br> <br> <span style="font-family:Prelude, Verdana, san-serif;"><br> <br> </span><span id="signature"> <div style="font-family: arial, sans-serif; font-size: 12px;color: #999999;">Sent from my Palm Pre on AT&T</div> <br> </span><span style="color:navy; font-family:Prelude, Verdana, san-serif; "> <hr style="width:75%" align="left">On Mar 19, 2012 2:38 PM, Vincent Hoffman <a class="moz-txt-link-rfc2396E" href="mailto:vince@unsane.co.uk"><vince@unsane.co.uk></a> wrote: <br> <br> Hi Adrian, <br> <br> <br> This patch is looking good as yet, I've repeated tests that were <br> previously causing timeouts and as yet not been able cause a timeout <br> after applying this patch. <br> <br> Its not definitive but so far it appears to have resolved this issue <br> for me. <br> <br> <br> Regards, <br> Vince Hoffman <br> </span> </blockquote> <br> </body> </html> --------------070001010500040909030800--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203192220.q2JMKECm059189>