Re: User-space controlled raw ethernet - Is this the way to go?
- From: Bernhard Agthe <dark2star@xxxxxxx>
- Date: Mon, 25 Feb 2008 17:43:18 +0100
Hi,
My plan is to create a very simple kernel module that probably uses
direct socket code to perform ethernet frame transmission and reception.
There's something like that, the TUN/TAP interface which provides access
to the raw sockets. This is used e.g. by the former ethereal or by
various IPsec/VPN solutions. Don't know about the most recent
development, though.
Implement minimal ARP and UDP.
Actually this was my first approach. But I really wasn't that happy with
the overhead of the IP and UDP headers.
Have you ever had a look at TCP/UDP/IP header compression? You might
have to look at IPv6 for this... They've been invented for directly
linked devices and you've got the benefit of a standardized solution.
As far as I understand, you're trying to squeeze as much bandwidth as
possible out of the connection? Well, I'm not sure, if the additional
processing power you need for your implementation doesn't "cost" more
than using the existing implementation - as stated elsewhere in this
thread, Linux Networking is fast. In most cases the system periphery
will limit you more. Take a look at cluster computing also, they do face
the same problem and did solve it already.
Bye....
.
- Follow-Ups:
- Re: User-space controlled raw ethernet - Is this the way to go?
- From: David Schwartz
- Re: User-space controlled raw ethernet - Is this the way to go?
- From: Rainer Weikusat
- Re: User-space controlled raw ethernet - Is this the way to go?
- References:
- User-space controlled raw ethernet - Is this the way to go?
- From: Andrew Greensted
- Re: User-space controlled raw ethernet - Is this the way to go?
- From: David Schwartz
- Re: User-space controlled raw ethernet - Is this the way to go?
- From: Andrew Greensted
- User-space controlled raw ethernet - Is this the way to go?
- Prev by Date: Re: User-space controlled raw ethernet - Is this the way to go?
- Next by Date: Re: Swap or I/O Improvement in Fedora 8?
- Previous by thread: Re: User-space controlled raw ethernet - Is this the way to go?
- Next by thread: Re: User-space controlled raw ethernet - Is this the way to go?
- Index(es):