Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--max-temp has no effect #15

Closed
M0E-lnx opened this issue Jun 23, 2017 · 11 comments
Closed

--max-temp has no effect #15

M0E-lnx opened this issue Jun 23, 2017 · 11 comments

Comments

@M0E-lnx
Copy link

M0E-lnx commented Jun 23, 2017

Just getting into trying this out. Works great for the most part, but running the miner with the --max-temp option and argument has no effect at all. The CPU will overheat to the point that it shuts my laptop down which is a good thing, instead of having it catch on fire.

This is running on an Intel I5 M560. I tried the upstream cpuminer-multi project, compiled with identical build options, and that does does respect the --max-temp option.

@JayDDee
Copy link
Owner

JayDDee commented Jun 27, 2017 via email

@M0E-lnx
Copy link
Author

M0E-lnx commented Jun 27, 2017 via email

@JayDDee
Copy link
Owner

JayDDee commented Jun 27, 2017

It works for me, you'll need to provide more info. In addition to program output try this command:
cat /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input

@M0E-lnx
Copy link
Author

M0E-lnx commented Jun 29, 2017

CPU INFO

cat /proc/cpuinfo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 37
model name	: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz
stepping	: 5
microcode	: 0x2
cpu MHz		: 2399.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
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 smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm ida arat dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5320.31
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

hwmon values

I do not have a /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
I do have a /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input which reads 36000 and a /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input which reads 37000 when the laptop is idling.

PROGRAM OUTPUT

Launch command used: cpuminer-opt -D --max-temp=77 -a yescrypt -t 3 -o stratum+tcp://nz.nutty.one:5534 -O `cat mywallet`:none 2>&1|tee output.log

Output



         **********  cpuminer-opt 3.6.5  *********** 
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT
     Forked from TPruvot's cpuminer-multi with credits
     to Lucas Jones, elmad, palmd, djm34, pooler, ig0tik3d,
     Wolf0, Jeff Garzik and Optiminer.

CPU: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz
CPU features: SSE2 AES
SW built on Jun 21 2017 with GCC 4.9.3
SW features: SSE2 AES
Algo features: SSE2
Start mining with SSE2

[2017-06-29 07:46:31] Starting Stratum on stratum+tcp://nz.nutty.one:5534�[0m
[2017-06-29 07:46:31]�[90m Binding thread 0 to cpu 0 (mask 1)�[0m
[2017-06-29 07:46:31]�[90m Binding thread 1 to cpu 1 (mask 2)�[0m
[2017-06-29 07:46:31] 3 miner threads started, using 'yescrypt' algorithm.�[0m
[2017-06-29 07:46:31]�[90m Binding thread 2 to cpu 2 (mask 4)�[0m
[2017-06-29 07:46:32]�[33m Stratum difficulty set to 0.40751�[0m
[2017-06-29 07:46:32]�[33m Stratum difficulty set to 0.40751�[0m
[2017-06-29 07:46:32]�[90m DEBUG: job_id='116422024189880038285801228707127997084' extranonce2=00000000 ntime=5954f6bb�[0m
[2017-06-29 07:46:32]�[36m yescrypt block 2100535, diff 0.119�[0m
[2017-06-29 07:46:32]�[90m DEBUG: job_id='14323148157403892697778438774767967799' extranonce2=00000000 ntime=5954f6bb�[0m
[2017-06-29 07:46:33] CPU #2: 512 H, 406.37 H/s�[0m
[2017-06-29 07:46:34] CPU #1: 512 H, 232.71 H/s�[0m
[2017-06-29 07:46:34] CPU #0: 512 H, 230.68 H/s�[0m
[2017-06-29 07:46:43]�[33m Stratum difficulty set to 0.427453�[0m
[2017-06-29 07:46:43]�[90m DEBUG: job_id='93578562419374730429224439000353072154' extranonce2=00000000 ntime=5954f6bb�[0m
[2017-06-29 07:46:43] CPU #1: 2012 H, 233.58 H/s�[0m
[2017-06-29 07:46:43] CPU #0: 1990 H, 231.44 H/s�[0m
[2017-06-29 07:46:43] CPU #2: 3864 H, 404.40 H/s�[0m
[2017-06-29 07:46:46]�[33m Stratum difficulty set to 0.420022�[0m
[2017-06-29 07:46:46]�[90m DEBUG: job_id='18399750944493820814533190324369735720' extranonce2=00000000 ntime=5954f6ca�[0m
[2017-06-29 07:46:46] CPU #2: 1210 H, 404.77 H/s�[0m
[2017-06-29 07:46:46] CPU #0: 687 H, 229.53 H/s�[0m
[2017-06-29 07:46:46] CPU #1: 701 H, 234.15 H/s�[0m
[2017-06-29 07:46:56]�[33m Stratum difficulty set to 0.437524�[0m
[2017-06-29 07:46:56]�[90m DEBUG: job_id='331741061363815941493983741170998474873' extranonce2=00000000 ntime=5954f6ca�[0m
[2017-06-29 07:46:56] CPU #1: 2351 H, 233.35 H/s�[0m
[2017-06-29 07:46:56] CPU #2: 4077 H, 404.48 H/s�[0m
[2017-06-29 07:46:56] CPU #0: 2338 H, 231.99 H/s�[0m
[2017-06-29 07:47:07]�[33m Stratum difficulty set to 0.43081�[0m
[2017-06-29 07:47:07]�[90m DEBUG: job_id='230674971661880950897791725830351753549' extranonce2=00000000 ntime=5954f6d9�[0m
[2017-06-29 07:47:07] CPU #2: 4400 H, 404.13 H/s�[0m
[2017-06-29 07:47:07] CPU #0: 2526 H, 232.05 H/s�[0m
[2017-06-29 07:47:07] CPU #1: 2541 H, 233.29 H/s�[0m
[2017-06-29 07:47:08]�[33m Stratum difficulty set to 0.427941�[0m
[2017-06-29 07:47:08]�[90m DEBUG: job_id='4728379698507000314895185661593684364' extranonce2=00000000 ntime=5954f6d9�[0m
[2017-06-29 07:47:08] CPU #2: 552 H, 405.29 H/s�[0m
[2017-06-29 07:47:08] CPU #1: 318 H, 233.89 H/s�[0m
[2017-06-29 07:47:08] CPU #0: 317 H, 232.54 H/s�[0m
[2017-06-29 07:47:12]�[33m Stratum difficulty set to 0.437661�[0m
[2017-06-29 07:47:12]�[90m DEBUG: job_id='309537970250824743556071182667271468783' extranonce2=00000000 ntime=5954f6d9�[0m
[2017-06-29 07:47:12] CPU #2: 1578 H, 403.28 H/s�[0m
[2017-06-29 07:47:12] CPU #1: 913 H, 233.37 H/s�[0m
[2017-06-29 07:47:12] CPU #0: 909 H, 232.35 H/s�[0m
[2017-06-29 07:47:16]�[33m Stratum difficulty set to 0.441628�[0m
[2017-06-29 07:47:16]�[90m DEBUG: job_id='235791375811888796100720057242440361598' extranonce2=00000000 ntime=5954f6e8�[0m
[2017-06-29 07:47:16]�[36m yescrypt block 2100536, diff 0.114�[0m
[2017-06-29 07:47:16] CPU #2: 1524 H, 405.01 H/s�[0m
[2017-06-29 07:47:16] CPU #0: 873 H, 232.01 H/s�[0m
[2017-06-29 07:47:16] CPU #1: 879 H, 233.55 H/s�[0m
[2017-06-29 07:47:17]�[33m Stratum difficulty set to 0.441628�[0m
[2017-06-29 07:47:17]�[90m DEBUG: job_id='211021221312742598932420336515113597962' extranonce2=00000000 ntime=5954f6e8�[0m
[2017-06-29 07:47:17] CPU #2: 381 H, 401.74 H/s�[0m
[2017-06-29 07:47:17] CPU #1: 222 H, 234.17 H/s�[0m
[2017-06-29 07:47:17] CPU #0: 221 H, 232.98 H/s�[0m
[2017-06-29 07:47:31]�[90m DEBUG: hash <= target
Hash:   000192d49985cf7420c42e72e1eef51c24757d3b306f4eb90592413dfd803907
Target: 000243a9fdd2faa6000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:47:31] CPU #1: 3422 H, 233.27 H/s�[0m
[2017-06-29 07:47:32]�[01;37m �[32mAccepted�[01;37m 1/1 (100%), 4024 H, 867.99 H/s, 0C�[0m
[2017-06-29 07:48:05]�[33m Stratum difficulty set to 0.418298�[0m
[2017-06-29 07:48:05]�[90m DEBUG: job_id='294368894206515399485393932348218374386' extranonce2=00000000 ntime=5954f716�[0m
[2017-06-29 07:48:05] CPU #2: 19.61 kH, 404.08 H/s�[0m
[2017-06-29 07:48:05] CPU #0: 11.26 kH, 231.90 H/s�[0m
[2017-06-29 07:48:05] CPU #1: 7900 H, 233.28 H/s�[0m
[2017-06-29 07:48:21]�[33m Stratum difficulty set to 0.349024�[0m
[2017-06-29 07:48:21]�[90m DEBUG: job_id='259578035673721003467011352664471489052' extranonce2=00000000 ntime=5954f725�[0m
[2017-06-29 07:48:21] CPU #2: 6128 H, 404.12 H/s�[0m
[2017-06-29 07:48:21] CPU #0: 3519 H, 232.04 H/s�[0m
[2017-06-29 07:48:21] CPU #1: 3537 H, 233.22 H/s�[0m
[2017-06-29 07:48:38]�[33m Stratum difficulty set to 0.313716�[0m
[2017-06-29 07:48:38]�[90m DEBUG: job_id='156073730518419459068709139015731919083' extranonce2=00000000 ntime=5954f734�[0m
[2017-06-29 07:48:38]�[33m Stratum difficulty set to 0.313716�[0m
[2017-06-29 07:48:38]�[90m DEBUG: job_id='316061048477772457766208204535556712193' extranonce2=00000000 ntime=5954f73a�[0m
[2017-06-29 07:48:38]�[36m yescrypt block 2100537, diff 0.110�[0m
[2017-06-29 07:48:38]�[33m Stratum difficulty set to 0.303661�[0m
[2017-06-29 07:48:38]�[90m DEBUG: job_id='311915554932825612124575643814174167147' extranonce2=00000000 ntime=5954f73a�[0m
[2017-06-29 07:48:38] CPU #0: 4059 H, 231.65 H/s�[0m
[2017-06-29 07:48:38] CPU #1: 4090 H, 233.42 H/s�[0m
[2017-06-29 07:48:38] CPU #2: 7079 H, 403.93 H/s�[0m
[2017-06-29 07:48:43]�[33m Stratum difficulty set to 0.291728�[0m
[2017-06-29 07:48:43]�[90m DEBUG: job_id='232660903831566490488803040594610892052' extranonce2=00000000 ntime=5954f73a�[0m
[2017-06-29 07:48:43] CPU #0: 1102 H, 231.75 H/s�[0m
[2017-06-29 07:48:43] CPU #2: 1918 H, 403.41 H/s�[0m
[2017-06-29 07:48:43] CPU #1: 1111 H, 233.60 H/s�[0m
[2017-06-29 07:48:47]�[90m DEBUG: hash <= target
Hash:   00013cd344205d9ada34fc39b31b6774c6c12167fef0ee6adaa2d49d3a7abda4
Target: 00036d83ee0ec16d000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:48:47] CPU #2: 1633 H, 405.02 H/s�[0m
[2017-06-29 07:48:47]�[01;37m �[32mAccepted�[01;37m 2/2 (100%), 3846 H, 870.37 H/s, 0C�[0m
[2017-06-29 07:48:56]�[33m Stratum difficulty set to 0.510536�[0m
[2017-06-29 07:48:56]�[90m DEBUG: job_id='109804837639688897820855191223501050891' extranonce2=00000000 ntime=5954f749�[0m
[2017-06-29 07:48:56] CPU #2: 3567 H, 403.91 H/s�[0m
[2017-06-29 07:48:56] CPU #1: 3001 H, 233.30 H/s�[0m
[2017-06-29 07:48:56] CPU #0: 2984 H, 231.94 H/s�[0m
[2017-06-29 07:49:15]�[33m Stratum difficulty set to 0.429727�[0m
[2017-06-29 07:49:15]�[90m DEBUG: job_id='182978959462497520499621926066343477013' extranonce2=00000000 ntime=5954f758�[0m
[2017-06-29 07:49:15] CPU #2: 7689 H, 403.68 H/s�[0m
[2017-06-29 07:49:15] CPU #0: 4415 H, 231.80 H/s�[0m
[2017-06-29 07:49:15] CPU #1: 4445 H, 233.36 H/s�[0m
[2017-06-29 07:49:21]�[90m DEBUG: hash <= target
Hash:   0000d1f6eb1fec1a52947dec27d414230942b10a3fb538d1b2facf17f5c39419
Target: 000253b7e60a0461000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:49:21] CPU #2: 2678 H, 402.25 H/s�[0m
[2017-06-29 07:49:22]�[01;37m �[32mAccepted�[01;37m 3/3 (100%), 11.54 kH, 867.41 H/s, 0C�[0m
[2017-06-29 07:49:33]�[90m DEBUG: hash <= target
Hash:   0001c3b15d0818f976883b9d11155bf1b45505cad88d4523466dc5046179f144
Target: 000253b7e60a0461000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:49:33] CPU #1: 4375 H, 233.47 H/s�[0m
[2017-06-29 07:49:34]�[01;37m �[32mAccepted�[01;37m 4/4 (100%), 11.47 kH, 867.52 H/s, 0C�[0m
[2017-06-29 07:49:44]�[33m Stratum difficulty set to 0.450051�[0m
[2017-06-29 07:49:44]�[90m DEBUG: job_id='65129685553070658812066209208699454339' extranonce2=00000000 ntime=5954f776�[0m
[2017-06-29 07:49:44] CPU #1: 2374 H, 233.40 H/s�[0m
[2017-06-29 07:49:44] CPU #2: 8992 H, 404.04 H/s�[0m
[2017-06-29 07:49:44] CPU #0: 6689 H, 231.33 H/s�[0m
[2017-06-29 07:49:45]�[33m Stratum difficulty set to 0.455346�[0m
[2017-06-29 07:49:45]�[90m DEBUG: job_id='122914268507716267085293225801745385292' extranonce2=00000000 ntime=5954f776�[0m
[2017-06-29 07:49:45] CPU #2: 558 H, 404.22 H/s�[0m
[2017-06-29 07:49:45] CPU #0: 320 H, 232.14 H/s�[0m
[2017-06-29 07:49:45] CPU #1: 324 H, 234.15 H/s�[0m
[2017-06-29 07:49:47]�[90m DEBUG: hash <= target
Hash:   0001e5c36c64376f264959c5f9902154e268dc500acb600068542c25eb11e509
Target: 0002323392f32f07000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:49:47] CPU #2: 871 H, 403.02 H/s�[0m
[2017-06-29 07:49:47]�[01;37m �[32mAccepted�[01;37m 5/5 (100%), 1515 H, 869.31 H/s, 0C�[0m
[2017-06-29 07:49:50]�[33m Stratum difficulty set to 0.468087�[0m
[2017-06-29 07:49:50]�[90m DEBUG: job_id='225345268588211166655908118274024856' extranonce2=00000000 ntime=5954f776�[0m
[2017-06-29 07:49:50] CPU #1: 1141 H, 233.53 H/s�[0m
[2017-06-29 07:49:50] CPU #0: 1134 H, 232.02 H/s�[0m
[2017-06-29 07:49:50] CPU #2: 1101 H, 403.74 H/s�[0m
[2017-06-29 07:49:51]�[90m DEBUG: hash <= target
Hash:   00020f3ccd8c70b684d9c2fda7a59aefbc4464410c8d990fa2341d917b19c62c
Target: 000222e61afcdee0000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:49:51] CPU #0: 265 H, 232.25 H/s�[0m
[2017-06-29 07:49:51]�[01;37m �[32mAccepted�[01;37m 6/6 (100%), 2507 H, 869.52 H/s, 0C�[0m
[2017-06-29 07:49:55]�[33m Stratum difficulty set to 0.461754�[0m
[2017-06-29 07:49:55]�[90m DEBUG: job_id='210216925880635451788308523819069204523' extranonce2=00000000 ntime=5954f785�[0m
[2017-06-29 07:49:55] CPU #1: 1193 H, 233.31 H/s�[0m
[2017-06-29 07:49:55] CPU #2: 2068 H, 404.47 H/s�[0m
[2017-06-29 07:49:55] CPU #0: 924 H, 232.45 H/s�[0m
[2017-06-29 07:50:04]�[33m Stratum difficulty set to 0.481407�[0m
[2017-06-29 07:50:04]�[90m DEBUG: job_id='89111178786967361696058571136185659192' extranonce2=00000000 ntime=5954f785�[0m
[2017-06-29 07:50:04] CPU #1: 2110 H, 233.25 H/s�[0m
[2017-06-29 07:50:04] CPU #2: 3645 H, 402.97 H/s�[0m
[2017-06-29 07:50:04] CPU #0: 2100 H, 232.16 H/s�[0m
[2017-06-29 07:50:05]�[33m Stratum difficulty set to 0.488457�[0m
[2017-06-29 07:50:05]�[90m DEBUG: job_id='68035754616749353849446800640991195639' extranonce2=00000000 ntime=5954f785�[0m
[2017-06-29 07:50:05] CPU #2: 234 H, 411.12 H/s�[0m
[2017-06-29 07:50:05] CPU #0: 133 H, 234.09 H/s�[0m
[2017-06-29 07:50:05] CPU #1: 134 H, 234.75 H/s�[0m
[2017-06-29 07:50:07]�[33m Stratum difficulty set to 0.488457�[0m
[2017-06-29 07:50:07]�[90m DEBUG: job_id='318927988995809082204056210138988155535' extranonce2=00000000 ntime=5954f785�[0m
[2017-06-29 07:50:07] CPU #0: 549 H, 232.60 H/s�[0m
[2017-06-29 07:50:07] CPU #2: 951 H, 402.49 H/s�[0m
[2017-06-29 07:50:07] CPU #1: 552 H, 233.67 H/s�[0m
[2017-06-29 07:50:10]�[33m Stratum difficulty set to 0.464013�[0m
[2017-06-29 07:50:10]�[90m DEBUG: job_id='306869656718112190811357798569339615365' extranonce2=00000000 ntime=5954f794�[0m
[2017-06-29 07:50:10] CPU #2: 1310 H, 404.62 H/s�[0m
[2017-06-29 07:50:10] CPU #0: 754 H, 232.65 H/s�[0m
[2017-06-29 07:50:10] CPU #1: 756 H, 233.37 H/s�[0m
[2017-06-29 07:50:22]�[33m Stratum difficulty set to 0.455209�[0m
[2017-06-29 07:50:22]�[90m DEBUG: job_id='299930290889927625303754500227843928720' extranonce2=00000000 ntime=5954f9dd�[0m
[2017-06-29 07:50:22]�[36m yescrypt block 2100538, diff 0.110�[0m
[2017-06-29 07:50:22] CPU #2: 4939 H, 403.99 H/s�[0m
[2017-06-29 07:50:22] CPU #1: 2851 H, 233.23 H/s�[0m
[2017-06-29 07:50:22] CPU #0: 2839 H, 232.18 H/s�[0m
[2017-06-29 07:50:23]�[33m Stratum difficulty set to 0.455209�[0m
[2017-06-29 07:50:23]�[90m DEBUG: job_id='23569735539075050775729300089347727347' extranonce2=00000000 ntime=5954f7a3�[0m
[2017-06-29 07:50:23] CPU #2: 113 H, 412.79 H/s�[0m
[2017-06-29 07:50:23] CPU #0: 64 H, 235.85 H/s�[0m
[2017-06-29 07:50:23] CPU #1: 65 H, 236.79 H/s�[0m
[2017-06-29 07:50:27]�[33m Stratum difficulty set to 0.456917�[0m
[2017-06-29 07:50:27]�[90m DEBUG: job_id='193370229040622833254862664784497637118' extranonce2=00000000 ntime=5954f7a3�[0m
[2017-06-29 07:50:27] CPU #1: 1101 H, 233.50 H/s�[0m
[2017-06-29 07:50:27] CPU #0: 1095 H, 232.17 H/s�[0m
[2017-06-29 07:50:27] CPU #2: 1907 H, 404.20 H/s�[0m
[2017-06-29 07:50:36]�[33m Stratum difficulty set to 0.44851�[0m
[2017-06-29 07:50:36]�[90m DEBUG: job_id='49879712895635763706591243777401533299' extranonce2=00000000 ntime=5954f7a3�[0m
[2017-06-29 07:50:36]�[33m Stratum difficulty set to 0.44851�[0m
[2017-06-29 07:50:36] CPU #2: 3377 H, 404.13 H/s�[0m
[2017-06-29 07:50:36] CPU #1: 1950 H, 233.27 H/s�[0m
[2017-06-29 07:50:36] CPU #0: 1941 H, 232.18 H/s�[0m
[2017-06-29 07:50:36]�[90m DEBUG: job_id='136040030946750359116596975036912112619' extranonce2=00000000 ntime=5954f7b0�[0m
[2017-06-29 07:50:36]�[36m yescrypt block 2100539, diff 0.115�[0m
[2017-06-29 07:50:36] CPU #2: 82 H, 391.27 H/s�[0m
[2017-06-29 07:50:36] CPU #0: 49 H, 236.89 H/s�[0m
[2017-06-29 07:50:36] CPU #1: 50 H, 237.65 H/s�[0m
[2017-06-29 07:50:36]�[33m Stratum difficulty set to 0.436837�[0m
[2017-06-29 07:50:37]�[90m DEBUG: job_id='322369927732297135095699524445962207162' extranonce2=00000000 ntime=5954f7b0�[0m
[2017-06-29 07:50:37] CPU #1: 122 H, 235.28 H/s�[0m
[2017-06-29 07:50:37] CPU #0: 122 H, 233.87 H/s�[0m
[2017-06-29 07:50:37] CPU #2: 214 H, 409.15 H/s�[0m
[2017-06-29 07:50:47]�[33m Stratum difficulty set to 0.402795�[0m
[2017-06-29 07:50:47]�[90m DEBUG: job_id='244404170501240094372168937833495217086' extranonce2=00000000 ntime=5954f7b0�[0m
[2017-06-29 07:50:47]�[33m Stratum difficulty set to 0.402795�[0m
[2017-06-29 07:50:47] CPU #2: 4415 H, 403.50 H/s�[0m
[2017-06-29 07:50:47] CPU #0: 2542 H, 232.29 H/s�[0m
[2017-06-29 07:50:47] CPU #1: 2552 H, 233.20 H/s�[0m
[2017-06-29 07:50:48]�[90m DEBUG: job_id='282599196032081267095774742452980189654' extranonce2=00000000 ntime=5954f7bc�[0m
[2017-06-29 07:50:48]�[36m yescrypt block 2100540, diff 0.119�[0m
[2017-06-29 07:50:48] CPU #1: 51 H, 237.85 H/s�[0m
[2017-06-29 07:50:48] CPU #2: 89 H, 412.72 H/s�[0m
[2017-06-29 07:50:48] CPU #0: 51 H, 236.44 H/s�[0m
[2017-06-29 07:50:49]�[33m Stratum difficulty set to 0.402795�[0m
[2017-06-29 07:50:49]�[90m DEBUG: job_id='175502956844914271489290827074575937635' extranonce2=00000000 ntime=5954f7bc�[0m
[2017-06-29 07:50:49] CPU #0: 230 H, 233.08 H/s�[0m
[2017-06-29 07:50:49] CPU #2: 400 H, 404.78 H/s�[0m
[2017-06-29 07:50:49] CPU #1: 232 H, 234.27 H/s�[0m
[2017-06-29 07:50:54]�[33m Stratum difficulty set to 0.390619�[0m
[2017-06-29 07:50:54]�[90m DEBUG: job_id='180639012524781227426301661304106011824' extranonce2=00000000 ntime=5954f7bc�[0m
[2017-06-29 07:50:54] CPU #2: 2239 H, 404.42 H/s�[0m
[2017-06-29 07:50:54] CPU #0: 1287 H, 232.35 H/s�[0m
[2017-06-29 07:50:54] CPU #1: 1292 H, 233.28 H/s�[0m
[2017-06-29 07:51:00]�[33m Stratum difficulty set to 0.427987�[0m
[2017-06-29 07:51:00]�[90m DEBUG: job_id='16204088451523845781639844437358024789' extranonce2=00000000 ntime=5954f7bc�[0m
[2017-06-29 07:51:00] CPU #2: 2400 H, 403.76 H/s�[0m
[2017-06-29 07:51:00] CPU #1: 1386 H, 233.28 H/s�[0m
[2017-06-29 07:51:00] CPU #0: 1381 H, 232.36 H/s�[0m
[2017-06-29 07:51:09]�[90m DEBUG: hash <= target
Hash:   0001cdddfa172efbe96ba672975fb21e66a17a1a506d45e77b9d705a5055fd90
Target: 00025623b8fe2a5e000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:51:09] CPU #0: 1994 H, 232.32 H/s�[0m
[2017-06-29 07:51:09]�[01;37m �[32mAccepted�[01;37m 7/7 (100%), 5780 H, 869.36 H/s, 0C�[0m
[2017-06-29 07:51:12]�[33m Stratum difficulty set to 0.407144�[0m
[2017-06-29 07:51:12]�[90m DEBUG: job_id='269318457815289159696676793387515215549' extranonce2=00000000 ntime=5954f7cb�[0m
[2017-06-29 07:51:12] CPU #0: 763 H, 232.66 H/s�[0m
[2017-06-29 07:51:12] CPU #1: 2766 H, 233.15 H/s�[0m
[2017-06-29 07:51:12] CPU #2: 4790 H, 403.69 H/s�[0m
[2017-06-29 07:51:18]�[33m Stratum difficulty set to 0.394388�[0m
[2017-06-29 07:51:18]�[90m DEBUG: job_id='187474552648520253412772047181177939934' extranonce2=00000000 ntime=5954f7da�[0m
[2017-06-29 07:51:18] CPU #1: 1303 H, 233.25 H/s�[0m
[2017-06-29 07:51:18] CPU #2: 2256 H, 403.85 H/s�[0m
[2017-06-29 07:51:18] CPU #0: 1299 H, 232.48 H/s�[0m
[2017-06-29 07:51:18]�[33m Stratum difficulty set to 0.394586�[0m
[2017-06-29 07:51:18]�[90m DEBUG: job_id='103811359951162784345283505220678556961' extranonce2=00000000 ntime=5954f7da�[0m
[2017-06-29 07:51:18] CPU #1: 102 H, 235.62 H/s�[0m
[2017-06-29 07:51:18] CPU #2: 176 H, 406.25 H/s�[0m
[2017-06-29 07:51:18] CPU #0: 102 H, 234.12 H/s�[0m
[2017-06-29 07:51:22]�[90m DEBUG: hash <= target
Hash:   00027c93ed5557a4146dd1f2e6130b0a1a4308b523bbd2e7377d9949f0d08cae
Target: 000288c55b091162000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:51:22] CPU #0: 831 H, 232.23 H/s�[0m
[2017-06-29 07:51:22]�[01;37m �[32mAccepted�[01;37m 8/8 (100%), 1109 H, 874.10 H/s, 0C�[0m
[2017-06-29 07:51:27]�[33m Stratum difficulty set to 0.401254�[0m
[2017-06-29 07:51:27]�[90m DEBUG: job_id='88774927311078401606647360952558890863' extranonce2=00000000 ntime=5954f7da�[0m
[2017-06-29 07:51:27] CPU #2: 3448 H, 404.50 H/s�[0m
[2017-06-29 07:51:27] CPU #0: 1149 H, 232.35 H/s�[0m
[2017-06-29 07:51:27] CPU #1: 1989 H, 233.22 H/s�[0m
[2017-06-29 07:52:06]�[90m DEBUG: hash <= target
Hash:   00024316da45eaffa1cb2de23b6664f1127a4fc8a65d8b0aeb3539665e354cf5
Target: 00027dfd5f1ec5ad000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:52:06] CPU #1: 9216 H, 233.20 H/s�[0m
[2017-06-29 07:52:06]�[01;37m �[32mAccepted�[01;37m 9/9 (100%), 13.81 kH, 870.05 H/s, 0C�[0m
[2017-06-29 07:52:14]�[33m Stratum difficulty set to 0.381983�[0m
[2017-06-29 07:52:14]�[90m DEBUG: job_id='238354075056209876342405644449713852761' extranonce2=00000000 ntime=5954f807�[0m
[2017-06-29 07:52:14] CPU #0: 10.90 kH, 231.95 H/s�[0m
[2017-06-29 07:52:14] CPU #1: 1739 H, 233.16 H/s�[0m
[2017-06-29 07:52:14] CPU #2: 18.98 kH, 403.98 H/s�[0m
[2017-06-29 07:52:22]�[33m Stratum difficulty set to 0.385156�[0m
[2017-06-29 07:52:22]�[90m DEBUG: job_id='113000581095038884863347143511040576813' extranonce2=00000000 ntime=5954f816�[0m
[2017-06-29 07:52:22]�[33m Stratum difficulty set to 0.385156�[0m
[2017-06-29 07:52:22] CPU #2: 3276 H, 404.33 H/s�[0m
[2017-06-29 07:52:22] CPU #0: 1883 H, 232.35 H/s�[0m
[2017-06-29 07:52:22] CPU #1: 1890 H, 233.19 H/s�[0m
[2017-06-29 07:52:22]�[90m DEBUG: job_id='225505279611601098755577931165544162771' extranonce2=00000000 ntime=5954f81a�[0m
[2017-06-29 07:52:22]�[36m yescrypt block 2100541, diff 0.119�[0m
[2017-06-29 07:52:22] CPU #1: 51 H, 237.42 H/s�[0m
[2017-06-29 07:52:22] CPU #2: 87 H, 401.72 H/s�[0m
[2017-06-29 07:52:22] CPU #0: 52 H, 236.96 H/s�[0m
[2017-06-29 07:52:24]�[90m DEBUG: hash <= target
Hash:   0000ba03609e86dff6734b2d025bec812a4aab99ecddebb92066a8d0f49008cd
Target: 000298a79fc63b6e000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:52:24] CPU #1: 513 H, 233.07 H/s�[0m
[2017-06-29 07:52:24]�[01;37m �[32mAccepted�[01;37m 10/10 (100%), 652 H, 871.75 H/s, 0C�[0m
[2017-06-29 07:52:28]�[33m Stratum difficulty set to 0.367304�[0m
[2017-06-29 07:52:28]�[90m DEBUG: job_id='195388702526353525733125950112400380241' extranonce2=00000000 ntime=5954f81a�[0m
[2017-06-29 07:52:28] CPU #2: 2488 H, 403.89 H/s�[0m
[2017-06-29 07:52:28] CPU #0: 1431 H, 232.42 H/s�[0m
[2017-06-29 07:52:28] CPU #1: 924 H, 233.33 H/s�[0m
[2017-06-29 07:52:32]�[33m Stratum difficulty set to 0.357127�[0m
[2017-06-29 07:52:32]�[90m DEBUG: job_id='234600011908493652961627465268706738638' extranonce2=00000000 ntime=5954f81a�[0m
[2017-06-29 07:52:32] CPU #2: 1527 H, 403.64 H/s�[0m
[2017-06-29 07:52:32] CPU #1: 883 H, 233.40 H/s�[0m
[2017-06-29 07:52:32] CPU #0: 880 H, 232.43 H/s�[0m
[2017-06-29 07:52:39]�[33m Stratum difficulty set to 0.361765�[0m
[2017-06-29 07:52:39]�[90m DEBUG: job_id='47416783120099148385302835428380794797' extranonce2=00000000 ntime=5954f829�[0m
[2017-06-29 07:52:39] CPU #2: 2751 H, 404.26 H/s�[0m
[2017-06-29 07:52:39] CPU #1: 1588 H, 233.36 H/s�[0m
[2017-06-29 07:52:39] CPU #0: 1580 H, 232.23 H/s�[0m
[2017-06-29 07:53:04]�[90m DEBUG: hash <= target
Hash:   0001cb125445e474c836bbb6e49ffede94981c3caf181a3d9cda415b93684e97
Target: 0002c3a174d1b06c000000000000000000000000000000000000000000000000�[0m
[2017-06-29 07:53:04] CPU #2: 10.23 kH, 403.78 H/s�[0m
[2017-06-29 07:53:04]�[01;37m �[32mAccepted�[01;37m 11/11 (100%), 13.40 kH, 869.36 H/s, 0C�[0m
[2017-06-29 07:53:09]�[33m Stratum difficulty set to 0.296291�[0m
[2017-06-29 07:53:09]�[90m DEBUG: job_id='277451316337743029738997505988559424597' extranonce2=00000000 ntime=5954f847�[0m
[2017-06-29 07:53:09]�[33m Stratum difficulty set to 0.296291�[0m
[2017-06-29 07:53:09] CPU #0: 7092 H, 231.92 H/s�[0m
[2017-06-29 07:53:09] CPU #2: 2116 H, 404.28 H/s�[0m
[2017-06-29 07:53:09] CPU #1: 7134 H, 233.27 H/s�[0m
[2017-06-29 07:53:09]�[90m DEBUG: job_id='197043414760777572195011286613043763242' extranonce2=00000000 ntime=5954f849�[0m
[2017-06-29 07:53:09]�[36m yescrypt block 2100542, diff 0.124�[0m
[2017-06-29 07:53:09]�[33m Stratum difficulty set to 0.296291�[0m
[2017-06-29 07:53:09] CPU #2: 89 H, 412.71 H/s�[0m
[2017-06-29 07:53:09] CPU #1: 51 H, 238.00 H/s�[0m
[2017-06-29 07:53:09]�[90m DEBUG: job_id='302202890604140448562950008430261507852' extranonce2=00000000 ntime=5954f849�[0m
[2017-06-29 07:53:09] CPU #2: 2 H, 733.14 H/s�[0m
[2017-06-29 07:53:09] CPU #0: 52 H, 235.71 H/s�[0m
[2017-06-29 07:53:09] CPU #1: 2 H, 468.38 H/s�[0m
[2017-06-29 07:53:13]�[33m Stratum difficulty set to 0.303493�[0m
[2017-06-29 07:53:13]�[90m DEBUG: job_id='266325385346326475802440387619994608126' extranonce2=00000000 ntime=5954f849�[0m
[2017-06-29 07:53:13] CPU #0: 925 H, 232.06 H/s�[0m
[2017-06-29 07:53:13] CPU #1: 931 H, 233.57 H/s�[0m
[2017-06-29 07:53:13] CPU #2: 1611 H, 403.95 H/s�[0m
[2017-06-29 07:53:17]�[33m Stratum difficulty set to 0.318385�[0m
[2017-06-29 07:53:17]�[90m DEBUG: job_id='312415815201951090143781251113564192958' extranonce2=00000000 ntime=5954f849�[0m
[2017-06-29 07:53:17] CPU #2: 1316 H, 403.51 H/s�[0m
[2017-06-29 07:53:17] CPU #0: 758 H, 232.28 H/s�[0m
[2017-06-29 07:53:17] CPU #1: 762 H, 233.41 H/s�[0m
[2017-06-29 07:53:27]�[33m Stratum difficulty set to 0.351084�[0m
[2017-06-29 07:53:27]�[90m DEBUG: job_id='122927525753923858184536584462138234413' extranonce2=00000000 ntime=5954f859�[0m
[2017-06-29 07:53:27]�[33m Stratum difficulty set to 0.351084�[0m
[2017-06-29 07:53:27] CPU #2: 4372 H, 403.90 H/s�[0m
[2017-06-29 07:53:27] CPU #0: 2506 H, 231.54 H/s�[0m
[2017-06-29 07:53:27] CPU #1: 2525 H, 233.30 H/s�[0m
[2017-06-29 07:53:28]�[90m DEBUG: job_id='125212429430399061231152000123484066460' extranonce2=00000000 ntime=5954f85c�[0m
[2017-06-29 07:53:28]�[36m yescrypt block 2100543, diff 0.124�[0m
[2017-06-29 07:53:28] CPU #1: 167 H, 234.63 H/s�[0m
[2017-06-29 07:53:28] CPU #2: 288 H, 402.98 H/s�[0m
[2017-06-29 07:53:28] CPU #0: 167 H, 233.02 H/s�[0m
[2017-06-29 07:53:34]�[33m Stratum difficulty set to 0.41694�[0m
[2017-06-29 07:53:34]�[90m DEBUG: job_id='196070913523410641884894027439452423755' extranonce2=00000000 ntime=5954f85c�[0m
[2017-06-29 07:53:34] CPU #0: 1245 H, 231.68 H/s�[0m
[2017-06-29 07:53:34] CPU #2: 2171 H, 403.74 H/s�[0m
[2017-06-29 07:53:34] CPU #1: 1256 H, 233.49 H/s�[0m
[2017-06-29 07:53:40]�[33m Stratum difficulty set to 0.459252�[0m
[2017-06-29 07:53:40]�[90m DEBUG: job_id='312187477976053904102434268316242662670' extranonce2=00000000 ntime=5954f85c�[0m
[2017-06-29 07:53:40]�[33m Stratum difficulty set to 0.459252�[0m
[2017-06-29 07:53:40] CPU #2: 2418 H, 403.63 H/s�[0m
[2017-06-29 07:53:40] CPU #1: 1398 H, 233.30 H/s�[0m
[2017-06-29 07:53:40] CPU #0: 1390 H, 231.85 H/s�[0m
[2017-06-29 07:53:40]�[90m DEBUG: job_id='24567944571219176801228337894292367787' extranonce2=00000000 ntime=5954f868�[0m
[2017-06-29 07:53:40]�[36m yescrypt block 2100544, diff 0.124�[0m
[2017-06-29 07:53:40] CPU #1: 50 H, 237.88 H/s�[0m
[2017-06-29 07:53:40] CPU #2: 88 H, 413.37 H/s�[0m
[2017-06-29 07:53:40] CPU #0: 50 H, 236.73 H/s�[0m
[2017-06-29 07:53:47]�[33m Stratum difficulty set to 0.512855�[0m
[2017-06-29 07:53:47]�[90m DEBUG: job_id='304212998402979622158256377661420425605' extranonce2=00000000 ntime=5954f868�[0m
[2017-06-29 07:53:47] CPU #0: 1606 H, 231.55 H/s�[0m
[2017-06-29 07:53:47] CPU #1: 1620 H, 233.44 H/s�[0m
[2017-06-29 07:53:47] CPU #2: 2801 H, 403.66 H/s�[0m


TEMP READING (shortly after launching)

cat /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input
80000
cat /sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input
73000

I stopped it before it went any further, but it has gone all the way up to 104C and eventually shuts my box down.

Hope this helps.

@JayDDee
Copy link
Owner

JayDDee commented Jun 29, 2017

Thanks for the data, I understand the problem now. Until a new release is built you can make the following changes from cpuminer-multi.

tpruvot/cpuminer-multi@2220b21

Please confirm it works.

@M0E-lnx
Copy link
Author

M0E-lnx commented Jun 29, 2017

Yep! That sure does it.

@JayDDee
Copy link
Owner

JayDDee commented Jun 29, 2017

Thanks for testing. I planning on revising the fix to remove two sensors that appear to report HDD temps:
cat /sys/class/hwmon/hwmon0/temp1_input
cat /sys/class/hwmon/hwmon0/temp2_input

The others either report CPU temp or do not exist. Can you confirm?

@M0E-lnx
Copy link
Author

M0E-lnx commented Jun 29, 2017

/sys/class/hwmon/hwmon0/temp1_input does not exist for me

I do have a /sys/class/hwmon/hwmon0/temp2_input and that reports temp
I also have a /sys/class/hwmon/hwmon0/temp4_input which also reports temp.

As I understand, on this particular cpu (not sure about others) temp2 reports temp for core 0 and temp4 reports temp for core 2. The cpu has 2 physical cores, My best guess is that those are as follow

CORE 0 = physical - temp reported by temp2_input
CORE 1 = virtual, or has no sensor or reported as part of core 0
CORE 2 = physical - temp reported by temp4_input
CORE 3 = virtual, or has no sensor or reported as part of core 2

*virtual used for the lack of a better term.

@JayDDee
Copy link
Owner

JayDDee commented Jun 30, 2017

I'm still investigating this issue. It appears the hwmon sensors can vary from motherboard to
motherboard and from kernel to kernel making it impossible to code algorithmically.

The currrent logic used is to poll sensors in some order for the first one that returns a value.
This does not guarantee that the temperature returned is from the CPU, in some cases it could
be from an HDD or some other device.

With no apparent elegant solution one possible approach is to scan for the highest tempeature
read from all sensors. It can be assumed the CPU is the hottest device in the system when CPU
mining therefore the hottest temperature read from the sensors will be from the CPU.

Multi CPU system can be another complicating issue.

@M0E-lnx
Copy link
Author

M0E-lnx commented Jun 30, 2017

You are correct. There are many sensors reporting temp on different systems. Would it be possible to maybe probe what lm_sensors report? It may offer some hint as to where or which sensor to read.

If it helps, here is my output of the sensors command

sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +82.0°C  (high = +95.0°C, crit = +105.0°C)
Core 2:       +78.0°C  (high = +95.0°C, crit = +105.0°C)

I imagine something (although maybe not all that elegantly) can be done with this. since my paths in cat /sys/class/hwmon/hwmon0 match core numbers.

For example, I have a core 0 and core 2 reported by sensors, and I have a /sys/class/hwmon/hwmon0/temp2_label that reads "Core 0" and a temp4_label that reads "Core 2" thus indicating that temp2_input and temp4_input are indeed reporting temps for the CPU cores.

Just an idea, like I said, maybe not the most elegant way of doing it.

@JayDDee
Copy link
Owner

JayDDee commented Jul 1, 2017

you said: "my paths in cat /sys/class/hwmon/hwmon0 match core numbers."
Not for me. hwmon0 is hdd and hwmon1 is cpu. That's the problem, there is no consistency.
It only works on my cpu because it hits the first path, otherwise I'd be monitoring hdd temps.
I'm going to leave it as in cpuminer-multi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants