LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Best interprocess communication method for transferring large amount of data? (https://www.linuxquestions.org/questions/linux-software-2/best-interprocess-communication-method-for-transferring-large-amount-of-data-723984/)

mntgoat 05-05-2009 05:35 PM

Best interprocess communication method for transferring large amount of data?
 
Hello all, I have two processes. The first process reads large amounts of data off the HDD (originally created with a SDR sending data to the disk via a USB link) at a minimum speed of 40MB/s. The second process will will run the data through various DSP algorithms. I need to develop a good strategy for processing this data as it enters the system. What would be the best way of streaming data through the various processes (at 40MB/s)? I was thinking shared memory but not quite sure about this strategy.

I'm running Fedora 10 and writing code in C.

bhaslinux 05-07-2009 06:58 AM

Quote:

Originally Posted by mntgoat (Post 3531368)
Hello all, I have two processes. The first process reads large amounts of data off the HDD (originally created with a SDR sending data to the disk via a USB link) at a minimum speed of 40MB/s. The second process will will run the data through various DSP algorithms. I need to develop a good strategy for processing this data as it enters the system. What would be the best way of streaming data through the various processes (at 40MB/s)? I was thinking shared memory but not quite sure about this strategy.

I'm running Fedora 10 and writing code in C.

If you have tried shared memory and do not want to use it , then , the best thing next which i can think of would be
using TCP/IP using local loopback. This can give you high speeds and also you can extend your program in later stages
to work across the network !


All times are GMT -5. The time now is 09:34 PM.