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

miner doesnt use vram fully

Open PontiacGTX opened this issue 7 years ago • 8 comments
trafficstars

I am trying to use stak miner again but the hashrtae seems worse than claymore by 20% and I notice that the miner is using almost half the ram claymore can and I wonder if this can be improved? is there a way to change the vram used or increase hsashrate further?

PontiacGTX avatar Apr 17 '18 12:04 PontiacGTX

You are using an old miner which is not supported anymore. Please switch to https://github.com/fireice-uk/xmr-stak/releases

psychocrypt avatar Apr 17 '18 15:04 psychocrypt

@psychocrypt Sorry I had posted this in the wrong github... I mean this posted in GPU miner...

the miner is 20% slower

PontiacGTX avatar Apr 17 '18 17:04 PontiacGTX

someone try grab ppl with mega-super-turbo-faster miner written on ASM, lol, but use your code and grab Fees... @psychocrypt can you look on: https://bitcointalk.org/index.php?topic=3281187.msg34507411#msg34507411

2010phenix avatar Apr 21 '18 15:04 2010phenix

I have done a short lookup on the forum post. I am not surr if he did the comparison correct because we do not see the used configs. Never the less in the current times there is no need to write pure asm. I will not say that he is maybe not 2% faster but it depends on the system and OS. CPU is also not the fastes device for monero and co.

The biggest point against this miner is that it is closed source. We forked monero to avoid asics because of the risk that only one vendor exists (single point of failure) The same risk is with closed software if the author decide that he will not develop the project anymore or a government do not allow the development anymore than it is an risk for monero if the miner is heavily used. If @fireice-uk or me decide to close this project all our effort is still available for the community. BTW the community paid with there donation fee for the development therefore the code ~~should~~ must be available for the community. Therefore do not use closed software if there is open source software available.

psychocrypt avatar Apr 21 '18 18:04 psychocrypt

@psychocrypt the AMD GPU miner is around 20% slower with { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : true, "mem_chunk" : 2, "comp_mode" : true }, "gpu_threads_conf" : [ // memory:3712 // compute units: 56 { "index" : 0, "intensity" : 896, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true },

while claymore miner has an advantage and it seems it related to using more mem chunks but if i change memory chunk to 4 or 8 it doesnt use more memory, and I think it could properly use GPU fully if it could use all that vram like cryptonote miner does ..and noticed this is the old CPU miner github

PontiacGTX avatar Apr 21 '18 18:04 PontiacGTX

no memchunk is used if you set strided_index to 2. But it is only the memory pattern,it is not using more memory. If you like to use more memory increase the intensity. If the intensity is a multiple of work_size you can also set comp_mode to false.

The other question is which coin do you mine?

psychocrypt avatar Apr 21 '18 18:04 psychocrypt

Monerov7?

PontiacGTX avatar Apr 21 '18 22:04 PontiacGTX

if you mine monero7 you should be able to increase the intensity per thread much more to around 1800 or 1900

psychocrypt avatar Apr 22 '18 07:04 psychocrypt