Re: a Great Idea - include Kademlia networking protocol in kernel

From: H. Peter Anvin
Date: Mon Aug 02 2010 - 14:16:32 EST


On 08/02/2010 08:09 AM, Valdis.Kletnieks@xxxxxx wrote:
> On Mon, 02 Aug 2010 23:02:01 +0800, you said:
>
>> HTTP if more of an access protocol,the logical network is woven in
>> the web page controled by html, the network needed is formed and take
>> part in by tcp/ip protocol which usually lies in kernel.
>>
>> Kademlia itself has the responsibility to weave the p2p network and
>> bring a node into the p2p network before access can be done.
>
> You're still failing to explain why the kernel needs to do this
> rather than some -lkademlia in userspace.
>

Specifically, the reasons a network protocol goes in the kernel is
either because it needs a multiplex that isn't possible in userspace
(UDP, for example, needs a port number multiplex), or because acceptable
performance isn't possible in userspace (this mostly applies to NFS.)

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/