public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mihnea Balta <dark_lkml@mymail.ro>
To: linux-kernel@vger.kernel.org
Subject: Kernel hooks just to get rid of copy_[to/from]_user() and syscall overhead?
Date: Fri, 10 Jan 2003 16:45:39 +0200	[thread overview]
Message-ID: <200301101645.39535.dark_lkml@mymail.ro> (raw)

Hi,

I have to implement a system which grabs udp packets off a gigabit connection, 
take some basic action based on what they contain, repack their data with a 
custom protocol header and send them through a gigabit ethernet interface on 
broadcast.

I know how to do this in userspace, but I need to know if doing everyting in 
the kernel would show a considerable speed improvement due to removing 
syscall and memory copy overhead. The system will be quite stressed, having 
to deal with around 15-20000 packets/second.

I didn't want to start this e-mail with an excuse, so I delayed it until here 
:). I appologise if this isn't the right place to ask, it seemed that way to 
me. I wasn't able to find sufficient and coherent information about this 
issue on the internet or on this mailing list's archives, so I decided to ask 
you people directly.

Thanks for your time,
Mihnea Balta


             reply	other threads:[~2003-01-10 14:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10 14:45 Mihnea Balta [this message]
2003-01-10 15:04 ` Kernel hooks just to get rid of copy_[to/from]_user() and syscall overhead? Richard B. Johnson
2003-01-10 15:31 ` Gianni Tedesco
2003-01-13  8:37 ` Mihnea Balta
2003-01-14 11:47 ` Mihnea Balta

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=200301101645.39535.dark_lkml@mymail.ro \
    --to=dark_lkml@mymail.ro \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox