Solved

tool to make cpu busy

Posted on 2007-04-01
5
3,015 Views
Last Modified: 2013-12-21
I'm looking for a tool that can make cpu busy.
I need this tool in order to test the performance of the decoder, since I assume that if the cpu gets too busy, the decoder will simply drop frames.

Does anyone know if there is any such tool in windows mobile?

thanks!
0
Comment
Question by:fungi8210
5 Comments
 
LVL 9

Expert Comment

by:checoo
ID: 18834365
You can write an small application with something like an infinite loop with some activity in it the loop. This will keep the CPU busy.
0
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 18834886
Hi,

I am not sure of a particular tool, but if you install Minimo web browser that usually makes windows mobile crawl like a dead slug.

Regards,

Lee
0
 
LVL 17

Accepted Solution

by:
davebytes earned 500 total points
ID: 18872722
checoo is on the mark as one approach.  have a separate application that does some say math calculations in a loop, maybe with an optional Sleep time each time through the loop.  Increase the complexity of the calculation, or the length of sleep, to vary the cpu overhead.  There's no 'stress test' tool, you'll want to make it yourself so you can tune the overhead to the level you need.

Also, you can introduce the slowdown within your decoder app directly.  Just have a Sleep (static amount or random) within your main loop, and when you wake up and go to process a frame, the decoder should be using real-time and see it needs to drop frames to catch up to the current system/frame time.

-d
0
 
LVL 10

Expert Comment

by:sakuya_su
ID: 18874231
yes decoders will drop frames, encoders will not.

can you just elaborate on why you want the decode to drop frames?

oh and BTW the WMP dont seem to drop frames, it will just stop and say Buffering when CPU is under high load
0
 
LVL 17

Expert Comment

by:davebytes
ID: 18876343
I can make educated guesses -- fungi is probably working on something like a phone platform or maybe an automotive/navi platform.  In either case, the decoder might need to drop frames, either because of other process overhead on the CPU, or because the decoder process is given a limited timeslice overall.  A decoder MUST be able to drop frames on pretty much any platform, but especially on resource-limited embedded platforms.

So, running a test program like a math computation, or introducing your own sleeps into the system, will be good methods for seeing what the decoder does when running behind physically.
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question