Edited Why I shouldn’t write while dealing with a fever… under discussion.

So I am mining some coinage in the Cryptocurrency world. Mainly because the miners make GREAT performance testing resources. Nothing like maxing out CPU or GPU or both whenever you need it (and making a little speculative coin on the side).

But, Windows the mining program was doing me wrong. By default, the thread scheduler thing sets a new process to use ALL cores available and apparently go in sequence. This is ‘ok’ but I find I get MUCH better results when I don’t let the thread scheduler miner handle my CPU-based miner threads.

Case in point:

miner going slow

Note CPU #6. Why is it 70,000 hashes/second faster than it’s peers? Because it’s the only miner thread that doesn’t have it’s partner CPU also running at 100%.

Let’s look at this in Task Manager, this is what it looks like:

task manager core count.png

So see the pairings? CPU 0/1, CPU 2/3, CPU 4/5, CPU 6/idle.

That’s why CPU 6 can run faster. It’s hyper-threaded pair isn’t mussing it up. Plus it perhaps has better caching since it isn’t using pipeline cache for another busy thread (conjecture).

Anyway, changing this is trivial. I found my miner in task manager and right clicked it and selected Processor affinity.

proc affinity

See how it’s spread out on all CPUs? Yeah we’re going to fix that.

better proc affinity.png

Now I’m using every odd CPU, and every even CPU is not used by my miner process. Fair enough. I am only allocating 7 miner threads by the way, so we’re giving the miner an extra thread. Who cares. It might not use it. Don’t care.

Hit ok and see the results:

change.png

See, CPU 0, 2, 4, 6 are falling. The odds are all increasing.

The results? Pretty damn good. I went from 990 kH/s on 7 mining threads to 1746 kH/s.

I’ll take it.faster.png

All this because Windows thread scheduling leaves something to be desired…since like, a while ago. But that’s another story…

Carl schooled me.

If you run Plex Media Server, delete your old installers, it doesn’t (yet).

So I noted the other day my Plex server, which I adore BTW, was running a tad shy on disk space. That’s cool, but why.

So just a little poking around revealed that Plex Media Server has been hoarding disk space by keeping all previous downloads of the installer/updater on disk. Not really sure why. But I assure you the likelihood of me needing an installer for that from 2015 is pretty low…

So I deleted them all and got back my 6GB of space.

The path is the path of the user logged in while Plex is running, in my case, me:

\\AppData\Local\Plex Media Server\Updates

plexupdates.png

Ideally it’ll look like this, squeaky clean.

Mine had about 27 folders in it each with files, stuff, etc. Flotsam and jetsam of the interwebs.

so how I got there?

Windows start button, type %APPDATA% and hit enter

appdata

This puts us in USER\AppData\Roaming. We don’t want to be there. Click the UP arrow next to “This PC” and double-click Local, Plex Media Server, Updates.

Delete to your hearts content.

This post brought to you by the letter Q and the number 5.

If you think they should address this please up-vote the feature request here (requires a PlexPass, which you should ideally get if you use Plex).:

https://forums.plex.tv/discussion/287657/delete-past-updates-out-of-appdata#latest

Peace!

 

 

How to mine Vertcoin (VTC)

So another Cryptocurrency has piqued my interest.

Vertcoincompariso.jpg

Vertcoin is very similar to Bitcoin and Litecoin but is ASIC resistant. I looked at the miner Vertcoin provides on GitHub and found it to have requirements that a normal Windows user could consider to be complicated.

So I wrote this guide cause it’s what I did and it works pretty well.

My system is an Nvidia GPU-based system, meaning the graphics card is made by Nvidia. Specifically I have a GTX 1070. This should work with most modern GPUs made by Nvidia that have CUDA cores in them (and the correct drivers installed, available here).

A quality wallet for VTC can be found here by the way.

Step by Step instructions

Step 1: Download and install 7zip from 7zip.org.

Step 2: Download and the latest CCMINER release from Tpruvot’s github repository. If your Windows is 64 bit, download the x64 version. If your Windows is 32 bit, download the x86 version. You can find your bit-ness by following this article.

Step 3: Once it is downloaded, right click the .7z file and select properties. Then 1) check the box for “unblock” and 2) click Ok.

unblock.jpg

Step 4: Right click the 7z you just Unblocked and select 7-Zip and Extract files…

uncompress.png

Step 5: Pick a place to run your program. I’m lazy so I pick my Desktop. Then I click OK a couple times.

desktop.png

Step 5a: If at this point your PC’s anti-virus is alerting you, uninstall it and get a quality AV solution.

Step 6:  Rename one of the .bat files already present to vert.bat. Pick one, doesn’t matter.

So far so good, this will prompt for a file name, simply type vert.bat and then hit the del key a couple times to remove the .txt ending.

vert.png

You then get a prompt warning you of impending doom (a rename dialog box). Click Ok.

rename.png

Step 7: Right click/edit the vert.bat file.

replace the 1st line with the following:

ccminer-x64 -a lyra2v2 -o stratum+tcp://coinotron.com:3340 -u jeffstokes72.juan -p sanchez

If you were 32 bit instead make the command

ccminer -a lyra2v2 -o stratum+tcp://coinotron.com:3340 -u jeffstokes72.juan -p sanchez

Step 8: Go register at https://coinotron.com/app?action=register. In the vert.bat replace the ‘jeffstokes72.juan’ with your username.worker and the ‘sanchez’ with your password for your worker.

If you don’t do this you’ll be mining for my worker id and giving me free credit for VTC coins.

The Coinotron help site has an example of how it should look too.

Step 9: double click the vert.bat file. If you’ve configured it properly and your system works with this miner, then you’ll see mining happening. On my GTX 1070 I am getting about 35 million hashes/sec. I’m making 2-3 coins a day.

Q: What do I do if this doesn’t work? Can you help me?

A: No. Not really. I have a day job. If you can’t get this guide to work for you, maybe go buy some VTC for cash instead. Sorry.

 

Q: I want to send you VTC as thanks!

A: cool my receive addresses are:

VTC –  VgvHkaGAFtgR5UQa8ao8PrNNNvoFDrnXZY

BTC – 16V5ccxZ3KUt9DdpeLtfKmrTk2Uaf4gCBX

ETH – 0x31F8f3f1deD3297b4285f2650A925c82ca11522D

 

For more info hit up https://vertcoin.org/blog/