Package: i7z
Version: 0.27.2+git2013.10.12-g5023138-3
Severity: normal

Dear Maintainer,

Running i7z in i7-870 Nehalem, it prints "i7z DEBUG: Detected a
nehalem (i7/i5/Xeon) - 45nm" first and "i7z DEBUG: guessing Haswell"
near the end. Haswell is a different newer family (i7-4170 eg, Sandy
and Ivy are generations between it and Nehalem).

The file helper_functions.c around line 420 has:

            *nehalem = true;
            *sandy_bridge = false;
            *ivy_bridge = false;
            *haswell = true;

And other blocks always set one to true and the other three to false.
Could that be a bug and the reason for the mixed reports? Just setting
last to false could fix it, if no more tests needed to differentiate.

The program also reports two conflicting values once running, first
"True Frequency (without accounting Turbo) 2942 MHz" and below "Max
Frequency without considering Turbo 3075.73 MHz (133.73 x [23])".

The official value is ~2.9 GHz, the 23 multiplier is between official
normal max (22) and minimum turbo (24 and up).

Again I looked at the code, and in i7z_Single_Socket.c below line 285
I see it adds one when TURBO_MODE is 1. Maybe wrong? Maybe it should
use another string to explain why? In other similar part of the file,
below line 944, it says "True Frequency" instead (safety margin to
allow transitions to/from turbo modes?). That function seems to be
commented out.

Other than those two, all looks OK. It even let me notice a bug in
"cpupower frequency-info -n", which seems to be confused too and
reports turbo levels as X * 100 instead of X * 133 (Nehalem vs newer),
with the absurd result of normal max being well above the single core
turbo.

Thanks,
GSR
 

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages i7z depends on:
ii  libc6                         2.24-9
ii  libncurses5                   6.0+20151024-2
ii  libtinfo5                     6.0+20151024-2
ii  msr-tools                     1.3-2
ii  ruby                          1:2.1.0.4
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-7
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+b1
ii  ruby2.1 [ruby-interpreter]    2.1.2-3

i7z recommends no packages.

i7z suggests no packages.

-- no debconf information

Reply via email to