xmr-stak-cpu icon indicating copy to clipboard operation
xmr-stak-cpu copied to clipboard

not seeing improvement

Open 1a1a11a opened this issue 7 years ago • 11 comments

compared to Wolf's CPUminer, on CPU E3 1270 and i7 6700K, both are around 100 and 120 for each, any idea why?

Running Ubuntu 14.04 and Ubuntu 16.04

1a1a11a avatar Jun 04 '17 05:06 1a1a11a

Do you use the latest release? Habe you use the suggested auto config after the first start? Please ost your config!

psychocrypt avatar Jun 04 '17 06:06 psychocrypt

yes, I used the one in the master branch, I first tried the suggested config, then I also tried using 4, 6, 8 threads, with low-power-mode off and on, always no prefetch

1a1a11a avatar Jun 04 '17 18:06 1a1a11a

Please post your config. Please post the output of the miner( run it 20sec). Please post the output up to the beginning.

psychocrypt avatar Jun 04 '17 18:06 psychocrypt

this is on i7 6700K, "cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, ],

XMR-Stak-CPU mining software, CPU Version. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Brought to you by fireice_uk and psychocrypt under GPLv3.

Configurable dev donation level is set to 1.0 %

You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection

[2017-06-04 14:44:10] : Starting single thread, affinity: 0. [2017-06-04 14:44:10] : Starting single thread, affinity: 1. [2017-06-04 14:44:10] : Starting single thread, affinity: 2. [2017-06-04 14:44:10] : Starting single thread, affinity: 3. [2017-06-04 14:44:10] : Starting single thread, affinity: 0. [2017-06-04 14:44:10] : Starting single thread, affinity: 1. [2017-06-04 14:44:10] : Connecting to pool fcn-xmr.pool.minergate.com:45590 ... [2017-06-04 14:44:10] : Connected. Logging in... [2017-06-04 14:44:11] : Difficulty changed. Now: 1063. [2017-06-04 14:44:11] : New block detected. [2017-06-04 14:44:13] : Result accepted by the pool. [2017-06-04 14:44:16] : Result accepted by the pool. [2017-06-04 14:44:20] : Result accepted by the pool. HASHRATE REPORT | ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m | | 0 | 13.5 | (na) | (na) | 1 | 14.3 | (na) | (na) | | 2 | 26.8 | (na) | (na) | 3 | 35.9 | (na) | (na) | | 4 | 13.1 | (na) | (na) | 5 | 14.4 | (na) | (na) |

Totals: 118.0 (na) (na) H/s Highest: 122.5 H/s

1a1a11a avatar Jun 04 '17 18:06 1a1a11a

E3 1270 somehow does not support AES according to log, but Intel says it supports AES

1a1a11a avatar Jun 04 '17 18:06 1a1a11a

You need to change your config. you are mining with two threads on one core, therefore the bad performance. Also you used to much threads, You have 8 MB Cache, therefore you can only use 4 threads.

"cpu_threads_conf" :
[
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
{ "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 3 },
],

psychocrypt avatar Jun 04 '17 19:06 psychocrypt

but still, it only gives a hash rate around 150 for i7 6700K

1a1a11a avatar Jun 04 '17 21:06 1a1a11a

@1a1a11a Did you enable the Large page support?

esfomeado avatar Jun 04 '17 21:06 esfomeado

Yes, I run the command in the config.txt and also change the limits in /etc/security/limits.conf Do I have to reboot?

On Jun 4, 2017, at 5:45 PM, Esfomeado <[email protected]mailto:[email protected]> wrote:

@1a1a11ahttps://github.com/1a1a11a Did you enable the Large page support?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/fireice-uk/xmr-stak-cpu/issues/139#issuecomment-306069241, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIL-Txrin6MoVtDYFUELpLoAKL1jZMzpks5sAyVvgaJpZM4NvR3V.


This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited.

If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).

1a1a11a avatar Jun 04 '17 21:06 1a1a11a

@1a1a11a By default the miner will give you warnings if you don't have the large pages enabled, but will keep on working anyway. Just look for warnings / lack of them to confirm.

fireice-uk avatar Jun 05 '17 17:06 fireice-uk

@1a1a11a for both your E3 and i7, this should be ideal. Try it out and if it satifies you, I can explain how this works and consider closing the issue. "cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }, ],

aviralrstg avatar Jan 02 '18 18:01 aviralrstg