All of lore.kernel.org
 help / color / mirror / Atom feed
* Fast data acquisition
@ 2002-10-16  1:45 Vadim Lebedev
  2002-10-16 12:59 ` Richard B. Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Vadim Lebedev @ 2002-10-16  1:45 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-16 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-16  1:45 Fast data acquisition Vadim Lebedev
2002-10-16 12:59 ` Richard B. Johnson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.