Slashdot Log In
Rerouting the Networks
Posted by
kdawson
on Mon May 21, 2007 07:37 PM
from the coding-around-damage dept.
from the coding-around-damage dept.
prostoalex writes "Scientific American looks at a new approach to clearing networking jams, in research funded by the US military. Instead of using routers to route the packets from point A and point B, thus making some hop in the sequence critical for delivering the message, researchers are exploring a new approach called 'network coding.' (Here is the illustration cited in the article.)" Quoting: "[Four researchers] then at the University of Hong Kong published groundbreaking work that introduced a new approach to distributing information across shared networks. In... network coding, routers are replaced by coders, which transmit evidence about messages instead of sending the messages themselves. When receivers collect the evidence, they deduce the original information from the assembled clues. Although this method may sound counterintuitive, network coding, which is still under study, has the potential to dramatically speed up and improve the reliability of all manner of communications systems and may well spark the next revolution in the field. Investigators are, of course, also exploring additional avenues for improving efficiency; as far as we know, though, those other approaches generally extend existing methods.'"
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Waste of Taxpayer money (Score:5, Funny)
I doubt that the taxpayers would approve.
don't worry (Score:5, Funny)
Parent
Re: (Score:2)
Re: (Score:2)
I am posting in this thread because I'm fresh out of mod points... But even if I weren't, there isn't any "+1, Deftly Ironic" moderation or I'd set you up with one of those...
Re:Waste of Taxpayer money (Score:4, Funny)
It was removed because people kept using it when they should have chosen the "+1, Biting Satire" option instead.
(For reference, this post should be modded "+1, Deadpan".)
Parent
This sounds vaguely like (Score:5, Interesting)
Re: (Score:2, Informative)
so, they use error correcting codes, like, for example, parity (like raid 4,5) or reed-solomon (i think that's used in raid 6 or 7 or something), or turbo-codes.
fyi, for the latter i don't actually know how it works.
anyway, this
I must be missing something. (Score:3, Insightful)
So they had originally started with one channel from A to D and that channel was also used by B sending to C.
They said that it was inefficient because A to D would have to wait at times for B to C.
Their "solution" seems to be to add a SECOND CHANNEL that will transmit a bit AS FAST AS THE PRIMARY CHANNEL and so both messages will get to their destination sooner.
Why not just use that secondary channel to transmit the data in the first place?
Did I miss something?
Re: (Score:2)
It sounds the article's original hypothesis is 'Frames go from Router A to Router B.' So what they do to solve it is...add more routers. The diagram simply looks like 1 router that can route to 6 further routers (A-F) which then route to a further 20 (G-Z).
I'm probably missing something too...that seems too easy.
And they added FASTER routers. :) (Score:2)
The second rank of routers can handle TEN outbound connections at 1 bit per second (total 10 bits per second).
And they aren't adding any time delays for the merging of the data streams.
I think I can see what they're trying to do the pictures. And it doesn't look right to me (but who am I anyway). Their choke point (the first router) needs a LOT of information about the second rank of routers.
In essence, they'
Re: (Score:2)
Re: (Score:2, Informative)
If you automatically broadcast the knowledge of the message across all available channels, if it gets to the other end its won.
This is the not putting all your eggs in one basket scenario which attempts to address bandwidth limitation issues.
It was only recently I was thinking about global communications on a wireless mesh without ISP involvement (reroute the backbone across home networks), I wonder if this could be the kickstart it needs?
Re:I must be missing something. (Score:4, Informative)
Parent
That still wouldn't work. (Score:3, Informative)
which blocks C from sending anything
but C must be sending to D at the same time so that the messages can be merged at the "coder" point.
And the coder would then use TWO transmissions to send the "hint" and the merged data.
It's still sending two data streams (one for merged stream and one for hints) when they were originally complaining about how it was a single channel.
Re:That still wouldn't work. (Score:5, Informative)
Without any coding this is how time is spent:
1. A->B: pAB
2. B->C: pAB
3. C->B: pBA
4. B->A: pBA
Note than in steps 2 and 4, thanks to the nature of wireless channels both A and C get the packet transmitted by B. One of these receptions is thus wasted. With coding, it can be used to send the same data in 25% less time:
1. A->B: pAB
2. C->B: pBA
3. B->A, B->C: pAB xor pBA
To decode, A xors the received data with pAB, C with pBA.
Parent
Re:That still wouldn't work. (Score:4, Interesting)
Parent
Re:No. (Score:4, Informative)
For the example before:
1. A->B: pAB
2. C->B: pBA
3. B->A, B->C: pAB xor pBA
Assume that at time=3 a bird flies between B & C. The sequence becomes:
1. A->B: pAB
2. C->B: pBA
3. B->A, B->C: pAB xor pBA [B->A SUCCESS, B->C ERROR]
4. B->C: pAB xor pBA [retry]
B resends the packet, but addresses it only to C. This is still quicker than routing, which would take 5 time slices.
Parent
Where is "D"? (Score:3, Interesting)
A to B to C
and
C to B to A
It's about A sending to D while at the same time B is sending to C.
You've left off "D".
And you failed to account for how B would know ahead of time that C would be sending a message. Which fails completely when you try to account for "D" in the equation. You need to account for the packets telling B which points wish to transmit.
In your wireless example, it would be easier to just skip B and have A broadcast its message to all and sundry and then C can br
Re: (Score:2)
I wasn't explaining their example, I was giving you a different example where network coding can be put to good use with a clear reason for the existence of the additional unused resources. There are more good examples in wikipedia. [wikipedia.org]
And you failed to account for how B would know ahead of time that C would be sending a message.
That's an implementation detail. It's been solved by buffering some packets at B. There are good papers on this out there, like xor in the air. [mit.edu]
In your wi
Re: (Score:2)
Re: (Score:2)
In your example, C's response dos not depend on what C receives from A. Also, B is magically able to simutanously send two messages (no serial device can do that).
If the responce (C -> A) is indeed independent from the first message (A -> C), then A and C can sart sending in parallel, thus eliminating the gain in speed. Also, you assume that the message sent from A to C is identical to the message sent from C to A. Assuming that, I'd offen the even more efficient startegy of using A -> A,
butterfly and quantum networks (Score:5, Informative)
Parent
realistic receiver connectivity and bandwidth (Score:2, Interesting)
Re: (Score:2, Insightful)
Rather than using the silly parity schemes as mentioned in the article, you'd use a long code (i.e. a code that could extend beyond a single transmission). Then, if you lose part of the transmission, you could request enough additional symbols to reconstruct the message. Any decent (i.e. maximum distance separable) erasure code has the property that the amount of data you need does not exceed the size of the message, even if you lose a subset
Re: (Score:2)
Man in the Middle Attacks (Score:3, Interesting)
From that, they can stage any number of man-in-the-middle attacks -- the least potent but most widespread of which is convincing a clueless electorate^W userbase that they are certain sources of acclaimed truth, and manipulating them for their own narrow or evil ends.
Philosophers write about this in inspiring 5-page screeds like "On Truth and Lies in a Non-Moral Sense" [anus.com] by Friedrich Nietzsche. That theory in itself is the foundation of postmodernism and some more dangerous philosophies as well. Could it be that philosophy applies to computer science?
Re: (Score:2)
Or you know... (Score:2)
Re:Or you know... (Score:5, Funny)
It's called "cable Internet service."
Parent
This is for multicast (Score:5, Informative)
Note that this is a distribution network for multicasting. Nothing wrong with that, but it doesn't do anything for ordinary point to point Internet communications. The cable TV people might find it useful, though.
Also wireless (Score:2)
Also the coding people are going crazy about this too. There were a couple papers showing that network coding is a simple extension of linear block codes.
"deduce the original information..." (Score:4, Funny)
... "from the assembled clues"?
Congratulations. You've just hardwired a rumor mill. Everyone knows how fast those things travel.
Already 'sort of' happens? (Score:2)
I might be wrong; I just though this already sort of happens.
20 Questions (Score:4, Funny)
Point B: 'Okay... is it an animal, vegetable, or mineral?'
Coder: 'It's an animal'
Point B: 'Is it... red?'
Sounds efficient!
Re: (Score:2)
The algorithm looks good, but there are holes. (Score:5, Informative)
But in the message diagram, there's a talker, and a receiver that gets messages through inference. Between the two, the cloud between them becomes unbelievably saturated with diffuse messages-- the same reason that ATM looks good on paper with its 53-byte packets, but in reality can't deal with traffic jams. This is why MPLS and other deterministic routing methods were invented-- to qualify transmission routes, not just shoot them like a shotgun into a cloud, hoping that the intended receiver gets the message and deciphers it through receive-side heuristics.
This has been done before, and it didn't work. I'd love to hear comments on why this should succeed.
Mod parent up! (Score:3, Informative)
So each point in their diagram will either have to be aware of every other point (you think routing tables are bad right now) or they have to send MASSIVE amounts of extra data.
Just from their diagram, they went from 3 lines to 6 lines at the first router. Then they fed those into 6 routers each with TEN lines.
Th
Network coding (Score:4, Informative)
Re: (Score:2)
It's Parchive [wikipedia.org] and it is crucial for the transmission of large data files through the usenet network. Usenet is essentially a multicast network, like that in the article and the development of parchive error correction files made it significantly more efficient, essentially bringing the need for retransmits down to nearly zero at a slight cost of 5-10% more data transmitted than would be necessary in a perfectly lossless network.
Nothing to see here folks (Score:3, Interesting)
isn't this just a trade-off? (Score:2)
I do NOT want end nodes to have to work harder than they do today. and routers already do their thing very well. adding MORE complexity to save line bandwidth seems silly to me unless you are still dial-up bound.
Missing diagrams (Score:2)
Re: (Score:2)
Re: (Score:2)
- sm
Re:Umm most traffic is unicast (Score:4, Interesting)
Parent
Re: (Score:2)
Re:Umm most traffic is unicast (Score:5, Funny)
Hmm, that's like telling someone who's complaining that horses are hard to find to get a unicorn instead.
Parent
Re:Isn't comprehensible to me (Score:5, Interesting)
2x + y - z = 1
x - y + z = 2
x + 2y - 3z = -4
Okay, now instead of x,y & z being numbers, imagine they are blocks of data. Bits. And instead of using addition and subtraction, make your operand xor.
Next step, pretend that your original message is the variables strung together in order, xyz.
Easy as 1,2,3.
Parent
Re: (Score:2)
Don't get me wrong. I think that what the research team has come up with is remarkable. I just don't see it as being an efficient use of resources. Demonstrate that the CPU cycles to do all this math won't impact throughput and latency, and I'll be the first to applaud them. Otherwise, it's just a nifty way of recovery that covers such small set of corner cases that it's not worth engineering for.
Re: (Score:2)
SSL would not work for example because it could not be trusted.
It would only be usable for Multicast where you don't care about the integrity of the data (ex: IPTV).
In... network coding, routers are replaced by coders, which transmit evidence about messages instead of sending the messages themselves. When receivers collect the evidence, they deduce the original information from the assembled clues.
It's a solution in search of a problem. We already have Multi