On 03-09-03 16:31:43 CEST, Michael Bell wrote:
> Actually I use one messagequeue and two fifos because I don't know how 
> fast fifos are and how many bytes I can transfer through a messagequeue.

speed of a fifo?
about as fast as you can get, i suppose, it's just memory copying.

$ dd if=/dev/zero bs=1k count=1000000 | dd of=/dev/null bs=1k
1000000+0 records in
1000000+0 records in
1000000+0 records out
1024000000 bytes transferred in 3.460183 seconds (295938101 bytes/sec)
1000000+0 records out
1024000000 bytes transferred in 3.461872 seconds (295793719 bytes/sec)

about 300 MB/s, and don't ask me what the bottleneck was. :-)

what do you mean by how many bytes through a message queue?
at once?  the linux implementation sets the limit to 4080 bytes, looks
like one page minus 16 bytes.
at all?  do you expect to run into problems once you transfer more than
2 or 4 GiB?

rj


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
OpenCA-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to