This paper sparked a lot of research on distributed hashtables and other forms of structured P2P systems by introducing Chord, a simple DHT which provides fast lookups and redundancy while requiring little communication and few neighbors per node. The basic idea of Chord is to identify your data items by hashes and view the space of hashes as a ring. Each node then chooses a random position on the ring and makes pointers to nodes 1, 2, 4, 8, etc identifiers away, or O(log n) pointers. This is enough to be able to find any item in O(log n) time. In addition, with some redundancy, you can replicate items at several nodes and you can have multiple pointers to route around nodes that disconnect.
The most interesting thing about this paper is the solid mathematical grounding for claims about convergence, load balance, etc, and the harsh simulation environment with high churn. Chord is shown to deal gracefully with failures and maintain short paths to most nodes. This is important to motivate the work as really practical, because P2P systems tend to have these harsh environments where most nodes are only in the system for minutes, and very few nodes are in for more than a day or so.
The main criticism I have is that the implementation was only using 10 physical sites and ~200 nodes. Today it would be possible to test such systems at larger scales (1000+ nodes) using services like Amazon Elastic Compute Cloud.
Thursday, October 30, 2008
Looking up Data in P2P Systems
This article provides a simple, high-level overview of how DHTs work and why one might be interested in them. Three types of routing are covered: Chord, which is a ring with "fingers" pointing to O(log n) neigbors from each node, Pastry, which uses trees based on ID prefixes, and CAN, which splits up a multi-dimensional data identifier space dynamically into regions and moves between neighboring regions. The general idea in all of the systems is the same - keep a small number of pointers from each node, but have some kind of distance metric that lets you get closer to the destination with each hop. Some redundancy in the neighbors also lets you tolerate node departures.
Apart from the easy to read summary, the paper is interesting because it lists some of the reasons why people though P2P systems would be interesting. Basically the idea was that providing a service as a P2P system gives you extremely small expenses (just enough for some tracker service) for a large amount of storage capacity and computation capacity that scales with your number of users. The downside is of course that you have to implement a lot of redundancy and fault-tolerance. In the end, however, the challenge to DHT research was that none of the applications had so much data to index that you couldn't have a centralized index. In other words, people already knew how to build systems for content distribution (BitTorrent, etc), and people knew how to build highly available web applications (torrent sharing sites, etc), so they just put the two together. While a purely distributed index is a nice concept, any real business pretty much had enough resources to build a centralized trackers. Nonetheless, some DHT ideas are being used to provide high availability in data center applications such as memached and Dynamo.
Apart from the easy to read summary, the paper is interesting because it lists some of the reasons why people though P2P systems would be interesting. Basically the idea was that providing a service as a P2P system gives you extremely small expenses (just enough for some tracker service) for a large amount of storage capacity and computation capacity that scales with your number of users. The downside is of course that you have to implement a lot of redundancy and fault-tolerance. In the end, however, the challenge to DHT research was that none of the applications had so much data to index that you couldn't have a centralized index. In other words, people already knew how to build systems for content distribution (BitTorrent, etc), and people knew how to build highly available web applications (torrent sharing sites, etc), so they just put the two together. While a purely distributed index is a nice concept, any real business pretty much had enough resources to build a centralized trackers. Nonetheless, some DHT ideas are being used to provide high availability in data center applications such as memached and Dynamo.
Monday, October 27, 2008
Active network vision and reality: lessons from a capsule-based system
This paper talks about experience with an active network system, ANTS. Active networks were an active research area 5-10 years ago that, as far as I know, did not have a very large impact on deployed technology so far. The idea is to have a programmable network, where applications can have control over their routing, QOS, multicast, etc. In other words, applications run not just at the endpoints but on intermediate nodes in the network too. But what about the end-to-end principle? There were arguments that this could improve performance, and this is partly what RON showed later (although RON gave up trying to get everyone to switch their routers and just used an overlay network). Of course, apart from layering violation, disappearence of the thin waist model, etc, the other argument against active networks was security, and the need for running any user code in a carefully regulated VM or getting it signed by a central authority.
The ANTS system presented in this paper is implemented in Java and uses "capsules", which are basically data packets with associated code that can use soft-state data at each routing node to propagate themselves along in whichever way they deem best. In reality the code does not travel inside the capsules, but rather each capsule has an ID field which is the secure hash of its code, and there is a service for fetching the code associated with each capsule which takes advantage of caching. The most surprising thing about the results in my opinion is that performance is quite bad: the nodes forward about 10 MB/s at the most. The authors blame this "in large part" on Java, and it's true that JVMs at the time were very slow and provided few efficient I/O and memory access primitives, but this is not a completely valid excuse: code will need to be run in some kind of VM and be specified in some kind of cross-platform manner if you ever wish to deploy an active network on the real Internet. The authors go into some profiling to determine why the code is slow, but this misses the point - for a feasibility study for a controversial technology like active networks, it would have been much more convincing to design a fast prototype.
The paper also talks about some of the operational and architectural issues that come up when you use active networks, such as how to do resource management, how to guard against malicious code while having a short debug cycle, how to upgrade the service at runtime, etc. Although the paper is reasonably optimistic that these things could be done, there is still the unanswered question of why do we really need to jump through these hoops. In fact this paper doesn't include much in the way of experiments showing that the active network would be helpful to applications, only in listing some policies they implemented; perhaps this is covered in other work however. But in general there is a fundamental advantage to keeping your interfaces narrow, and going from "I can maybe forward IP packets" to "I will run your arbitrary code" is a big jump in interface size and perhaps not worth it for systems as variable in size, performance and hardware type, and as long-lived, as computer networks.
The ANTS system presented in this paper is implemented in Java and uses "capsules", which are basically data packets with associated code that can use soft-state data at each routing node to propagate themselves along in whichever way they deem best. In reality the code does not travel inside the capsules, but rather each capsule has an ID field which is the secure hash of its code, and there is a service for fetching the code associated with each capsule which takes advantage of caching. The most surprising thing about the results in my opinion is that performance is quite bad: the nodes forward about 10 MB/s at the most. The authors blame this "in large part" on Java, and it's true that JVMs at the time were very slow and provided few efficient I/O and memory access primitives, but this is not a completely valid excuse: code will need to be run in some kind of VM and be specified in some kind of cross-platform manner if you ever wish to deploy an active network on the real Internet. The authors go into some profiling to determine why the code is slow, but this misses the point - for a feasibility study for a controversial technology like active networks, it would have been much more convincing to design a fast prototype.
The paper also talks about some of the operational and architectural issues that come up when you use active networks, such as how to do resource management, how to guard against malicious code while having a short debug cycle, how to upgrade the service at runtime, etc. Although the paper is reasonably optimistic that these things could be done, there is still the unanswered question of why do we really need to jump through these hoops. In fact this paper doesn't include much in the way of experiments showing that the active network would be helpful to applications, only in listing some policies they implemented; perhaps this is covered in other work however. But in general there is a fundamental advantage to keeping your interfaces narrow, and going from "I can maybe forward IP packets" to "I will run your arbitrary code" is a big jump in interface size and perhaps not worth it for systems as variable in size, performance and hardware type, and as long-lived, as computer networks.
Resilient Overlay Networks
This well-known paper demonstrates that overlay networks controlled by the application can provide improvement in many network performance metrics over the standard routing in the Internet. The main metric considered is in resilience: the RON system manages to detect and route around multiple link failures over the real Internet, some of which lasted over 30+ minutes. However, RON can also provide improvements in latency, throughput and loss rate.
This paper is interesting not so much for its implementation details, but for the point that it makes: application-controlled routing can provide significant improvements over the standard Internet. The implementation is very simple, focusing on a very small network (O(10) hosts) with very simple paths (one-hop indirection). Even with this simple implementation, you can achieve significant improvements in various metrics. The paper thus lays the foundation for more advanced study of how to route over overlay networks, which could provide larger improvements, but its contribution is to bring this idea to the research community.
Apart from the idea as a whole working out, the most surprising thing for me was that two-hop paths are enough to provide significant performance benefits and to route around all the outages observed. This is something that I think would be non-obvious to anyone who is told about this idea without seeing the evaluation. The fact that the idea works at all is also somewhat surprising, but less so when you sit back and think about the goals that Internet routing was designed for - policy obedience and scalability. RON breaks both, although it is "good enough" at scalability that small organizations can consider using it.
I think that in practice, RON did not gain serious adoption, but it sparked a lot of discussion in the networking community. This could be perhaps because connectivity is "good enough" for most people, especially given that most people are not talking to random destinations on a RON, but rather to a small number of very well-provisioned global destinations (google.com, cnn.com, etc). However, there are also technical arguments against RON. One of them is that if everyone was using RONs to greedily optimize for throughput or latency or something similar, then routing would quickly oscillate, as underloaded links would quickly get overloaded, and then underloaded again, etc. Greedy behavior by each individual is not necessarily good for a stable, high-utilization, high-throughput system.
This paper is interesting not so much for its implementation details, but for the point that it makes: application-controlled routing can provide significant improvements over the standard Internet. The implementation is very simple, focusing on a very small network (O(10) hosts) with very simple paths (one-hop indirection). Even with this simple implementation, you can achieve significant improvements in various metrics. The paper thus lays the foundation for more advanced study of how to route over overlay networks, which could provide larger improvements, but its contribution is to bring this idea to the research community.
Apart from the idea as a whole working out, the most surprising thing for me was that two-hop paths are enough to provide significant performance benefits and to route around all the outages observed. This is something that I think would be non-obvious to anyone who is told about this idea without seeing the evaluation. The fact that the idea works at all is also somewhat surprising, but less so when you sit back and think about the goals that Internet routing was designed for - policy obedience and scalability. RON breaks both, although it is "good enough" at scalability that small organizations can consider using it.
I think that in practice, RON did not gain serious adoption, but it sparked a lot of discussion in the networking community. This could be perhaps because connectivity is "good enough" for most people, especially given that most people are not talking to random destinations on a RON, but rather to a small number of very well-provisioned global destinations (google.com, cnn.com, etc). However, there are also technical arguments against RON. One of them is that if everyone was using RONs to greedily optimize for throughput or latency or something similar, then routing would quickly oscillate, as underloaded links would quickly get overloaded, and then underloaded again, etc. Greedy behavior by each individual is not necessarily good for a stable, high-utilization, high-throughput system.
Tuesday, October 21, 2008
A First-Principles Approach to Understanding the Internet’s Router-level Topology
I liked this paper. This paper looks at Internet topology generation work from a different angle: how well do the generated networks perform given physical constraints on router technology (number of ports vs bandwidth)? The answer is that they perform poorly. This means that while the generated networks match the degree distributions seen in the real Internet - which is not surprising because it is exactly how the generators were designed - just choosing random graphs with this degree distribution does not give "good", well-performing network designs. The real Internet is not built by a fully random process - it's built by people who are trying to provide good performance! Your random network can't match the performance properties of the real Internet if your generator doesn't also strive for performance. This makes a lot of topology generation work and work in algorithms evaluated using random topologies look fairly dubious.
I liked that there is a good explanation of why the different networks perform differently. The idea is that if you want a high-performing network, you want edge routers to have high degrees (servicing many users) and core routers to have relatively lower degrees (thus supporting higher-bandwidth links). The random graph models fail to do this. I also liked the methodology for showing what a heuristically optimal topology looks like (take a graph and change it while preserving degrees), and the plot of performance vs likelihood under the random graph model which basically means that well-performing graphs are unlikely to arise by chance (network engineers really do earn their pay).
It was pretty surprising that this paper came out in 2004, almost ten years after the previous paper and the surrounding flurry of work on topology generators. That's a long time of looking only at arbitrary graph properties instead of trying to see whether the generated networks are in any way realistic! It's disconcerting that many routing algorithms, etc were designed for these random topologies and may do bad things on a network that actually looks like the Internet. This all goes to show that real implementation is the best evaluation. Finally, the idea of looking at a generated network's performance and trying to make generators work like real network designers seems obvious in hindsight, but it seems to be one of those obvious ideas that people have trouble coming up with until someone else points it out to them.
I liked that there is a good explanation of why the different networks perform differently. The idea is that if you want a high-performing network, you want edge routers to have high degrees (servicing many users) and core routers to have relatively lower degrees (thus supporting higher-bandwidth links). The random graph models fail to do this. I also liked the methodology for showing what a heuristically optimal topology looks like (take a graph and change it while preserving degrees), and the plot of performance vs likelihood under the random graph model which basically means that well-performing graphs are unlikely to arise by chance (network engineers really do earn their pay).
It was pretty surprising that this paper came out in 2004, almost ten years after the previous paper and the surrounding flurry of work on topology generators. That's a long time of looking only at arbitrary graph properties instead of trying to see whether the generated networks are in any way realistic! It's disconcerting that many routing algorithms, etc were designed for these random topologies and may do bad things on a network that actually looks like the Internet. This all goes to show that real implementation is the best evaluation. Finally, the idea of looking at a generated network's performance and trying to make generators work like real network designers seems obvious in hindsight, but it seems to be one of those obvious ideas that people have trouble coming up with until someone else points it out to them.
Monday, October 20, 2008
On Power-Law Relationships of the Internet Topology
This paper was pretty interesting because it looked at mathematical properties seemingly obeyed by the Internet graph based on snapshots at different times. Several "laws" that produced good fits were identified. All were power laws, implying heavy-tailed distributions. Such distributions are very common in systems used by people (e.g. content popularity on the Internet) as well as natural systems. The laws identified involved distribution of ranks vs degrees, degree frequency vs degree, hop count vs number of nodes, and eigenvalues. I thought that the hop count one was particularly interesting because it is a measure of the "connectedness" of a graph. The degree found was about 2.8 for the router graph, implying that the Internet is "more connected" than a 2D grid but "less connected" than a 3D grid. This seems to be expected on a two-dimensional planet.
The main question with this paper is how to use this work. The most reasonable proposal is to validate Internet topology generators used in simulations. Still, the laws don't tell us how bad a graph that doesn't meet them is at approximating the Internet - in fact it might be a "harder" graph to route through / make reliable / whatever the algorithm is doing, in which case it's okay to test on it. The laws also might not be sufficient conditions for a realistic graph, so still the best way to do a simulation is with real topology data. Finally, the authors do use the power laws to try to predict Internet growth; I'm curious how well that works if extrapolated to today.
Another question is how many of these laws will arise naturally in a randomly generated graph [if generated according to some sensible model]. Certainly the hop-count one for example seems reasonable for planar graphs. The eigenvalue one also seems like something that could happen in random graphs no matter how we generated them, especially because it has little physical interpretation. The other laws may work in the same way. If this is the case, do the laws really imply something fundamental about the Internet?
The main question with this paper is how to use this work. The most reasonable proposal is to validate Internet topology generators used in simulations. Still, the laws don't tell us how bad a graph that doesn't meet them is at approximating the Internet - in fact it might be a "harder" graph to route through / make reliable / whatever the algorithm is doing, in which case it's okay to test on it. The laws also might not be sufficient conditions for a realistic graph, so still the best way to do a simulation is with real topology data. Finally, the authors do use the power laws to try to predict Internet growth; I'm curious how well that works if extrapolated to today.
Another question is how many of these laws will arise naturally in a randomly generated graph [if generated according to some sensible model]. Certainly the hop-count one for example seems reasonable for planar graphs. The eigenvalue one also seems like something that could happen in random graphs no matter how we generated them, especially because it has little physical interpretation. The other laws may work in the same way. If this is the case, do the laws really imply something fundamental about the Internet?
Thursday, October 16, 2008
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks
This is another paper about collecting data in sensor networks, looking at the problem from a data-oriented angle. The paper suggests a "diffusion" model where nodes interested in some data create "gradients" to receive it and the data flows towards them. This close resemblance to how substances flow towards a destination in the physical world is attractive because it is intuitive and it seems like it should be pretty robust to local problems. However, we have to ask how well it will work in practice, especially given that we've seen similar "realistic flow" schemes, such as the TORA algorithm in the MANET routing paper, perform poorly.
Apart from that, I think another weakness of the system is the generality. In real sensor networks, you probably don't have multiple destinations interested in multiple types of data, but rather one collector. In this case, why not build a good delivery tree using some one-time algorithm, rather than worrying about setting up gradients?
Also, like TAG, this paper uses mostly simulation for its evaluation. Again, something that works in simulations might not work okay in real life. For example, the choice of sending interests every 5 seconds seems to be far too often for a power-constrained sensor network. So does having 5 random sources and random sinks.
Apart from that, I think another weakness of the system is the generality. In real sensor networks, you probably don't have multiple destinations interested in multiple types of data, but rather one collector. In this case, why not build a good delivery tree using some one-time algorithm, rather than worrying about setting up gradients?
Also, like TAG, this paper uses mostly simulation for its evaluation. Again, something that works in simulations might not work okay in real life. For example, the choice of sending interests every 5 seconds seems to be far too often for a power-constrained sensor network. So does having 5 random sources and random sinks.
TAG: a Tiny AGgregation Service for Ad-Hoc Sensor Networks
This paper presents a system for mapping declarative SQL-like queries onto a sensor network and computing results efficiently. Because TAG aggregates data inside the network, it can reduce the messaging costs over the simple approach of just sending all the data to one receiver, which runs the query. The paper builds trees for routing and also uses caching of values to improve reliability and performance. It is evaluated through simulations but there is also a real implementation.
Although the system is neat and sounds like a good interface for querying sensor networks once they're up, I have the following questions / concerns:
Although the system is neat and sounds like a good interface for querying sensor networks once they're up, I have the following questions / concerns:
- Often we think of queries only after collecting some data, so we want to save all the data in a centralized repository anyway. In this case, is it worth trying to build a system like TAG rather than focusing on just a fast data collection service? As an added bonus, although collecting raw data costs more power than running TAG, once we have the data we can run any number of queries for free, whereas with TAG, every query would cost some more power and the total cost may be higher.
- The paper uses a simulator for most of the results, which may lead to better performance than in reality due to the model in the simulation. Why wasn't the real implementation used for more measurements?
Thursday, October 9, 2008
XORs in the Air: Practical Wireless Network Coding
Like the previous paper, this one is also about taking advantage of the broadcast nature of wireless to improve throughput. However, the approach here is more elegant and more practical. The idea is that different nodes know the contents of different packets, either because they originally sent them, or because they happen to have heard them. If a sender with multiple packets to forward knows which receivers have which packets, it may be able to send a sum of the packets (XOR) such that each receiver can "solve" for their own packet from it. This is shown to actually improve throughput noticeably in real networks. Unlike the previous paper, end applications don't need to be modified, there is no need for batching, and the scheme works well with multiple flows - in fact, that's the whole point of the scheme. This makes the scheme applicable in real 802.11 networks. The paper is well-presented and interesting to read.
Note that COPE takes advantage of the wireless medium in a fundamentally different way from ExOR. ExOR is about taking advantage of multiple relay nodes when we send from a single source to a single destination and links are lossy. COPE is about conserving spectrum when multiple flows pass through the same set of nodes, and does not worry overly much about loss. The approach in COPE seems more useful in real wireless network deployments, whereas ExOR is sort of a "theoretical" result that, if you had to send from one node to another over a lossy channel and there happened to be several idle nodes in-between you and your destination, you should utilize all of them rather than trying to find one single best path.
I also found it interesting that COPE could improve throughput by reducing the sizes of router queues. This is a nice unanticipated effect.
My main concern about the paper is whether the potential reordering of packets, or the wait for the nodes to put them back in order, can increase jitter and confuse TCP's estimation of round-trip time or confuse real-time applications. It would have been nice to see some latency results.
Note that COPE takes advantage of the wireless medium in a fundamentally different way from ExOR. ExOR is about taking advantage of multiple relay nodes when we send from a single source to a single destination and links are lossy. COPE is about conserving spectrum when multiple flows pass through the same set of nodes, and does not worry overly much about loss. The approach in COPE seems more useful in real wireless network deployments, whereas ExOR is sort of a "theoretical" result that, if you had to send from one node to another over a lossy channel and there happened to be several idle nodes in-between you and your destination, you should utilize all of them rather than trying to find one single best path.
I also found it interesting that COPE could improve throughput by reducing the sizes of router queues. This is a nice unanticipated effect.
My main concern about the paper is whether the potential reordering of packets, or the wait for the nodes to put them back in order, can increase jitter and confuse TCP's estimation of round-trip time or confuse real-time applications. It would have been nice to see some latency results.
Wednesday, October 8, 2008
ExOR: Opportunistic Multi-Hop Routing for Wireless Networks
This paper focused more on an idea than on implementation details and even practicality. The main point of the paper is that you can take advantage of the broadcast nature of wireless to improve throughput. This is something that network researchers probably overlooked for a long time, so it's good to point out. The actual method in which they take advantage of the broadcast medium is to have everyone listen to a packet, and then figure out which receiver is closer to the destination, and have it send the packet on. This way, you take advantage of redundancy in the paths as well as strokes of luck that let you get a packet through a longer, lossier link. At least, that's the theory. The actual implementation is much hairier, involving batching of multiple packets and an agreement protocol for who received what. The fact that you need to send the last 10\% of packets through traditional means seems like a serious hack. Could you not have used forward error correction or latched on to the end of the next batch?
Some of the other practical issues I had with the implementation were:
I also didn't understand why the paper was called ExOR. What does that stand for? I would've guessed upon reading the title that the paper would be about network coding (XORs in the air), but it wasn't.
Some of the other practical issues I had with the implementation were:
- Batching is bad for latency and jitter, and might not always be possible. What about constant-bit-rate sources?
- ExOR takes better advantage of the broadcast medium if there's one source-destination pair talking at once. What if there are more? It would seem that the extra gossiping and coordination on who is to send what is wasteful. Also, you might as well have been using lower transmit power and shorter, but less conflicting links rather than hoping that someone far away might hear some of your transmissions.
- It's clear that TCP apps won't work really well over ExOR, and neither will realtime apps. What use case does this leave, where we need high throughput in a wireless network?
I also didn't understand why the paper was called ExOR. What does that stand for? I would've guessed upon reading the title that the paper would be about network coding (XORs in the air), but it wasn't.
Tuesday, October 7, 2008
A High-Throughput Path Metric for Multi-Hop Wireless Routing
This paper presents the ETX metric for measuring paths in multi-hop wireless networks, which uses an expected transmission count rather than the standard minimum hop count. ETX thus takes into account loss rates and interference among different hops in the same path, leading to better routes that cause less interference, waste less energy, and get packets through more reliably. Although the metric is simple, it was interesting that it could work well and sometimes give a 2x increase in performance.
I have three criticisms for the paper. First, is the performance improvement really that good, or always necessary? Certainly 2x performance improvement is noticeable, but it only happens in a fraction of the cases in the evaluation. Is it worth switching to a more complicated routing metric? Second, ETX requires constant loss rate estimation, which could be costly and could also lead to misestimations, causing complex behavior. Minimum hop count is pretty robust and easy to understand, as long as you have a threshold for using reasonably good links. Finally, although the paper mentioned related work, such as the delivery-ratio-product metric of [33], and explains why it might perform poorly, this work is not evaluated in the experiments. How can we know whether ETX provides a 100% increase in performance over [33], or a 5% increase, or even a decrease? It would be more responsible to compare against these other metrics and see how much we really gain.
The paper was useful to read because ETX is probably a good metric to try out in any sensor network or MANET type of work, even if it turns out to be difficult to estimate correctly or to perform poorly in practice.
I have three criticisms for the paper. First, is the performance improvement really that good, or always necessary? Certainly 2x performance improvement is noticeable, but it only happens in a fraction of the cases in the evaluation. Is it worth switching to a more complicated routing metric? Second, ETX requires constant loss rate estimation, which could be costly and could also lead to misestimations, causing complex behavior. Minimum hop count is pretty robust and easy to understand, as long as you have a threshold for using reasonably good links. Finally, although the paper mentioned related work, such as the delivery-ratio-product metric of [33], and explains why it might perform poorly, this work is not evaluated in the experiments. How can we know whether ETX provides a 100% increase in performance over [33], or a 5% increase, or even a decrease? It would be more responsible to compare against these other metrics and see how much we really gain.
The paper was useful to read because ETX is probably a good metric to try out in any sensor network or MANET type of work, even if it turns out to be difficult to estimate correctly or to perform poorly in practice.
A Performance Comparison of Multi-Hop Ad Hoc Network Routing Protocols
This paper simulates four MANET routing protocols with a somewhat more realistic model than previous work, and evaluates how they perform under different degrees of node mobility. The paper includes a detailed description of each protocol, which was great to have. The high-level conclusion is that DSR and perhaps AODV are best in terms of delivery success rates and overhead (although this is not stated in the intro; most of the focus is on methodology).
Although this paper was very detailed, there were several things that really bothered me about the methodology and the evaluation:
In terms of course organization, this paper should come before the path metric one, since it describes the DSDV and DSR algorithms used in the path metric paper.
Although this paper was very detailed, there were several things that really bothered me about the methodology and the evaluation:
- The physical later model is still very simplistic. It's really hard to match the real world with simulations in something as complicated as wireless.
- The paper modified the algorithms studied in a variety of ways. While this could be seen as a good thing because it makes it more fair to each algorithm, there is the question of when to stop. The improvements in the paper clearly had a positive effect on the algorithms. How do we know whether some equally simple improvements won't drastically improve the algorithms that performed badly?
- The constants for the algorithms (timeouts, refresh intervals, etc) seem to be pulled out of a hat.
- The movement and communication models are very arbitrary. For example, few groups of things really move along random waypoints, or do nothing for the first 600 seconds and then all start moving at once. The 1500x300 (5x1) field is just really bizarre. So is having ony CBR sources. Just running a lot of experiments with the random waypoint model isn't enough, especially if you're only going to present averages of performance in the experiments, and not distributions. The paper even says that performance is very sensitive to movement, which should be a sign that it's important to validate a model, maybe base it on traces of real use cases, and try a variety of scenarios which are not just random samples from the same model.
- Standard deviations aren't shown in the results, and it's hard to tell why certain protocols do badly. Maybe the algorithms were designed specifically to deal with particular scenarios - why then simulate them all in the same scenario?
In terms of course organization, this paper should come before the path metric one, since it describes the DSDV and DSR algorithms used in the path metric paper.
Thursday, October 2, 2008
Architecture and Evaluation of an Unplanned 802.11b Mesh Network
This paper presents the design and evaluation of an ad-hoc wireless mesh network between residential users. There are a lot of details, but the main conclusion is that it is possible to have reasonably good performance using an automatically managed network deployed by users in an ad-hoc fashion with no central oversight. The largest design challenge was probably the link quality measurement and routing metric.
I liked the ETT metric, which combines information about throughputs and loss probabilities for both big data packets and ACKs without making many assumptions about the link (e.g. constant error rate per bit). I also found the multihop interference very interesting - it seems like there should be a way to fix that. (But then, why have they disabled RTS/CTS?)
I also liked the fact that this is a real implementation, and not a simulation, like the previous papers! Some of the comparisons are still calculations based on simulation, but at least they are using measured values for throughput, latency, etc. I actually think this wireless portion of the course could be improved by having more experience papers about real systems, if these are available.
I had a number of questions about the paper that weren't really answered:
- Why is RTS/CTS disabled in the wireless nodes? This is especially strange because it may be a cause of the multihop self-interference effect seen.
- How much more powerful are the antennas on the Roofnet nodes compared to a "standard" wifi router? Can they interfere with peoples' WLANs at home?
- How does the placement of the directional antennas affect performance?
- Was Click performance good enough to never be a bottleneck?
- How often do route metrics change, and how often do they lead to changes in preferred paths?
- The system recovers from lost nodes or degraded link quality, but can it recover from a complete restart, as would happen for example with a power failure?
- I was very surprised that ISPs actually allowed wireless sharing of links. Is this still true today? I imagine ISPs would be okay with it if they could charge extra, and if we do that, what is a good pricing model to use? This also leads to a general question about what the "market demand" for systems like Roofnet is. Sure, Roofnet is very cool technology, but what is the economic problem that it solves? Could it be used to set up a lower-cost "local ISP" than standard ISP's?
I liked the ETT metric, which combines information about throughputs and loss probabilities for both big data packets and ACKs without making many assumptions about the link (e.g. constant error rate per bit). I also found the multihop interference very interesting - it seems like there should be a way to fix that. (But then, why have they disabled RTS/CTS?)
I also liked the fact that this is a real implementation, and not a simulation, like the previous papers! Some of the comparisons are still calculations based on simulation, but at least they are using measured values for throughput, latency, etc. I actually think this wireless portion of the course could be improved by having more experience papers about real systems, if these are available.
I had a number of questions about the paper that weren't really answered:
- Why is RTS/CTS disabled in the wireless nodes? This is especially strange because it may be a cause of the multihop self-interference effect seen.
- How much more powerful are the antennas on the Roofnet nodes compared to a "standard" wifi router? Can they interfere with peoples' WLANs at home?
- How does the placement of the directional antennas affect performance?
- Was Click performance good enough to never be a bottleneck?
- How often do route metrics change, and how often do they lead to changes in preferred paths?
- The system recovers from lost nodes or degraded link quality, but can it recover from a complete restart, as would happen for example with a power failure?
- I was very surprised that ISPs actually allowed wireless sharing of links. Is this still true today? I imagine ISPs would be okay with it if they could charge extra, and if we do that, what is a good pricing model to use? This also leads to a general question about what the "market demand" for systems like Roofnet is. Sure, Roofnet is very cool technology, but what is the economic problem that it solves? Could it be used to set up a lower-cost "local ISP" than standard ISP's?
Wednesday, October 1, 2008
Modeling Wireless Links for Transport Protocols
This paper explains how many models of wireless links used in research are inaccurate and how to really model the losses, variable delays and retransmissions that can occur. The paper is very important because it shows problems with many evaluations of new proposals and tells researchers how to get wireless channels right. However, this is also my main gripe with the paper: it only explains how to make better models, or at least models that are better in particular scenarios. It does not answer the question of "when is a model good enough to be accurate within X%", nor does it propose other means of evaluating the protocols, like how to set up a realistic experiment. As long as you only use modeling, all you can do in a paper like this is prove past work "wrong", but not prove any work "right", because the models could still be faulty. It's also unfortunate that the paper doesn't try to quantify how far off one can be with the simplifying assumptions in some of the work it criticizes - e.g. assuming that uplink and downlink have the same capacity may be okay if acks are very tiny compared to data packets.
My other gripe with the paper is that it contains a lot of maybes and speculation about future technology. This is good for warning researchers that some of the problems they are trying to solve (delay, reordering, etc) might go away by themselves, but it seems far to premature to discount work dealing with these problems just in case a better link layer protocol is invented. We also know that software can be much easier to change than hardware, so it makes a lot of sense to work on transport algorithms rather than worrying that a link layer complication you are trying to solve will be irrelevant in a few years. Maybe this wasn't clear at the time of the paper, if Wifi and cellular networking were not pervasive; but today, it's pretty obvious that 802.11 is not going away soon, and neither is edge / 3G / etc, so we need to design protocols that work well with them.
I was a little surprised at the paragraph that said current WLANs don't reorder packets. It actually makes sense, since you're supposed to hear the link-level ACK right away, so you can keep trying to send a packet if you don't hear it. But in that case, why was so much of the work in the previous paper (comparing transports over wireless) concerned with reordering? Did none of those papers use any evaluation beyond simulation?
My other gripe with the paper is that it contains a lot of maybes and speculation about future technology. This is good for warning researchers that some of the problems they are trying to solve (delay, reordering, etc) might go away by themselves, but it seems far to premature to discount work dealing with these problems just in case a better link layer protocol is invented. We also know that software can be much easier to change than hardware, so it makes a lot of sense to work on transport algorithms rather than worrying that a link layer complication you are trying to solve will be irrelevant in a few years. Maybe this wasn't clear at the time of the paper, if Wifi and cellular networking were not pervasive; but today, it's pretty obvious that 802.11 is not going away soon, and neither is edge / 3G / etc, so we need to design protocols that work well with them.
I was a little surprised at the paragraph that said current WLANs don't reorder packets. It actually makes sense, since you're supposed to hear the link-level ACK right away, so you can keep trying to send a packet if you don't hear it. But in that case, why was so much of the work in the previous paper (comparing transports over wireless) concerned with reordering? Did none of those papers use any evaluation beyond simulation?
Subscribe to:
Posts (Atom)