Re: Simulating slower processor.

From: Mark Zealey (kernel@itsolve.co.uk)
Date: Tue May 02 2000 - 13:16:29 EST


On Tue, 2 May 2000, Krisztian Flautner wrote:

>
> 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?

Why do you want to do this?

Cheers,

Mark Zealey
mark@itsolve.co.uk

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
UL++++$ (GCM/GCS/GS/GM)GUG! dpu? s-:-@ a15! C+++>$ P++$>+++@ L+++>+++++$
!E---? W+++>$ N++@>+ o->+ !K? w++(!---?) !O?@ !M--? !V--? PS- PE--@ Y@
!PGP----? !t---?@ !5? !X---? !R- tv b+ !DI---? D G e->+++++ h+++*! r++ y-
(www.geekcode.com)
------END GEEK CODE BLOCK------

-
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