The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: "Vadim Lebedev" <vadim@7chips.com>
To: <linux-kernel@vger.kernel.org>
Subject: Fast data acquisition
Date: Wed, 16 Oct 2002 03:45:15 +0200	[thread overview]
Message-ID: <030701c274b5$ad424820$0200000a@LAP> (raw)

Hello,

I'm designing a solution for high speed data acquisition. The solution will
be based on a Pentium class processor running Linux 2.4.x
The data will be acquired over ISA bus using DMA at the rate of 52Mbit per
second and then sent over TCP/IP on Ethernet 100MB connecttion to host
computer.


I wonder how to design a driver for the data acquistion bord that will
minimize data copying.
I have 2 ideas:

1) the application will open the driver and use a sendfile(devicefd,
socketfd, ....) call
2) To have the driver DMA data into the kernel buffer and then calling
sock_sendpage directly from the driver.



Do i need to implement some special functionality in the driver to realize
1) or a sendfile will work with an fd to any character device as source?

Maybe somebody already implement something similar?

Please CC me the responce

Thanks
Vadim



             reply	other threads:[~2002-10-16  1:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16  1:45 Vadim Lebedev [this message]
2002-10-16 12:59 ` Fast data acquisition Richard B. Johnson

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='030701c274b5$ad424820$0200000a@LAP' \
    --to=vadim@7chips.com \
    --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