Date: Fri, 18 May 2012 10:23:51 -0700 From: Adrian Chadd <adrian@freebsd.org> To: Johann Hugo <jhugo@meraka.csir.co.za> Cc: freebsd-wireless@freebsd.org Subject: Re: [ath] Degraded throughput - adhoc mode Message-ID: <CAJ-VmonkOozTeC2sGwx5DP76fsxk-SOwe0RuFeNXr2jfw5zZ6g@mail.gmail.com> In-Reply-To: <201205181133.57403.jhugo@meraka.csir.co.za> References: <201205181133.57403.jhugo@meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Please check the output of the sample rate module - sysctl dev.ath.X.sample_stats=3D1, then check dmesg. Which NICs are you using? Adrian On 18 May 2012 02:33, Johann Hugo <jhugo@meraka.csir.co.za> wrote: > Hi > > We have an outdoor wifi mesh network with various atheros adapters config= ured > in adhoc mode. (FreeBSD-9) > > We sometimes (randomly) get a wifi adapter that goes into a "slow-mo" mod= e, > with degraded throughput, less than half. > > A simple ifconfig wlanX down/up fixes the problem. > > Before: (slow-mo) > [jhugo@jeep] ~> scp /boot/kernel/kernel =A0zeus.cids.org.za:/dev/null > kernel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0100% =A0 15= MB 445.7KB/s =A0 00:34 > > After: > [jhugo@jeep] ~> scp /boot/kernel/kernel coin@elardus:/dev/null > kernel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0100% =A0 15= MB =A0 1.0MB/s =A0 00:15 > > Here is a list of all the registers (athregs) that changed during the dow= n/up. > > Register =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Before =A0 =A0 = =A0 =A0 =A0After > RXDP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A001200ea0 =A0 =A0 =A0 =A001200= 840 > MIBC =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000001 =A0 =A0 =A0 =A000000= 000 > SPC_0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00942a83 =A0 =A0 =A0 =A0000c246= a > DMADBG0 =A0 =A0 =A0 =A0 88888898 =A0 =A0 =A0 =A088888888 > DMADBG4 =A0 =A0 =A0 =A0 000000a0 =A0 =A0 =A0 =A000000000 > DMADBG5 =A0 =A0 =A0 =A0 04000000 =A0 =A0 =A0 =A000000000 > DMADBG6 =A0 =A0 =A0 =A0 00032000 =A0 =A0 =A0 =A000022000 > DMADBG7 =A0 =A0 =A0 =A0 000140a0 =A0 =A0 =A0 =A000000000 > D_SEQ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0000038a =A0 =A0 =A0 =A0000008c= 1 > TIMER0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0000071d8 =A0 =A0 =A0 =A00000006= 4 > TIMER1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000038eb0 =A0 =A0 =A0 =A00000031= 0 > TIMER2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A001bb8c30 =A0 =A0 =A0 =A0000002d= 0 > TIMER3 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0000071b5 =A0 =A0 =A0 =A00000006= 5 > TSF_L32 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ddc5e966 =A0 =A0 =A0 =A0de252332 > DEF_ANT =A0 =A0 =A0 =A0 00000000 =A0 =A0 =A0 =A000000001 > OBSERV1 =A0 =A0 =A0 =A0 00002898 =A0 =A0 =A0 =A000002888 > LAST_TST =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ddc52219 =A0 =A0 =A0 =A0de2473af > ACK_FAIL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000002 =A0 =A0 =A0 =A000000000 > FCS_FAIL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000000 =A0 =A0 =A0 =A000000001 > TFCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0d8e4e2f =A0 =A0 =A0 =A001e95fe= a > RFCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 157c4d09 =A0 =A0 =A0 =A0015d543= 2 > RCCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 281c998e =A0 =A0 =A0 =A003b5a65= c > CCCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 d4782107 =A0 =A0 =A0 =A00d5b4b5= b > QUIET1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00000717c =A0 =A0 =A0 =A00000008= 8 > FILTOFDM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000ffffff =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0000001b8 > FILTCCK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00ffffff =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A00000015e > PHYCNT1 =A0 =A0 =A0 =A0 00bffe72 =A0 =A0 =A0 =A000bffe9f > PHYCNT2 =A0 =A0 =A0 =A0 00bfff3f =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000bfff4a > > Is there a wiki/docs on the web that explains what these registers mean ? > The only thing I could find was this link. > http://madwifi-project.org/wiki/DevDocs/AtherosRegisters > > Any other usefull info that I should capture the next time this happens ? > > Regards > Johann > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmonkOozTeC2sGwx5DP76fsxk-SOwe0RuFeNXr2jfw5zZ6g>