Re: Solaris real-time thread capabilities

capnwhit_at_yahoo.com
Date: 09/07/05


Date: 6 Sep 2005 17:05:51 -0700

Greg Menke wrote:
> Have you run empty loops using those various techniques to see
> if you can achieve the timing you're looking for?
>
Hello Greg, All of my tests so far have been using empty loops! I can't
get the timing right even on an empty loop... that is why I didn't
bother explaining the size constraints for our jitter buffers, our
packages, or the rest of our app.

> there wasn't even the results of prstat showing how busy
> the cpu was while executing your job.
>
The reason I didn't post this is because it was a non-issue (1 or
2%)... like I said the test loop is empty, just calling nanosleep to
try and achieve the timing... When using the spin loop technique, of
course, the CPU usage went up, but I only tried said technique when
using a processor set, and only when my test program was the only LWP
assigned to the target processor. Therefore the system still had one
entire processor in which to schedule other LWPs.

> I do apologize for jumping off the handle.
>
Apology accepted. Thanks for any help you may provide.



Relevant Pages

  • Re: Solaris real-time thread capabilities
    ... All of my tests so far have been using empty loops! ... > get the timing right even on an empty loop... ... When using the spin loop technique, ...
    (comp.unix.solaris)
  • Re: Using DataReader to count rows
    ... The loop you have there does work. ... beforehand so that it end up not working, but that technique in general will ... > here helped me to realize the performance advantage of using data reader. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: wavread, performance due to memory allocation
    ... this technique is known as preallocation. ... Rather than forcing MATLAB ... to allocate more memory for a growing array each time through the FOR loop, ... preallocation forces MATLAB to allocate memory once before the FOR loop, ...
    (comp.soft-sys.matlab)
  • Re: Electric Duet - How to extract the music Player and a song?
    ... and timing two durations. ... machine cycles required by the loop. ... However, the timing constraints are very tight, and some tricks ... I use an Applesoft program to schedule the "work" code into the 32 ...
    (comp.sys.apple2.programmer)
  • Re: Electric Duet - How to extract the music Player and a song?
    ... and timing two durations. ... machine cycles required by the loop. ... However, the timing constraints are very tight, and some tricks ... I use an Applesoft program to schedule the "work" code into the 32 ...
    (comp.sys.apple2.programmer)