[Click] safe vs srcr
Vaibhave Agarwal
vaibhave at cs.utah.edu
Mon Aug 8 23:52:47 EDT 2005
> >But the strange thing which i noticed was that when I use safe,
> >i get the ping latency of around "3 ms" between 2 nodes.
> >
> >But when I use srcr (roofnet.click), I get the latency around "1.3 ms".
> >
> >1) Why does safe has a higher latency than srcr?
>
> Probably because srcr uses rate control but safe uses a static bitrate (1 mbps).
I changed the static bitrate of safe (1Mbps) to 5.5Mbps and also 11 Mbps,
using SetTxRate(RATE 22), but still it shows the ping latency to be 3 ms.
I tried to find the udp data rate between the two nodes,
With srcr it came out to be 6.88 Mbps
and with safe it was 1 Mbps.
This is wierd, very wierd?
It appears that SetTxRate is not changing the bitrate at all.
I have spend a lot time to solve this problem, any help would be
appreciated.
thanks,
vaibhave
------------------------------------------------------------
AddressInfo(safe_addr 6.147.11.105/8 00:09:5B:93:0B:69);
winfo :: WirelessInfo(BSSID 00:00:00:00:00:00);
FromHost(safe, safe_addr, ETHER safe_addr)
-> q :: Queue()
-> encap :: WifiEncap(0x0, WIRELESS_INFO winfo)
-> set_power :: SetTXPower(63)
-> set_rate :: SetTXRate(RATE 22)
-> radiotap_encap :: RadiotapEncap()
-> to_dev :: ToDevice(ath1raw);
// ether[2:2] == 0x1200 means it has an ath_rx_radiotap header
// ether[18] == 0x08 means NODS
// ether[34:4] == 0 and ether[38:2] == 0 , bssid of 0
// ether[48] is the ethertype
from_dev :: FromDevice(ath1raw,
BPF_FILTER "ether[2:2] == 0x1200 and ether[18] == 0x08
and ether[34:4] == 0 and ether[38:2] == 0 and ether[48] == 0x08"
)
-> prism2_decap :: Prism2Decap()
-> extra_decap :: ExtraDecap()
-> radiotap_decap :: RadiotapDecap()
-> phyerr_filter :: FilterPhyErr()
-> tx_filter :: FilterTX()
-> dupe :: WifiDupeFilter()
-> wifi_cl :: Classifier(0/08%0c 1/00%03) //nods data
-> WifiDecap()
-> SetPacketType(HOST)
-> ToHost(safe);
----------------------------------------------------------------------------
More information about the click
mailing list