Changeset 2778

Show
Ignore:
Timestamp:
10/30/09 14:17:45 (4 weeks ago)
Author:
stevedh
Message:

edits

Location:
docs/Lowthane/ipsn10
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • docs/Lowthane/ipsn10/design.tex

    r2772 r2778  
    262262forward packets, in-network nodes take the following actions: 
    263263 
    264 \begin{enumerate} 
     264\begin{enumerate}\addtolength{\itemsep}{-0.5\baselineskip} 
    265265\item{{\bf{Source Route:}} If a packet contains a valid source route, the node forwards the packet to the next router in the sequence.} 
    266266\item{{\bf{Flow Table Entry:}} If a matching entry exists in the Flow Table, then it is used to forward the packet on to the destination.} 
  • docs/Lowthane/ipsn10/evaluation.tex

    r2772 r2778  
    1 \section{Evaluation}\label{sec:evaluation} 
    2  
    3 This section evaluates the performance of {\lowthane} on several key 
     1\section{Analysis}\label{sec:evaluation} 
     2 
     3Hui has presented a complete IPv6 architecture for L2Ns which included a 
     4routing layer \ref{hui}, but there has been no systematic evalutation of the routing 
     5performance in the literature.  Since we embrace the IP architecture proposed 
     6by Hui and extend his routing mechanisms, this work is the first in-depth 
     7analysis the performance of a protocol which embraces a layered IPv6 
     8architecture in this class of networks. 
     9 
     10This section examines the performance of {\lowthane} on several key 
    411metrics across multiple networks.  In one application, we 
    512evaluate the performance of 57 nodes running {\lowthane} for over six 
     
    186193Saturday, and 98.4\% on a Monday, reinforcing the key assertion that the 
    187194distributed DAG effectively provides a reliable backchannel to the 
    188 {\controller}.  % The same experiment on Testbed A and in TOSSIM yielded slightly better results, which were omitted here for brevity. 
     195{\controller}.   
     196 
     197We use CTP, the leading open-source collection 
     198protocol as a point of comparison \cite{ctp}.  CTP provides only a subset of {\lowthane}'s 
     199functionality, routing packets from in-network nodes to a set of data sinks. 
     200In our comparison in Figure \ref{fig:collection-ctp-blip}, our implementation 
     201performs nearly as well as this specialized protocol in a test lasting one 
     202work day.  Much of the reliability in both cases comes from carefully engineered 
     203implementations, rather then any particular mechanism. 
     204% The same experiment on Testbed A and in TOSSIM yielded slightly better results, which were omitted here for brevity. 
    189205 
    190206%The distributed DAG is designed to provide a reliable mechanism for nodes to communicate with the {\controller}.  Figure~\ref{fig:collection-acme} provides a histogram of the packet delivery ratio (PDR) observed across three days on our real-world deployment.  The workload consisted of nodes transmitting data every 5 minutes to the {\controller}.  The nodes are using channel 19 (due to a poor deployment decision), and deployed in a very wi-fi intensive environment, leading to a slight degradation in performance during the work-week.  Regardless, we still see that the median PDR is 99.4\% on a Saturday, and 98.4\% on a Monday.  The same evaluation on Testbed A, and in TOSSIM yielded slightly better results, but are omitted here for brevity. 
     
    323339 
    324340 
    325 \subsection{Centralized Route Installation} 
     341\subsection{Point-to-Point Routing} 
     342 
     343Building on source routing and the collection engine, {\lowthane} provides 
     344point-to-point routing.  Our point of comparison is AODV; while far from 
     345perfect, it provides a representative design point in the space of 
     346fully-distributed ad-hoc protocols.   
    326347 
    327348%\begin{figure*}[htbp] 
     
    344365%% mechanisms of {\lowthane} interact with the load and dynamic nature of 
    345366%% L2Ns.   
     367 
     368\subsubsection{Basic Operation} 
     369 
    346370To see {\lowthane}'s basic mechanisms in action, we first focus on a trace of 
    34737150 packets from a single flow running on testbed A.  The measure of 
     
    391415%% common issue with centralized architectures is the latency necessary to 
    392416%% communicate with a control point, this is a critical issue.  
     417 
     418\subsubsection{Concurrent Flows} 
     419 
    393420Expanding our test from a single flow, we test {\lowthane}'s ability 
    394421to support a relatively large number of concurrent low bandwidth flows.  Concurrency stresses 
     
    428455  paths.  Floods from different flows also interfere with each other during 
    429456  route discovery, delaying discovery and incurring significant overhead.} 
     457\label{fig:aodv-compr} 
    430458\end{figure} 
    431459 
     
    469497has a diameter of only 3 or 4, and so the consistent reduction in stretch by 
    470498one hop is quite significant in relation to the network diameter. 
     499 
     500\subsubsection{AODV Comparison} 
     501 
     502AODV is an reactive distance-vector protocol which builds routes using flooded 
     503Route Request messages.  Nodes along the path forward traffic, generating 
     504Route Error messages back to the source when a link along the path fails.  A 
     505comparison AODV's results in Figure \ref{fig:aodv-compr} show that it 
     506achieves reasonable overall reliability, although far lower then {\lowthane}. 
     507Since AODV forms routes based on a flood, it does not have the well-developed 
     508link estimates {\lowthane} draws on when choosing routes. 
     509 
     510More striking is the huge difference in control traffic between 
     511the protocols during the route discover state.  Although additional 
     512optimizations to AODV may be possible to reduce this, {\lowthane} makes spare 
     513use of all control messages and never floods.   
     514This is important because of the character of the AODV traffic-- like most 
     515ad-hoc protocols, it uses link-layer broadcast frames to exchange routing state. 
     516{\lowthane} also uses broadcasts, but in a much 
     517more limited fashion to build the DAG; all other control traffic is unicast. 
     518This is notable because when using asynchronous MAC protocols, sending a 
     519broadcast frame can cost an order of magnitude or more then a unicast frame.   
    471520 
    472521%%  shows the 
     
    590639Overall, the protocol is both 
    591640    {\it agile} and {\it reliable} in the face of significant network 
    592     disruption. 
     641    disruption; futhermore, it generates very little traffic {\it even when 
     642      responding to failure}. 
    593643 
    594644%% Thus, {\lowthane} appears to react correctly to node and 
  • docs/Lowthane/ipsn10/intro.tex

    r2775 r2778  
    11\section{Introduction}\label{sec:intro} 
    22 
    3 This paper aims to address one of the main shortcomings of sensornet research: the lack of a routing protocol that efficiently supports all components of an application workload.  To expand further: 
     3% This paper aims to address one of the main shortcomings of sensornet research: the lack of a routing protocol that efficiently supports all components of an application workload.  To expand further: 
    44 
    5 \begin{itemize} 
    6 \item{{\bf{Workload:}} Traffic patterns are predominantly many-to-one collection, with a smaller but significant mix of point-to-point traffic.} 
    7 \item{{\bf{Efficiently:}} Any solution must adhere to sensornet resource-constraints, and state and control overhead must be proportional to the data traffic.} 
    8 \end{itemize} 
     5% \begin{itemize} 
     6% \item{{\bf{Workload:}} Traffic patterns are predominantly many-to-one collection, with a smaller but significant mix of point-to-point traffic.} 
     7% \item{{\bf{Efficiently:}} Any solution must adhere to sensornet resource-constraints, and state and control overhead must be proportional to the data traffic.} 
     8% \end{itemize} 
    99 
    10 Many solutions do exist, but they have either only addressed one component of the problem, or solved the problem in another domain with limited applicability to sensornets.  Collection protocols~\cite{mintroute,ctp} provide reliable collection to a sink, but use grossly inefficient schemes for unicast communication.  Point-to-point protocols~\cite{s4-nsdi, tinyaodv, bvr} allow for communication between arbitrary pairs of nodes, yet make no provisions to support common-case collection.  Outside of sensornets, general networking platforms such as Ethane~\cite{ethane} provide compelling solutions, yet are based on assumptions that make porting anything beyond the high-level design to sensornets untenable. 
     10This work presents an analysis of {\lowthane}, the routing protocol at the 
     11core of {\tt blip}, the open IPv6 stack in TinyOS.  {\lowthane} is 
     12characterized by extreme attention to reducing control traffic and optimizing the 
     13common case of collection, while providing efficent point-to-point 
     14communication. 
    1115 
    12 We don't claim to present a highly-novel new routing protocol; rather our main contribution is a seemingly intuitive routing architecture designed from scratch that simply works.  We leverage the asymmetrical resource allocation typical of sensornets to push complexity to {\controller}s at the edge and minimize state and functionality in the network.  Our design revolves around controlling the tradeoff between state and stretch, and minimizing control traffic through a focus on data-driven design.  We embrace the open-standards approach to system design, and our solution, {\lowthane}, is in fact the default routing protocol for blip, a widely-used IPv6 adaptation network layer for sensornets. 
     16% Many solutions do exist, but they have either only addressed one component of 
     17% the problem, or solved the problem in another domain with limited 
     18% applicability to sensornets.   
     19Among existing work, collection protocols~\cite{mintroute,ctp} 
     20provide reliable collection to a sink, but don't provide for 
     21unicast communication.  Point-to-point protocols~\cite{s4-nsdi, tinyaodv, bvr} 
     22allow for communication between arbitrary pairs of nodes, yet make no 
     23provisions to optimize common-case collection.  Outside of sensornets, general 
     24networking platforms such as Ethane~\cite{ethane} provide compelling 
     25solutions, yet are based on assumptions that make porting anything beyond the 
     26high-level design to sensornets impractical. 
    1327 
    14 Beyond presenting {\lowthane}, we provide an analysis from real-world experiments that seeks to answer the questions, how well does this general architecture compare to specialized point solutions, and how robust is it?  In this vein, we compare it to CTP for collection traffic, and TinyAODV for point-to-point traffic, focusing on reliability and overhead.  For robustness, we examine the functionality of {\lowthane} in the face of high traffic concurrency and significant network failures. 
     28{\lowthane} is not a highly novel new routing protocol; rather our main 
     29contribution is a seemingly intuitive routing architecture designed from 
     30scratch that simply works.  We leverage the asymmetrical resource allocation 
     31typical of sensornets to push complexity to {\controller}s at the edge and 
     32minimize state and functionality in the network.  Our design revolves around 
     33controlling the tradeoff between state and stretch, and minimizing control 
     34traffic through a focus on data-driven design.  We embrace the open-standards 
     35approach to system design, and our solution, {\lowthane}, is in fact the 
     36default routing protocol for blip, a widely-used IPv6 network layer for 
     37sensornets. 
     38 
     39Beyond presenting {\lowthane}, we provide an analysis from real-world 
     40experiments that seeks to answer the questions, how well does this general 
     41architecture compare to specialized point solutions, and how robust is it?   
     42We compare to other protocols which solve a piece of the problem, 
     43CTP for collection traffic, and TinyAODV for 
     44point-to-point traffic.  For robustness, 
     45we examine the functionality of {\lowthane} in the face of high traffic 
     46concurrency and significant network failures. 
    1547 
    1648%This paper is about the future of routing in stationary sensor 
  • docs/Lowthane/ipsn10/overview.tex

    r2776 r2778  
    1414\label{sec:overview} 
    1515 
    16 Before diving into the details, we begin with the {\lowthane}'s basic 
    17 operation and design philosophy for point-to-point routing built atop 
    18 collection routing. 
     16{\lowthane}'s basic 
     17operation and design philosophy builds  
     18point-to-point routing built atop 
     19collection routing, tree reversal, and source routing. 
    1920%{\lowthane} develops organically from prior work, and extends it to provide robust point-to-point routing.   
    2021At its core is a reliable channel from the low-power nodes to higher