Page: Previous  1, 2, 3  Next

techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3479
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Feb 18, 12, 13:41    
Can you update inxi and show inxi -C

that's: inxi -U
as root, then:
inxi -C

that's a very old inxi.

If the failure to show proper cores continues, I'll ask for a debugging data set for inxi.
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 531
Back to top
Posted: Feb 18, 12, 13:56    
Can you check to see which governor your cpu is using? You can check by running cpufreq-info. It would also be interesting to see the thermal / power settings of your geforce cards:


klaxian
Status: Interested
Joined: 18 Mar 2011
Posts: 45
Location: New York, USA
Back to top
Posted: Feb 18, 12, 14:51    
I am using the "ondemand" CPU governor. However, CPU frequency scaling has been disabled in the BIOS so the CPU always runs at the highest speed. This is because I always run the CPU at 100% so scaling doesn't help me.

Here are my screenshots of GPU information that you requested:



Pardon my ignorance, but why are we focusing on GPU power management when switching between two kernels using the same nvidia driver solves the problem? Doesn't that rule out the GPUs and driver as the cause?
klaxian
Status: Interested
Joined: 18 Mar 2011
Posts: 45
Location: New York, USA
Back to top
Posted: Feb 18, 12, 14:56    
Updated output from inxi 1.7.29:
:: Code ::
CPU:       Single core Intel Core i5-2500K CPU (-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx)                                                                                           
           Clock Speeds: 1: 3301.00 MHz 2: 3301.00 MHz 3: 3301.00 MHz 4: 3301.00 MHz 5: 3301.00 MHz 6: 3301.00 MHz 7: 3301.00 MHz 8: 3301.00 MHz


I wouldn't worry about it showing as a single core. You will also note that 8 threads are shown. My Folding@home team competition requires a little tweaking of /proc/cpuinfo to get the biggest work units. It can sometimes cause hardware detection tools to report incorrect results. However, I have been doing this for years without running into the problem of increased power consumption with a new kernel so I don't think that is the cause.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3479
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Feb 19, 12, 14:05    
Can you paste in the output of: cat /proc/cpuinfo

thanks, just want to confirm it's your tweaks and not an inxi bug for intel cpu, since it shows 8 cores it should also know that it's not a single core cpu, even if the file has been changed.
klaxian
Status: Interested
Joined: 18 Mar 2011
Posts: 45
Location: New York, USA
Back to top
Posted: Feb 21, 12, 7:11    
:: Code ::
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 5
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 6
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
stepping        : 7
microcode       : 0x14
cpu MHz         : 3301.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid
bogomips        : 6599.16
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


This is generated by:
:: Code ::
cat /proc/cpuinfo | awk 'BEGIN { C=0 ; I=0 } /processor\t: 1/ { C=0 } { if (C == 1) { B[I]=$0 ; I++ } } /processor\t: 0/ { C=1 } END { for (K=0;K<8;K++) { print "processor\t: " K ; for (J=0;J<I;J++) print B[J] } }' > /tmp/cpuinfo.$$
mount --bind /tmp/cpuinfo.$$ /proc/cpuinfo
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3479
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Feb 21, 12, 11:21    
cat /proc/cpuinfo | awk 'BEGIN { C=0 ; I=0 } /processor\t: 1/ { C=0 } { if (C == 1) { B[I]=$0 ; I++ } } /processor\t: 0/ { C=1 } END { for (K=0;K<8;K++) { print "processor\t: " K ; for (J=0;J<I;J++) print B[J] } }' > /tmp/cpuinfo.$$
mount --bind /tmp/cpuinfo.$$ /proc/cpuinfo

I'm not sure what this refers to, all I need is the: cat /procpuinfo

ie, I need to see the literal output, not something that requires further processing. That's because what inxi will use and see is /proc/cpuinfo

However, with the above data, the bug is confirmed anyway, so I'll get that patched.
klaxian
Status: Interested
Joined: 18 Mar 2011
Posts: 45
Location: New York, USA
Back to top
Posted: Feb 21, 12, 11:34    
The first code output above is just "cat /proc/cpuinfo". Since this is slightly modified from it's default state, I included the code that did the modifications in case you needed them. If not, please disregard. If there is anything else I can do to help, let me know.

Even after inxi is patched, is there anything else that I can do to help diagnose the increased power usage in 3.2.0-5 and later liquorix kernels?
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3479
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Feb 21, 12, 12:22    
inxi should now be corrected, update to 1.7.30 and confirm. This is what I get using your /proc/cpuinfo now:

:: Code ::
CPU:       Quad core Intel Core i5-2500K CPU (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26396.6
           Clock Speeds: 1: 3301.00 MHz 2: 3301.00 MHz 3: 3301.00 MHz 4: 3301.00 MHz 5: 3301.00 MHz 6: 3301.00 MHz 7: 3301.00 MHz 8: 3301.00 MHz


This is NOT an inxi bug, but rather an intel bug in how it gives the kernel its core count data, I used a secondary value to check for such errors, and override the false value ith the secondary test value from cpuinfo, that seems to work.

Not sure if it will be correct for dual cpu or more systems, it should be, as long as each cpu has the same core count.
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3479
Location: East Coast, West Coast? I know it's one of them.
Back to top
Posted: Feb 21, 12, 12:31    
klaxian, thanks, happily the data cooperated and recreated the bug on my test inxi ( i inject the file into inxi instead of /proc/cpuinfo), and that made it faiirly easy to fix the problem.

This is issue has been seen before, but I think we never got a /proc/cpuinfo output to debug it.

Sorry for injecting my inxi issue into your power consumption issue, unless you see more inxi failures to show correct systme, I'll hand this one back to damentz, just give whatever information is required, you've been very helpful so far, so just keep doing that and a solution should be found. Sometimes things like this are regressions in the kernel itself, unreported.
Display posts from previous:   
Page: Previous  1, 2, 3  Next
All times are GMT - 8 Hours