ts-7000
[Top] [All Lists]

Re: Res: [ts-7000] Re: CPU spikes on 7350 for tsscarda

To:
Subject: Re: Res: [ts-7000] Re: CPU spikes on 7350 for tsscarda
From: Jason Stahls <>
Date: Thu, 02 Dec 2010 11:28:18 -0500
-----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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU