Re: [zd1211-devs] Super huge ping with zd1211rw_mac80211

2007-04-19 Thread Ulrich Kunitz
On 07-04-18 23:54 Richard Hughes wrote:

 On Tue, 2007-04-03 at 18:49 -0400, Daniel Drake wrote:
  Are the ping times really high all the time, or is it just some/most
  of the time?
 
 Well, they were fairly random, i.e. sometimes it worked well, and
 sometimes look 10 seconds - and then after a few minutes was okay.
 
 You'll be pleased to know that with the latest wireless-dev snapshot
 (and latest linus) everything is going much better. I can't tell you
 what fixed it, but it now just works.
 
 Thanks.
 
 Richard.

This sounds good. However notice that wireless performance differs
a lot depending on the actual interference. In my home it varies a
lot, probably caused by WLANs of my neighbours.

I have implemented a change for the mac80211-based driver,
which should remove one source for higher latency. However I still
can observe latencies between 300 and 400 ms once in a while.

-- 
Uli Kunitz

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Super huge ping with zd1211rw_mac80211

2007-04-03 Thread Daniel Drake
Interesting. Some more questions:

Are the ping times really high all the time, or is it just some/most of 
the time?

One significant difference between the 2 drivers is that softmac 
defaults to 11M or 24M (depending on your kernel version) and doesn't 
change, whereas mac80211 defaults to 54M and dynamically adjusts based 
on number of failed transmissions.

So, ideally you should try and compare the rates being used in the 2 
drivers. To read the rate used on the softmac driver, run iwconfig. I 
don't think mac80211 reports the rate there yet, so you will probably 
have to enable some debugging options in the kernel and watch the logs 
to figure out which rates it is choosing.

Another experiment: on the softmac driver, increase the rate to 54M and 
examine if your ping times become noticably worse:
iwconfig ethX rate 54M

Thanks,
Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


[zd1211-devs] Super huge ping with zd1211rw_mac80211

2007-04-02 Thread Richard Hughes
I'm using the latest fedora kernel snapshot with an up to data
zd1211rw_mac80211.

Recently I've been getting very slow downloads, and I've found even
pinging the router takes a *long* amount of time:

64 bytes from 10.0.0.10: icmp_seq=358 ttl=64 time=11428 ms
64 bytes from 10.0.0.10: icmp_seq=359 ttl=64 time=11840 ms
64 bytes from 10.0.0.10: icmp_seq=360 ttl=64 time=11984 ms
64 bytes from 10.0.0.10: icmp_seq=361 ttl=64 time=12826 ms
64 bytes from 10.0.0.10: icmp_seq=362 ttl=64 time=12421 ms
64 bytes from 10.0.0.10: icmp_seq=363 ttl=64 time=11834 ms
64 bytes from 10.0.0.10: icmp_seq=364 ttl=64 time=11959 ms

Any idea how to debug this? There was no option in the zd1211rw_mac80211
for verbose output, and dmesg is very unhelpful.

Thanks for any help,

Richard.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Super huge ping with zd1211rw_mac80211

2007-04-02 Thread Daniel Drake
Richard Hughes wrote:
 64 bytes from 10.0.0.10: icmp_seq=358 ttl=64 time=11428 ms
 64 bytes from 10.0.0.10: icmp_seq=359 ttl=64 time=11840 ms
 64 bytes from 10.0.0.10: icmp_seq=360 ttl=64 time=11984 ms
 64 bytes from 10.0.0.10: icmp_seq=361 ttl=64 time=12826 ms
 64 bytes from 10.0.0.10: icmp_seq=362 ttl=64 time=12421 ms
 64 bytes from 10.0.0.10: icmp_seq=363 ttl=64 time=11834 ms
 64 bytes from 10.0.0.10: icmp_seq=364 ttl=64 time=11959 ms
 
 Any idea how to debug this? There was no option in the zd1211rw_mac80211
 for verbose output, and dmesg is very unhelpful.

You could put another wireless device in monitor mode and use something 
like wireshark to investigate what is going on.

It would also be good to confirm/deny whether it also appears on the 
softmac based driver.

Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs


Re: [zd1211-devs] Super huge ping with zd1211rw_mac80211

2007-04-02 Thread eric
Richard,
The latest development fedora build (rawhide) load both mac80211 and 
softmac. Can you run
lsmod | grep 1211
if you see zd1211rw, ieee80211softmac  which is the  older  driver, 
try  to unloading it:
modprobe -r zd1211rw
This will insure that you are actually using only zd1211rw_mac80211 and 
not the other.
 
It may not help but least we know you are actually using zd1211rw_mac80211

Also, maybe you can also run the following and display the outputs to 
see that config setup is right:
/sbin/ip route
/sbin/ip address
iwconfig

eric

Richard Hughes wrote:
 I'm using the latest fedora kernel snapshot with an up to data
 zd1211rw_mac80211.

 Recently I've been getting very slow downloads, and I've found even
 pinging the router takes a *long* amount of time:

 64 bytes from 10.0.0.10: icmp_seq=358 ttl=64 time=11428 ms
 64 bytes from 10.0.0.10: icmp_seq=359 ttl=64 time=11840 ms
 64 bytes from 10.0.0.10: icmp_seq=360 ttl=64 time=11984 ms
 64 bytes from 10.0.0.10: icmp_seq=361 ttl=64 time=12826 ms
 64 bytes from 10.0.0.10: icmp_seq=362 ttl=64 time=12421 ms
 64 bytes from 10.0.0.10: icmp_seq=363 ttl=64 time=11834 ms
 64 bytes from 10.0.0.10: icmp_seq=364 ttl=64 time=11959 ms

 Any idea how to debug this? There was no option in the zd1211rw_mac80211
 for verbose output, and dmesg is very unhelpful.

 Thanks for any help,

 Richard.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Zd1211-devs mailing list - http://zd1211.ath.cx/
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/zd1211-devs