Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.embedded > #43

Re: Message Queue for high performance system

From jeffj@panix.com (Jeff Jonas)
Newsgroups comp.os.linux.embedded
Subject Re: Message Queue for high performance system
Date 2011-09-01 22:44 -0400
Organization Jeff's House of Electronic Parts
Message-ID <j3pfu2$7kr$1@panix5.panix.com> (permalink)
References <beedda98-495a-455d-b014-53f9bba30a98@m35g2000prl.googlegroups.com>

Show all headers | View raw


In article <beedda98-495a-455d-b014-53f9bba30a98@m35g2000prl.googlegroups.com>,
Raj  <rajendrat@gmail.com> wrote:
>We are planning to use around 100 message queues in a high performance
>system for IPC. And the messages used are of fewer bytes in sizes.
>Would like to know if there any limitations or caveats in using Linux
>IPC message queues.

Old *nix systems required static allocation of message queues:
number of queues, number of entries, etc.

Is this system using any networking?
Unless you're using message priorities and out-of-band-signalling,
sockets do the job well
and tend to have better dymanic buffering/allocation.

I never did the benchmarking but several places I worked
used shared memory & semaphores instead of message queues,
claiming it was faster.

Back to comp.os.linux.embedded | Previous | NextPrevious in thread | Find similar


Thread

Message Queue for high performance system Raj <rajendrat@gmail.com> - 2011-09-01 12:17 -0700
  Re: Message Queue for high performance system jeffj@panix.com (Jeff Jonas) - 2011-09-01 22:44 -0400

csiph-web