On Wed, 27 Jun 2001, Shahed Ali wrote:
The probelm I face is that pipes under linux (and I suppose unix in general ) have a limit like 4k of buffer size.
Is there any other alternative like special device drivers etc that would allow me to create fifos but allow for a larger buffer size ?
Well, I was going to suggest unix domain sockets, but you specified that you don't want to use sockets. Also, am not sure if java supports PF_UNIX or PF_LOCAL.
I had a look at linux devfs and it seemed to me that something like that may exits that would solve my problem, but I am not sure.
devfs still has several problems that I haven't been able to get around, and haven't found any docs that help (like not loading devices that don't have drivers at boot time).
How about using shared memory? linux 2.4 uses the tmpfs mounted on /dev/shm for shared memory. I've never used it myself, but I think you could give it a try and tell us what you've found.
Philip