how to set minermemory ? i try command -minermemory=2 -genproclimit=4 on debug windows not work " methode not found ( code -32601 ) "
It's command line argument. For example you can run it like this:
>HOdlcoin-qt.exe -gen=1 -minermemory=5 -genproclimit=19
This sets mining on using 5 GB memory with 19 CPU threads.
^^ would be 5 mining instances with 19 mining threads each... Is there a way I could adjust the number of mining threads ?
Threads = minermemory * genproclimit
I suggest leaving minermemory to the default which is 1.
Then with genproclimit you can set the number of threads.
I have an i7 CPU. Changing genproclimit to 6 does change the number of threads reported by my wallet when mining to 6, but the wallet still utilizes 100% of the CPU most of the time but drops off to 25% briefly every few seconds. Is there a setting that would give me a steady 75% CPU utilization instead of the peaks and valleys?
The mining thread count needs to be a power of 2 (2,4,8,16...) or it will round up to the closest one.. So if you have 8 CPU threads and you mined at 50% you need to do 1/4 (ram/threads) or 2/2 but like stated above 1/4 would work the best.. Sam goes if you have 4 CPU threads 1/2 would be 50%.. Like stated a few time before.. Terms to know
CPU cores: the number of physical cores on your CPU
CPU threads: the number of threads your CPU has, so if your CPU is hyper threaded then this is (core count x 2)
Mining threads: number used in "genproclimit"
Total mining threads: genproclimit x minermemory (threads x ram)
Mining instances: each 1gb of ram used ( number used in "minermemory")
Mining cycle: 1000 searched
On most rigs you can get a total mining threads a little higher the CPU threads.. This needs to be test to find optimal for your system.. Let's take one of my rigs for example.. It has 48 CPU threads I have it set at 7/8 which is 56 total mining threads.. This is bc there is a slight delay right after the mining cycle and each instance cycles at different times.. So this leaves just a little room for the extra mining threads..
^^ is a break down so you can better understandIs it possible to change the RAM usage on a windows wallet, if so how?
If you missed it and don't feel like reading through the thread to use -miningaddress="address" and or optimize your miner see below
1. Make sure your wallet is closed
2. Make sure your Hodlcoin-qt.exe is on your Desktop
3. Bring up Run (Press [Window] + [R] on your keyboard)
4. Paste below in Run
%userprofile%\Desktop\HOdlcoin-qt.exe -gen=1 -minermemory=2 -genproclimit=4 -miningaddress="address"
*Note put your address in place of "address" like this "HEX8QLWqQ7p7MFNiN8CMrMjC2CYAy8pwi9"
**Note minermemory should be "1" or "2" on windows any higher and you ger a Runtime error
***Note minermemory is the amount of Ram your using and must be multiplied by genproclimit to equal totale Threads you would like to use example (-minermemory=2 -genproclimit=4 is 8 Threads)
I see now, thanks!
If you don't want to type it out every time you start the wallet you can just make a batch file in the same location as your wallet that says the same thing and just click the batch file to start your miner. If you don't know how, just make a .txt file with notepad and once you save it, change the file extension type to .bat
In note pad type this
rpcuser=username
rpcpassword=password
p2pport=1989
rpcport=11989
gen=1
minermemory=2
genproclimit=4
miningaddress=yourwalletaddresshere
Then Save like this
1. In the
Save as type dropdown box Select:
All Files2. File name:
hodlcoin.conf3. Save it to hodlcoin folder
Note: if you need help finding the folder just save it to the
Desktop, then
Search for
%appdata%\hodlcoin Drag/Drop new hodlcoin.conf from Desktop to hodlcoin folder
^^ was taken from the mining guide thread..https://bitcointalksearch.org/topic/hodlcoin-cpu-solo-mining-guide-1383479