Blacktempel / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

Wrong defining CPU frequency #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have wrong defining CPU frequency and bus speed

OHM 0.1.28.0 Beta;  Gygabite 8IPE1000-G; Intel Pentium 4 3.00Ghz (actualy 
little bit more (3014.5Mhz shown by CPU-Z) Win XP SP3 32Bit

Screenshot:
[URL=http://img13.imageshack.us/i/bug1qy.jpg/][IMG=http://img13.imageshack.u
s/img13/5263/bug1qy.jpg][/IMG][/URL]

Original issue reported on code.google.com by tracer...@gmail.com on 22 Apr 2010 at 9:51

Attachments:

GoogleCodeExporter commented 9 years ago
Wrong values could be caused by the fact, that your system uses a very high
Stopwatch.Frequency (actually this seems to be the TSC of the CPU itself). 
Maybe the
EstimateMaxClock should use a start time offset of "ticks" or "ticks / 2", 
instead of
just "2". Otherwise the "timeEnd - timeBegin" is longer than the intervall 
counted
with the TSC. But this would just explain values that are too small, and yours 
is too
high. 

Does OHM always estimate about 3312 Mhz? What is the range of values (lowest,
highest) you can get from OHM? You need to start OHM a few times, because the
Frequency is estimated only during startup for Pentium 4 CPUs.

Original comment by moel.mich on 22 Apr 2010 at 12:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I dont know what happened but right now i downloaded the same version from 
site, and 
problem disappeared, i cant repeat wrong result, rebooting three times, run 
program 
five times and get always the same 3015cpu 201bus. Did you change something in 
program?
I dont understand tech stuff what you saying to me, i just noticed this strange 
thing 
and decided write a bug report for helping improve the app. This is not 
important for 
me. and for many other i think, because P4 is realy old CPU.
But if some more info needed you can ask me
PS BIOS at default settings of course

Original comment by tracer...@gmail.com on 23 Apr 2010 at 12:04

GoogleCodeExporter commented 9 years ago
The technical details above are mostly a note to myself, so you easily ignore 
them.

Thank you very much for testing this once more (and giving feedback on the 
issue).

I did not change anything in the OHM so far. The OHM does only estimate the cpu 
and
bus frequency, and it can occur in rare cases that the estimated value is not 
very
accurate. But its good to know that there can still be cases where the accuracy 
is
not as good as I expected. And I guess this is not limited to P4 CPUs. 

So it could be useful to improve the clock estimation routine further.

Original comment by moel.mich on 23 Apr 2010 at 5:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r122.

Original comment by moel.mich on 25 Apr 2010 at 2:40