All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] max size for pipes and rt-fifos?
@ 2006-09-06 21:14 Jeff Webb
  2006-09-07  9:23 ` Jan Kiszka
  0 siblings, 1 reply; 12+ messages in thread
From: Jeff Webb @ 2006-09-06 21:14 UTC (permalink / raw)
  To: xenomai

Here are a couple of questions that I hope someone can answer:

It appears that the maximum pipe size that can be created using rt_pipe_create() is 16 MB.  Is this correct?  If so, what is the cause of this limitation, and are there any work-arounds?  I am using a 128 MB FIFO in my rtlinux simulation.  Any ideas on how I can port this?

It appears that the maximum size for RT-FIFOs created with the rtai skin's rtf_create() is much less than 16 MB.  It's hard to quantify, since the errors are given at FIFO write time, and not creation time, but it appears to be around 100 kB or so.  Why is this not the same as for rt_pipe_create()?  Also, why is the memory allocation not done at creation time?  It looks like the memory allocation is done on the first rtf_put() -- which is called from my real-time thread!  I assumed the memory allocation would be a non-realtime operation.  (It also appears that I am getting some kind of memory leak when the memory allocation fails, because I can not allocate as much memory the next time around.  I am cleaning up the FIFO with rtf_destroy, so I don't know what I could be doing wrong...)

Thanks,

Jeff


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

end of thread, other threads:[~2006-09-12 11:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-06 21:14 [Xenomai-help] max size for pipes and rt-fifos? Jeff Webb
2006-09-07  9:23 ` Jan Kiszka
2006-09-07 19:53   ` Jeff Webb
2006-09-08  6:55     ` Jan Kiszka
2006-09-11 20:03       ` Jeff Webb
2006-09-11 20:49         ` Gilles Chanteperdrix
2006-09-11 22:29           ` Jan Kiszka
2006-09-12 11:29             ` Gilles Chanteperdrix
2006-09-08 13:59     ` Philippe Gerum
2006-09-09 16:05       ` Philippe Gerum
2006-09-11 20:29         ` Jeff Webb
2006-09-11 21:15           ` Philippe Gerum

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.