-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/02/10 09:15, Steve M wrote:
> Thanks all for the input. As background, I have three processes running for
> my application, two of which I ported from a Linux PC. There is a shell
> script which wraps a gps client and filters the data I need. I have a C
> program that does memory mapping and a Java program that does the primary
> processing. The three process share data, though the shell script only
> creates data needed by the other two. These processes are working as desired.
> The only issue is the CPU spike.
>
> If time were not an issue, I could explore several of the options.
> It's easy enough to set up a socket between the C and Java program. I've also
> thought about calling the script from the Java program and getting back the
> data I need.
>
> What I have not tried before is writing the files to RAM so I'm not sure what
> is involved with that.
How big are the files? If it's only a few KB then a RAM disk is
probably the easiest to implement since it wouldn't require much for
code changes (change the path your storing/reading the file from). I'm
not sure tho if the default TS kernel images are compiled with RAM disk
support tho.
- --
Jason Stahls
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJM98khAAoJEBWmhVAMrS/gU+EH/0HtCj3z38LnSDxvNjA6THqm
EHikORGUHZS2/nt1R/fCAGXBmqP1ZD48HfTyLOj8CEX2MD0xiiaW0toK8yx4Odpk
9HScDFaSDcf3sygowNsgorDXD9Sh0gR2MrQeihy2m38XIywDwcovtlLyEQBwn8/S
QARNUPHr9yxFvrBSw/GlIevX7kscvB24UdsMPtGdUz6ev7i4NBUTAdgybB+EzLb9
5C23MgZB7OdJPxi1AAav17FxipmNMgy/yHOY6yvfAmB3v9pL9TG1EEWdN6E5WQLr
0RYZF6xXMGs5n77lAXXWcxKVfFL0RfsD1/MSUQDhonnza3XXvoWDWhfLAoKqSso=
=QH4v
-----END PGP SIGNATURE-----
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|