|
Home > Archive > Unix Programming > January 2006 > The fastest mechanism of IPC
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
The fastest mechanism of IPC
|
|
| atom10jj@gmail.com 2006-01-24, 2:49 am |
| hi~ dear,
I need to find the fastest IPC mechanism between processes or threads.
I believe that It is different case by case.
in my case, there are two case.
1st, transfer small data. ex) some arguments, IDs
2nd, transfer big data ex) raw audio, image, video data
Please correct any misunderstandings that I have,
Also, any additional clarification would be greatly appreciated.
| |
| Rodrick Brown 2006-01-24, 2:49 am |
| <atom10jj@gmail.com> wrote in message
news:1138076631.083600.134310@o13g2000cwo.googlegroups.com...
> hi~ dear,
> I need to find the fastest IPC mechanism between processes or threads.
> I believe that It is different case by case.
> in my case, there are two case.
>
> 1st, transfer small data. ex) some arguments, IDs
> 2nd, transfer big data ex) raw audio, image, video data
>
> Please correct any misunderstandings that I have,
>
> Also, any additional clarification would be greatly appreciated.
>
See Solaris's door interface
--
Rodrick R. Brown
Senior IT Consultant
http://www.rodrickbrown.com
rodrick.brown[<@>]gmail.com
When in 1986 Apple bought a Cray X-MP and announced that they would use it
to design the next Apple Macintosh, Seymour Cray replied, "This is very
interesting because I am using an Apple Macintosh to design the Cray-2
supercomputer."
| |
| Paul Pluzhnikov 2006-01-24, 2:49 am |
| "Rodrick Brown" <rodrick.brown@gmail.com> writes:
> <atom10jj@gmail.com> wrote
The fastest IPC will be between threads -- no IPC is required at all.
[vbcol=seagreen]
> See Solaris's door interface
That is specific to Solaris.
What made you believe OP is interested in a Solaris-only solution?
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
| |
| Rich Teer 2006-01-24, 2:49 am |
| On Mon, 23 Jan 2006, Paul Pluzhnikov wrote:
> "Rodrick Brown" <rodrick.brown@gmail.com> writes:
>
>
> The fastest IPC will be between threads -- no IPC is required at all.
>
>
> That is specific to Solaris.
Linux has at least some support for doors (or at least, there is/was a
Linux doors project).
> What made you believe OP is interested in a Solaris-only solution?
What makes you believe the OP isn't interested in a Solaris-only
solution?
--
Rich Teer, SCNA, SCSA, OpenSolaris CAB member
President,
Rite Online Inc.
Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
| |
| Pascal Bourguignon 2006-01-24, 2:49 am |
| "atom10jj@gmail.com" <atom10jj@gmail.com> writes:
> hi~ dear,
> I need to find the fastest IPC mechanism between processes or threads.
> I believe that It is different case by case.
> in my case, there are two case.
>
> 1st, transfer small data. ex) some arguments, IDs
> 2nd, transfer big data ex) raw audio, image, video data
>
> Please correct any misunderstandings that I have,
>
> Also, any additional clarification would be greatly appreciated.
Shared memory is the fastest. When you've got several processors or a
multi-core processors, in the best circumstances you'll need only one
microprocessor cycle to communicate between the threads or processes.
Any other scheme will be slower.
--
__Pascal Bourguignon__ http://www.informatimago.com/
This universe shipped by weight, not volume. Some expansion may have
occurred during shipment.
| |
| Paul Pluzhnikov 2006-01-24, 6:23 pm |
| Rich Teer <rich.teer@rite-group.com> writes:
> Linux has at least some support for doors (or at least, there is/was a
> Linux doors project).
There is an implementation (someone's research project?).
The sourceforge project lists it as doors-0.1 and has never been
updated since 2001. I'd say this project is pretty dead.
The implementation is by no means "available on Linux" (as in
"you can walk up to a random Linux machine and it will have doors
available").
> What makes you believe the OP isn't interested in a Solaris-only
> solution?
Most people who post here aren't.
The ones that are (if they have some common sense) either say so,
or (cross)post to comp.unix.solaris.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
| |
| Logan Shaw 2006-01-24, 6:23 pm |
| Paul Pluzhnikov wrote:
> Rich Teer <rich.teer@rite-group.com> writes:
[vbcol=seagreen]
> Most people who post here aren't.
On the other hand, the OP did say they wanted the fastest IPC mechanism.
If doors are it, and if a fast IPC mechanism is a very high priority,
maybe they're willing to adopt Solaris purely because it has doors. :-)
- Logan
|
|
|
|
|