1 / 39

Architecture and Evaluation of an Unplanned 802.11b Mesh Network

Architecture and Evaluation of an Unplanned 802.11b Mesh Network. John Bicket, Daniel Aguayo, Sanjit Biswas, Robert Morris. Two approaches to constructing community networks are common. Multi-hop chosen locations directional an high-quality radio linkstennas

garran
Télécharger la présentation

Architecture and Evaluation of an Unplanned 802.11b Mesh Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Architecture and Evaluation of anUnplanned 802.11b Mesh Network John Bicket, Daniel Aguayo, Sanjit Biswas, Robert Morris

  2. Two approaches to constructing community networksarecommon. • Multi-hop • chosen locations • directional an • high-quality radio linkstennas • well-coordinated groups with technical expertise • high throughput • good connectivity • „hot-spot" access po • operate independentlyints • loosely connected • if it works • smaller coverage per wired connection

  3. A more ambitious vision for community networks wouldcombine the best characteristics of both network types • Unconstrained node placement • Omni-directional antennas • Multi-hop routing • Optimization of routing for throughput in a slowlychangingnetwork with many links of intermediate quality

  4. Risks • radio ranges might be too short to connect some nodes • many links might be low quality • nodes might interfere with each other • standard TCP might interact poorly with low-quality radio links • the outdoor omni-directional antennas might pick up unacceptable levels of interferencefrom other ISM-band users throughout the city

  5. Roofnet (multi-hop 802.11bInternet accessnetwork) • 37 nodesspread over about four square kilometers of a city • the average throughput between nodes is 627 kbits/second. • eighthoproutesaverage 160 kbits/second • Single-flowthroughputincreaseswithnodedensity • radio links are between 500 and 1300m long • performance and robustness do not greatly depend on any small set of nodes • multi-hopforwarding improves coverage and throughput

  6. Roofnet is deployed over an area of about four square kilometersin Cambridge, Massachusetts

  7. Roofnet Design • This area is urban and densely populated. • three- or four-story apartment buildings • Each Roofnet node is hosted by a volunteer user • Each volunteer installed his or her own node, including the roof-mounted antenna • The resulting node locations are neither truly random norselected according to any particular plan

  8. Hardware • Each Roofnet node consists of a PC, an 802.11b card, and a roof-mounted omni-directional antenna • The PC‘s Ethernet port provides Internet service to the user • Each PC has a hard drive for collecting traces and a CD reader incase an over-the-network upgrade fails • An entire Roofnet kit (PC, antenna, mounting hardware, and cable) can be carried by one person

  9. The antenna • Each 8 dBi omni-directional antenna has a 3-dB verticalbeam width of 20 degrees • The antenna is connected to its node with coaxial cable which introduces6 to 10 dB of attenuation • Three nodes, located on the roofs of tall buildings, have 12 dBi Yagi directional antennaswith 45-degree horizontal and vertical beam widths

  10. Software and AutoConfiguration • Linux, routing software, DHCP server, web server • Most users pick up nodes from us at our lab with software pre-installed • From the user's perspective, the node acts like a cable or DSL modem • allocating addresses • finding a gateway between Roofnet andthe Internet • choosing a good multi-hop route to that gateway

  11. Addressing • Roofnet carries IP packets inside its own header format and routing protocol • A Roofnet node must also allocate IP addresses via DHCPto user hosts attached to the node's Ethernet port • prevents hosts from connecting to each other through Roofnet

  12. Gateways and Internet Access • Roofnet's design assumes that a small fraction of Roofnetusers will voluntarily share their wired Internet access links • On start-up, each Roofnet node checks to see if it canreach the Internet through its Ethernet port • If this succeeds, the nodeadvertises itself to Roofnet as an Internet gateway • Otherwise the node acts as a DHCP server and default routerfor hosts on its Ethernet, and connects to the Internet via Roofnet

  13. Gateways and Internet Access • When a node sends traffic through Roofnet to the Internet,the node selects the gateway to which it has the best route metric • If the routing protocol later decides that a differentgateway has the best metric, the node continues toforward data on existing TCP connections to those connections’ original gateways • but new connections will use a different gateway • Roofnet currently has four Internet gateways

  14. RoutingProtocol (Srcr) • Omnidirectional antennas give Srcr many choices • source-routes data packets (avoid loops) • Dijkstra‘s algorithm • A node that forwards a packetover a link includes the link's current metric • DSRstyle flooded query and adds the link metrics learned fromany responses to its database • dummy query that allows allother nodes to learn about links on the way to that gateway

  15. RoutingMetric • „estimated transmission time” (ETT) metric • „estimated transmission count” (ETX) • Srcr chooses the route with the lowest ETT • The ETT metric for a given link is the expected time tosuccessfully send a 1500-byte packet at that link's highestthroughput bit-rate • The ETT metric for a route is the sum of the ETTsfor each of the route's links

  16. BitRateSelection (SampleRate) • Roofnet has its own algorithm to choose among the 802.11btransmit bit-rates of 1, 2, 5.5, and 11 megabits/second • SampleRate sends most data packets at the bit-rate itcurrently believes will provide the highest throughput

  17. About 10% of pairs failed to find a working route in the multi-hop TCP measurements • The reason for this is that flooded routing queries sometimes do not reachdistant nodes due to link losses • Srcr re-floods every five seconds if needed, but in many caseseven this was not enough

  18. Theoreticalloss-free maximum throughputover one, two, and three hops for each 802.11btransmit bit-rate, with 1500-byte packets

  19. Average TCP throughput and round-tripping latency (33 node)

  20. Link Quality and Distance

  21. Link Quality and Distance

  22. Link Quality and Distance • Fast short hops are the best policy: • for example, four 250-meter hops that individually run atthree megabits/second yield a route with a throughput of750 kbits/second, which is faster than most of the single 1000-meter links

  23. Effect of Density

  24. number of neighborsper node. A node counts as a \neighbor" if it hasgreater than 40% delivery probability for 1 megabit per secondpackets

  25. number of different first hops that Roofnet nodes use in all-pairs routes

  26. Simulated average throughput and connectivityamong all pairs versus the number of linkseliminated. Each curve shows the result of eliminatinglinks in a particular order

  27. The effect on throughput of eliminatingthe best-connected Roofnet nodes.

  28. OptimalChoice

  29. OptimalChoiceptimalChoice • in a single-hop architecture, five gatewaysare needed to cover all Roofnet nodes. For any givenset of gateways, multi-hop forwarding provides higher average throughput • The five optimal gateways turn out to be nodes locatedon three-story residences, not the tallest buildings in the network

  30. OptimalChoice

  31. Random Choice • If Roofnet were a single-hop network, 25 gatewayswouldbe required to cover all the nodes. About 90% of the nodesare covered with 10 gateways, but there are a few nodeswhich are difficult to reach: the histogram in Figure 6 showsthese last ten percent of nodes are within the range of threeor fewer neighboring nodes. As with optimal gateway choice,multi-hop routing improves connectivity and throughput

  32. NETWORK USE • In one 24-hour period, the gateway forwarded an averageof 160 kbits/second between Roofnet and the Internet • This is the sum of the traffic in both directions • This data accounted for about 94% of the wireless traffic that the gatewaysent or received; the other 5% were protocol control packets • 48% onehop from the gateway • 36% two hops • 16%, was forwarded over three hops or more

  33. NETWORK USE • radio was busy for about 70% • Almost all of the packets forwarded were TCP • less than1% were UDP • 30% of the total datatransferred, was the BitTorrent peer-to-peer file-sharing program • 68% of the connections through the gateway were web connections • Just 3% were BitTorrent • 16 Roofnet hosts that accessed the Internet • eight opened more than 100 TCPconnections to the Internet during that time

  34. RELATED WORK There have been a number of evaluations of deployed or test-bed multi-hop wireless networks. [14, 13] have focused on evaluating route metrics intended to increase throughput in static mesh networks [27, 19] have primarily considered route repair in the face of mobility [16, 25, 23, 7] have investigated link-level 802.11 behavior in order to guide the design of higher-layer protocols

  35. RELATED WORK Many of the basic ideas in wireless mesh networking were first developed for the DARPA Packet Radio Network [21]. Srcr is loosely based on DSR [20] and MCL [14]. [27, 26, 28, 25, 11] A number of research groups maintain wireless testbeds with which to valuate real-world performance of MANET protocols Commercial mesh Internet access services and technologies exist, such as MeshNetworks Inc., Ricochet [30], and Tropos Networks

  36. RELATED WORK A number of community wireless mesh network efforts exist, such as Seattle Wireless, the San Francisco BAWUG, the Southampton Open Wireless Network, Wireless Leiden [31], and the Digital Gangetic Plains project [29] Many of these mesh nets use directional antennas and the OSPF routing protocol.

  37. RELATED WORK You can read the numbers meaning here at the last two pages: http://people.inf.elte.hu/toke/halozatokII-jegyzet/k%C3%B6telez%C5%91en%20v%C3%A1lszthat%C3%B3%20feladatok/Vezet%C3%A9k%20n%C3%A9lk%C3%BCli%20h%C3%A1l%C3%B3zatok/roofnet-mobicom05.pdf

  38. CONCLUSIONS • the unplanned mesh architecture of Roofnet works well • Average throughput between nodes is 627 kbits/second • the entire network is well served by just a few Internet gateways • Compared to a hypothetical single-hop network, Roofnet's multi-hopmesh increases both connectivity and throughput

More Related