mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Running an Ivy Bridge cpu at fixed frequency
@ 2019-12-04 17:01 David Laight
  2019-12-04 17:57 ` Andy Lutomirski
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: David Laight @ 2019-12-04 17:01 UTC (permalink / raw)
  To: x86, linux-kernel

Is there any way to persuade the intel_pstate driver to make an Ivy bridge (i7-3770)
cpu run at a fixed frequency?
It is really difficult to compare code execution times when the cpu clock speed
keeps changing.
I thought I'd managed by setting the 'scaling_max_freq' to 1.7GHz, but even that
doesn't seem to be working now.
It would also be nice to run a little faster than that - but without it 'randomly'
going to 'turbo' frequencies (which it is doing even after I've set no_turbo to 1).

An alternative would be a variable frequency TSC - might give more consistent values.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-12-06 14:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 17:01 Running an Ivy Bridge cpu at fixed frequency David Laight
2019-12-04 17:57 ` Andy Lutomirski
2019-12-05  9:45 ` Peter Zijlstra
2019-12-05 15:53   ` David Laight
2019-12-05 17:51     ` Andy Lutomirski
2019-12-06 10:15     ` Peter Zijlstra
2019-12-06 13:06       ` David Laight
2019-12-06 14:47 ` Alexey Klimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®