The fastest mechanism of IPC
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > The fastest mechanism of IPC




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    The fastest mechanism of IPC  
atom10jj@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 07: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.






[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Rodrick Brown


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 07: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."







[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 07: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.





[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Rich Teer


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 07: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





[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Pascal Bourguignon


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 07: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.





[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11: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.





[ Post a follow-up to this message ]



    Re: The fastest mechanism of IPC  
Logan Shaw


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 11: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:46 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register