Re: Streaming data from kernel to userland

2007-01-23 Thread Kevin Sanders
On 1/18/07, John-Mark Gurney [EMAIL PROTECTED] wrote: Kevin Sanders wrote this message on Thu, Jan 18, 2007 at 17:40 -0800: Ivan, I'm basically doing something similar, and I have found that adding kqueue support to your kernel module and making ioctl/read/write's is very efficient. I'm a

Re: Streaming data from kernel to userland

2007-01-19 Thread Ivan Voras
Daniel O'Connor wrote: On Friday 19 January 2007 08:52, Ivan Voras wrote: mind while thinking of this is sockets, so is there a sockets-like interface which could be used to transfer large amounts of constantly generated data from kernel to a userland application? Any advice on its usage

Re: Streaming data from kernel to userland

2007-01-19 Thread Peter Jeremy
On Thu, 2007-Jan-18 23:22:01 +0100, Ivan Voras wrote: I'm thinking of doing something which would require streaming large amounts of pretty much real-time data from kernel to a userland application (for further processing). The simplest interface is read(). The downside is that (in the default

Re: Streaming data from kernel to userland

2007-01-19 Thread Daniel O'Connor
On Friday 19 January 2007 19:25, Ivan Voras wrote: Daniel O'Connor wrote: On Friday 19 January 2007 08:52, Ivan Voras wrote: mind while thinking of this is sockets, so is there a sockets-like interface which could be used to transfer large amounts of constantly generated data from kernel

Streaming data from kernel to userland

2007-01-18 Thread Ivan Voras
I'm thinking of doing something which would require streaming large amounts of pretty much real-time data from kernel to a userland application (for further processing). The first thing that comes to my mind while thinking of this is sockets, so is there a sockets-like interface which could be

Re: Streaming data from kernel to userland

2007-01-18 Thread Daniel O'Connor
On Friday 19 January 2007 08:52, Ivan Voras wrote: I'm thinking of doing something which would require streaming large amounts of pretty much real-time data from kernel to a userland application (for further processing). The first thing that comes to my mind while thinking of this is sockets,

Re: Streaming data from kernel to userland

2007-01-18 Thread Kevin Sanders
On 1/18/07, Daniel O'Connor [EMAIL PROTECTED] wrote: On Friday 19 January 2007 08:52, Ivan Voras wrote: I'm thinking of doing something which would require streaming large amounts of pretty much real-time data from kernel to a userland application (for further processing). The first thing

Re: Streaming data from kernel to userland

2007-01-18 Thread John-Mark Gurney
Kevin Sanders wrote this message on Thu, Jan 18, 2007 at 17:40 -0800: On 1/18/07, Daniel O'Connor [EMAIL PROTECTED] wrote: On Friday 19 January 2007 08:52, Ivan Voras wrote: I'm thinking of doing something which would require streaming large amounts of pretty much real-time data from