Simulating slower processor.

From: Krisztian Flautner (manowar@engin.umich.edu)
Date: Tue May 02 2000 - 12:45:27 EST


Does anyone have any suggestions on how I could simulate a slower
clock speed on my machine without actually changing the crystal?
I would like to make my machine seem like a 45Mhz machine instead
of the 450Mhz machine it actually is. The simulation does not
need to be perfect, I would just like the first order effects
(i.e. slower execution time). I would like this to work on SMP
machines as well...

I guess what is required involves changing the default time slice
and forcing the scheduler to wait for a certain time after running
each task. My concern is that it would really screw up timing
critical parts.

What are your suggestions, is this doable or should I just hack
the box to run at a slower speed? Has anyone done this before?

Later, -- Kris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:10 EST