LKML Archive on
help / color / mirror / Atom feed
From: Pavel Machek <>
To: Lukas Razik <>
Subject: Re: Ethernet over Kernel Sockets
Date: Sun, 2 Mar 2008 11:46:50 +0100	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Fri 2008-02-29 21:54:21, Lukas Razik wrote:
> Hello all!
> As you know, some network cards doesn't have a 'eth' 
> interface under linux.
> Because of that I'm developing a net_device based driver 
> which doesn't transmit and receive directly through a 
> real network card but through UDP kernel sockets.

What is it good for?

> So the eth1 interfaces are based on sockets which use 
> the eth0 (Gigabit) interfaces for the communication.
> Now, if I measure the transmission between 
> and then I get transmission rates that are 
> normal for Gigabit-Ethernet (~25?sec (PingPong) and 
> ~900Mbit/s).
> If I measure the transmission through the eth1 
> interfaces between and then I 
> only get ~1msec (PingPong) and only about ~400Mbit/s.
> The interesting thing is, that I always get PingPongs of 
> 1ms (= one jiffie). Although if I measure with 100MBit- 
> or other non-Ethernet cards.

Try increasing HZ :-)... or maybe it is a gigabit interrupt mitigation

(cesky, pictures)

  reply	other threads:[~2008-03-02 15:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29 20:54 Lukas Razik
2008-03-02 10:46 ` Pavel Machek [this message]
2008-03-03 21:04   ` Lukas Razik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: Ethernet over Kernel Sockets' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).