all 90 comments

[–]hank_mooody 10 points11 points  (34 children)

This won't give you the best performance, because the real cores and logical threads are working together and thus interfering.

I also told the slack people this tip (apperently only Ryzen and Threadrippers benefit from it):

Select fastest preset in the Walton Miner, then your CPU should have 100% CPU Usage. After, go to Task manager and right click on Walton.Exe, which consumes all CPU, Go to "Details", then a new Task Manager Tab opens, Again, right click on the exe and then you can select "Set Affinity"

Now you just disselect all odd cores so only even numbers stay (0,2,4,6 etc...)

The best way for mining is to only utilize the real Cores, but not the additional threads

[–]windowsfrozenshut 3 points4 points  (0 children)

I am almost doubling the hashrate from a pair of x5650 cpu's. Initially, with the Walton miner slider maxed out and affinity set, I was getting around 110-120k. I just did this trick for all 24 threads and the hashrate is currently 216k and climbing!

[–]gverno 1 point2 points  (5 children)

only currently getting 50% with ryzen 7 - around 200k right now.

[–]timvelden93 1 point2 points  (0 children)

Me too man. Exactly the same. 50% with 200k. Looking for things to improve as well.

edit: %

[–]windowsfrozenshut 1 point2 points  (1 child)

Tried this on an 1800x at stock clocks, and peaked at 256k with 16 threads.

*edit: got one peak at 282k, but it seems to settle around 245-248 most of the time.

[–]gverno 0 points1 point  (0 children)

yup - mine is around 250k now after what hankmoody recommended

[–]besundale 0 points1 point  (0 children)

I can't even get mine past 22%, and top out at around 90k. It's driving me crazy!

[–]MrZep 0 points1 point  (0 children)

oh maaan why you dont buy a intel phi? cheaper and much better

[–]WTCFollower 1 point2 points  (3 children)

Wow! That worked well for me. Thank you. I went from 185k to 220k on my Ryzen 7 but I’m only at 54% CPU usage. Any suggestions to increase my CPU usage?

[–]gverno 2 points3 points  (1 child)

would like to know as well - I would like to bump up to around 75-80% and leave it there. Currently at 65%

[–]WTCFollower 0 points1 point  (0 children)

I just overclocked my Ryzen 7. I'm now at 72% and I peaked at 300K. I settled around 270K-280K. Have you tried overclocking yours? I've never done it before and it was actually pretty easy using the Ryzen Master program.

[–]MrZep 0 points1 point  (0 children)

you have to wait a little it goes up ;)

[–]kaito1000[S] 0 points1 point  (2 children)

Like this for cryptonight, is it confirmed here?

[–]macktastick 0 points1 point  (1 child)

I might be doing something wrong, but I haven't gotten this to beat the geth start method with a 1950x yet (may be processor dependent? again, or operator dependent heh).

[–]kaito1000[S] 0 points1 point  (0 children)

I never got this to work in 1.3 beta. It just halfed my hash. I know because its same method i was telling alot of slack users to do on nicehash. Will try it out and see.

[–]timvelden93 0 points1 point  (1 child)

thanks man, really helpful! Hashrate just increased to around 200k from 160k. CPU Usage down from 61% to around 53%. What else can I do to improve this /u/hank_mooody ?

[–]JeanBaguettos 0 points1 point  (7 children)

Getting 560k with his method 200k with yours on a 1950x.

[–]Buycoin_ATM 0 points1 point  (6 children)

With what method are you getting 560k?


[–]JeanBaguettos 0 points1 point  (5 children)

You're literally in the thread ma dude

[–]Buycoin_ATM 0 points1 point  (4 children)

I know but you said his and yours haha

[–]JeanBaguettos 1 point2 points  (3 children)

his - > op yours - > the guy I answered to

[–]Buycoin_ATM 0 points1 point  (2 children)

Thanks :)

Is your 1950x standard or have you tweaked it? I've just finished my first build and getting 480k

[–]JeanBaguettos 0 points1 point  (1 child)

I overclocked it as well as the ram. My average is a bit lower compared to what I estimated back then too. 500k is good.

[–]Buycoin_ATM 0 points1 point  (0 children)

Yeah my average is around 490k..

There are times when it drops to 300k and as high as 700k. Would be nice to keep it towards the high end... maybe with some tweaking.

[–]R45t4m4n 0 points1 point  (0 children)

fastest preset only uses 45% of cpu, not 100%

[–]kaito1000[S] 0 points1 point  (3 children)


[–]billcozby 0 points1 point  (2 children)

Would it be better to purchase a thread ripper or a 1080ti for mining?

[–]kaito1000[S] 0 points1 point  (0 children)

For now and moveing into future 1080ti

[–]MrZep 0 points1 point  (0 children)

intel phi

[–]Grass_Monster 0 points1 point  (1 child)

I did this on an i7 7700k and went from 160k/100% to 130k/53%

Am I doing something wrong?

[–]combination 0 points1 point  (0 children)

Only works for AMD Ryzen/Threadripper

[–]prepper_of_doom 0 points1 point  (1 child)

Is there an ELI5 of why this would increase hash rate when only using half the corse? Will this only work on TR's, not older CPU's i.e i5's or i7s?

[–]combination 0 points1 point  (0 children)

Because half the cores are just virtual and there's a lot of syncing/swapping overhead. You're now basically using only the "real" cores. Don't get irritated by "only 50%" cpu usage, it means nothing as it also counts virtual cores.

[–]peteridge 0 points1 point  (0 children)

this flat out does not work for thread rippers. just tested it.

[–]adrextor 5 points6 points  (0 children)

This is working great CPU is beating GPU, so people who claim the GPU is beating CPU are plainly retarded. GPU is implemented limited right now to test. They will announce in advance when GPU is being released as they mentioned.

[–]Zelzaan 3 points4 points  (0 children)

You're a hero man. Couldn't set up a VM for my TR, but this helped push me over 500k. Muchas Gracias!

[–]windowsfrozenshut 2 points3 points  (11 children)

Thanks for this, kaito!!! I tried it on one of my dual x5650 machines and it's almost doubling my hashrate! Looks like I've got a lot of work to do for the rest of them now..

Is there a way to make Powershell batch files, so if I have to restart I can just run the batch files?

[–]kaito1000[S] 0 points1 point  (10 children)

Let me know when you learn how to do it

[–]windowsfrozenshut 0 points1 point  (0 children)

Okay, I'll get busy with some google-fu once I'm done getting this manually input into the rest of the fleet! :)

[–]windowsfrozenshut 0 points1 point  (8 children)

I've almost got it figured out.

You edit your registry to be able to execute .ps1 files, which are powershell scripts. Go to:


and change the value to:

"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noLogo -ExecutionPolicy unrestricted -file "%1"

Now you open up Powershell ISE, create a new script, save it as a .ps1 file, and set it up so you can either manually execute the file or set it to startup so that the script starts on boot.

The only thing I haven't figured out is how to separate the commands. I made a test file that started up power shell, went to the correct directory, and started start.bat.... but because start.bat takes a little bit to finish executing, where the etherbase command should come up is blank.

Maybe you can figure it out from there?

[–]GardenMasterGnome 0 points1 point  (7 children)

Would adding a delay after running start.bat be a workaround? It's the Start-Sleep command.

[–]windowsfrozenshut 0 points1 point  (0 children)

I tried start-sleep for as high as 30 seconds and it still didn't work, unfortunately.

[–]windowsfrozenshut 0 points1 point  (5 children)

This is where I'm stuck at.. I just can't get the etherbase command to run after the miner starts.


[–]GardenMasterGnome 0 points1 point  (4 children)

I actually haven't tried any of this yet. Too busy wrangling VMs yesterday so I didn't notice any of this awesome development. I'll have a look tonight and see if there's anything I can do. I'm a Bash guy but I'll take a stab at Powershell haha

[–]windowsfrozenshut 1 point2 points  (3 children)

Awesome. I'm literally a nothing guy, and this is 100% new to me so trying to google-fu it is hard. I'm going to try Start-Process the next time I'm able to remote in to my servers.


[–]GardenMasterGnome 1 point2 points  (2 children)

Hey! Just in case you haven't seen it yet, /u/scavicchio did an awesome job automating all of this. Also see this fix for the delay issue you had mentioned.

[–]scavicchio 1 point2 points  (0 children)

Thank you!

[–]windowsfrozenshut 1 point2 points  (0 children)

Oh heck yeah, you guys are awesome!!

[–]thealchemist80 2 points3 points  (0 children)

I tried this method yesterday and it gave me roughly an extra 100k on my i9.

I didn't know the command to set my wallet address, so I dragged my json file to the nodes folder in WTC folder.

It I type ETH.accounts it shows up my public Walton address so this must work.

And ETH.hashrate gives my hashrate.

I have the same wallet from my json file open on another computer which is an i5 mining, which shows the mining history. I have 2 wtc so far.

How do you tell what miner earnt the rewards?

[–]tbstk 1 point2 points  (1 child)

thank you for sharing this!

[–]Simontje96 0 points1 point  (3 children)

Anyone else getting fatal error: cannot connect because targetcomputer is actively blocking connection? After starting the miner. I have firewall off btw and am running powershell as admin.

[–]_cheefy 0 points1 point  (1 child)

Make sure the WTC GUI isn't running

[–]Simontje96 0 points1 point  (0 children)

I have closed everything that is related to the wallet.

[–]Domitjen 0 points1 point  (0 children)

yes I have

[–]AdisObad 0 points1 point  (0 children)

I tried to combine all commands in a batch file so I don't have to manually type this in each time I restart my computer, but I didn't manage to make it work. Can anyone here help me out with this please?

[–]Robbbbbbbbb 0 points1 point  (1 child)

Looks like this method also starts GPU mining at the same time for me. My CPU and GPU both went under load once I ran miner.start()


[–]kaito1000[S] 0 points1 point  (0 children)


[–]scavicchio 0 points1 point  (0 children)

Is there any way to view how many connections to the network you have when doing this method? It says I am hashing at 280k on Ryzen 1700 but I have no confirmation that blocks are actually coming through.

[–]bitcoinhodler89 0 points1 point  (0 children)

My 8700K shows 85% utilization in SpeedFan. Any ideas how to increase threads? I got an error trying Powershell Here’s the error: https://imgur.com/a/Uap3j

[–]combination 0 points1 point  (1 child)

You don't need to attach a second session for checking the hashrate. Just press Enter once it's running and it will give you a ">" Then type miner.getHashrate();

[–]kaito1000[S] 0 points1 point  (0 children)

Its much easier with a second window and keep the interface clean

[–]bitcoinhodler89 0 points1 point  (5 children)

Anyone mining with a Ryzen 5 1600X 3.6 6 core? What’s your hashrate approximately?

[–]sovuljaner 0 points1 point  (4 children)

i am hitting ~100k with a 1600

[–]bitcoinhodler89 0 points1 point  (3 children)

In the GUI wallet or powershell with max cores?

[–]sovuljaner 1 point2 points  (2 children)

i just switched to powershell. It doesnt make much difference if I use all threads or only half of them. Hovers around 70k with peaks up to 100k atm

[–]bitcoinhodler89 0 points1 point  (1 child)

Seems low....

[–]sovuljaner 0 points1 point  (0 children)

I have a relatively cpu intensive algo running on my gpus atm so its def slowing it down a bit. How much are you getting on 1600x?

[–]Cryptene 0 points1 point  (0 children)

Worked for me. TR 1950x @4 ghz 1.5 V. 100%cpu usage. Up to 800kh/s. But 65 °. Ordered a new thermal paste.

[–]soyab0007 0 points1 point  (1 child)

i dont find much difference between powershell and wallet

[–]kaito1000[S] 0 points1 point  (0 children)

You won’t unless you have a 16thread or higher cpu

[–]soyab0007 0 points1 point  (1 child)

i am running multiple miner with same address, is there a way to check h/s rate on any site with address?

[–]kaito1000[S] 1 point2 points  (0 children)

No idea, not that I know. It’s not pool mining or nicehash ☺️

[–]hanikaraki 0 points1 point  (2 children)

Is this viable for a 8700k? It has exactly 12 threads.

[–]kaito1000[S] 0 points1 point  (0 children)

Try it but I don’t think you’ll gain much.

[–]bitcoinhodler89 0 points1 point  (0 children)

Let me know how yours works. I overclocked to 4.9 or 5.0 GHz and at 11 and 12 threads this method caused my computer to reboot.

[–]thealchemist80 0 points1 point  (1 child)

What does step 9 do in the second power shell window? Just curious what this http links your second power shell window to? :

  1. Enter : .\walton.exe attach

Thanks :)

[–]kaito1000[S] 1 point2 points  (0 children)

allows you to run commands on the first window but in a 2nd window. Such as eth.hashrate to get your hashate

[–]Orange_Tang 0 points1 point  (5 children)

How do you tell if you mined a block using this method other than loading up the wallet or checking the website?

[–]kaito1000[S] 0 points1 point  (4 children)

Look through your console. It’ll tell you

[–]Orange_Tang 0 points1 point  (3 children)

Does it specifically say block mined or what though? I've been looking and can't find it since I only get a block or so a day.

[–]kaito1000[S] 0 points1 point  (2 children)

Something like ‘you have successfully mined a block’ or found a block

[–]Orange_Tang 0 points1 point  (1 child)

Thanks, I must just keep missing it since I have a couple machines.

[–]kaito1000[S] 0 points1 point  (0 children)

You could probably log your console output but you’d need to google how

[–]JeanBaguettos 0 points1 point  (3 children)

I'm using this method and after a while it stops showing the INFO stuff :

INFO [04-07|12:13:00] Start mining WTCBlock blockheight=13642 transactions=0

When I press a button it seems to sync everything. My hashrate doesn't drop though. I'm wondering if there is an issue and if I'm even mining the right blocks since I haven't gotten one in 4 days with 800k hash in total.

[–]kaito1000[S] 0 points1 point  (2 children)

If unsure wipe your wallet, reinstall and start it up again. Check explorer for current block number.

[–]JeanBaguettos 0 points1 point  (0 children)

Its what I did and I think it worked. I'll keep monitoring.

[–]JeanBaguettos 0 points1 point  (0 children)

Still having the issue after all. I made a thread for it.

[–]cyberstriber 0 points1 point  (0 children)

Awesome! I really want to give it a go. However, I can't get .\start.bat to work. (The daemon) It gives me the following output:

PS C:\Program Files\WTC> .\start.bat

C:\Program Files\WTC>if exist node1\ (echo "exist" ) else ( echo "not exist"
.\walton.exe --datadir node1 init genesis.json ) "exist"

C:\Program Files\WTC>walton --identity "development" --rpc --rpcaddr - -rpccorsdomain "*" --datadir "node1" --port "30303" --rpcapi "admin,personal,db ,eth,net,web3,miner" --networkid 999 --rpcport 8545 console
.\start.bat : INFO [04-07|19:16:55] Initialised chain configuration
config="{ChainID: 15 Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Metropolis: <nil> Engine: unknown}" At line:1 char:1 + .\start.bat + ~~~~~~~~~~~ + CategoryInfo : NotSpecified: (INFO [04-07|19:...gine: unknown}" :String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError

INFO [04-07|19:16:55] Starting P2P networking 2018/04/07 19:16:55 Waiting for clients INFO [04-07|19:16:57] UDP listener up self=enode://fca f3dba80b006013f4b1abca6916ef81d71b00e0821bd9404d9f106ebed98c14d59aa2979caeb232f 451e0bf13949d742424cc618ac282025e6eec3ac7badc6@[::]:30303 INFO [04-07|19:16:57] RLPx listener up self=enode://fca f3dba80b006013f4b1abca6916ef81d71b00e0821bd9404d9f106ebed98c14d59aa2979caeb232f 451e0bf13949d742424cc618ac282025e6eec3ac7badc6@[::]:30303

INFO [04-07|19:16:57] HTTP endpoint closed: INFO [04-07|19:16:57] IPC endpoint closed: \.\pipe\gwtc.ipc INFO [04-07|19:16:57] Blockchain manager stopped INFO [04-07|19:16:57] Stopping Ethereum protocol INFO [04-07|19:16:57] Ethereum protocol stopped INFO [04-07|19:16:57] Transaction pool stopped

Anyone got an idea what happened? The WTC Wallet is not open.