I have a complete section of notes in my OneNote and this is my attempt to gather them all up as a guide. More importantly, things I've learned and in what order to do them in. These are my notes and written quickly but should be fairly understandable. If you need clarification on why I did something just ask below. I'm not saying all of this is 100% perfect, it's either things I have been doing or have learned the hard way.
I'm going to present this to you from the point of view of a new PC. My recommendation is to do this on a PC you can trash, meaning, take the hard drive and wipe it clean at any time to start over.
Need hardware ideas?
When I say mining rig it could be a single GPU, CPU, or a frame full of 6 cards. This is mostly from the point of view of building something from the ground up and using it only for mining. Many people use their gaming PC and GPU as a miner during downtime and that is completely fine. Some of these steps will not apply to that miner and obviously, some of these steps may not be the best for you or the most secure thing to do to a PC. Take that into consideration for the health of your personal PC and your network.
Harden your internal network to exclude the IP address of the mining rig.
Don't store information, keys, passwords, etc on the miner.
Don't have Chrome browser or any other browser loaded that will login to your password programs automatically.
I don't like storing personal data or links to network drives, etc on the miner.
Consider removing your personal HDD and replacing with a spare.
Check your mobo bios. Up to date? If it's working don't update it. Keep that in mind if you run into a problem.
RAM = 4Gb will work on most low end rigs. You will want more for 6 cards and up. Makes it run smoother. Don't buy the expensive super fast timing ram unless this is an investment in a future server or gaming PC. Slower is fine.
CPU - Go for Celeron and up to run a GPU miner. Choose more to mine via CPU.
HDD - Make sure you have enough room to set a large swap file. 20Gb to 30Gb of swap and then make sure you have space left over. 100Gb SSD or spinner is fine.
Power Supply - Make sure you have enough for the cards you want to run. You can't overload this thing. It will cause problems, reboots, fires, etc. Cables too.
Fans - You can get a box of 3 for under $20. Make sure your case has adequate air pulled in, and pushed out. If you are in a mining frame make sure that you can pull heat away from the cards.
If you are going to use PCIE risers it is advised that you not use SATA power plugs. If you must use one, which I have before, use it on a lower power GPU, and never use a molded plug. A molded plug is plastic wrapped all the way around the power wires. Use 6 pin or molex.
Start a log book of your hardware and what you have done to it. Also GPU's. Example: If you flash a bios on an AMD GPU, note that down somewhere and store the exported bios. Also log steps you take, changes you make, costs involved. Take notes!
Does the box have onboard video? Use it. No GPU's yet. This is controversial. A lot of folks say to use it so the GPU doesn't have to worry about video output. Using the onboard video consumes resources of the PC as well. I've found it better to use the onboard if you are using NVIDIA cards. If you are using AMD cards they sometimes get fussy about not being used.
This one may scare the crap out of you. Some folks have used shoddy gear and cables and have turned their mining rig into melted plastic or a sparking fireball. Don't use cheap crap. I personally have put a security camera on my rig. I can jump on a remote camera app and see the rig running. I also have a temperature sensor nearby so if the room spikes in temp I will be notified. That means environmentally there has been a change or the room is on fire. Both not good and getting notified ASAP is a good thing.
Heads up items.
The first thing you need to do is get your "Patience" out. Your going to need it a lot! I'll put it in the notes below but get a method of remote connection put on the machine ASAP.
Don't install miners until the end.
Don't install anything that has an intense auto startup routine. Ummm, like a miner!
Windows 10 takes time to sort out GPU's. It’s surprisingly good at it though. If you have an open air mining rig in a frame make sure you have installed a HDD light. We need to see it! When installing cards, GPU's, or making changes from GPU to onboard video or vice versa always let Windows settle down and do it's thing. Don't fire up a miner, don't start Task Manager, just CHILL!!! Watch the HDD light and let it settle down. Sometimes around 5 minutes. Work on something else!
First boot with onboard video and first boot with a GPU installed
You may need to go into BIOS and set up video if you are using onboard video. The machine will default to PCIE video card if you have one installed. You may have to tell the BIOS to use onboard.
Do you have an older board? Com ports, LPT ports? Disable them. Do you need audio? No? Disable it.
If the BIOS has a setting to resume power after a shutdown use that.
Installing Windows 10
I'm leaving this up to you. Reset the PC via factory app. Reset the PC via Windows 10. Install fresh from a download only from Microsoft. Don't get it anywhere else. Use only Genuine Windows please.
If it doesn't have onboard video, install one GPU.
Don't do drivers for it yet. Windows will light it up for you and we will undo that later.
Installing Windows uncheck all the privacy options.
No Windows Live login. Choose local account.
Name the account.
No password so hit enter or click the arrow on the blank password. In some cases we may want to set a password but for now leave it blank.
Uninstall everything that you don't need for mining. No Candy Crush!
Check for Updates. Many times. Make sure there are no pending updates. Check every time it reboots. You want the Fall Creators Update.
Teamviewer. Go sit on the couch. If you use RDP then go into settings and explicitly allow RDP sessions to PC. If you are on a Windows 10 Home edition you need to use another program such as Teamviewer. It is free for personal use. It is a little naggy but works well. I can't tell you how many times I've booted a machine and made a mistake and have no video output. Teamviewer will save you from having to hard reset it. Do it!
Check Devices to make sure there is nothing that needs attention. Yellow exclamation points? Take care of them.
Remove as many auto start applications as possible. Everything that loads up takes RAM away from you.
Windows installed, stable, and updated. Take a deep breath because it's about to get interesting. These next steps will separate the mining rigs from the gaming rigs. Do them if you want. Do them at your own risk. Do them if you are serious. Nothing is worse than you setting your rig to mine at midnight and then it rebooting to do a piddly update at 1 AM and you have lost 6 hours of mining time.
I'm about to come at you with some crazy settings. Don't give me the "unsafe" or "reckless" lecture. Make your own decisions. This is a mining rig, not a family PC, or HTPC.
This works well for miners using xmr-stak. This miner is a command line miner for monero type coins. KRB, ETN, MSR, etc. This step comes straight from the README file.
By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows.
edit your system's group policies to enable locking large pages
On the Start menu, click Run. In the Open box, type gpedit.msc.
On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.
Expand Security Settings, and then expand Local Policies.
Select the User Rights Assignment folder.
The policies will be displayed in the details pane.
In the pane, double-click Lock pages in memory.
In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.
In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on
Reboot for change to take effect.
Virtual Memory Increase
I always do this via File Manager. Right click This PC, Properties.
Advanced System Settings
In the Advanced Tab, Performance box at the top, click settings.
Advanced tab in the middle.
Virtual Memory Box at bottom.
Select the drive
I've been using 25000 as minimum and 30000 as maximum. I've heard you need more if you are running over 8 GPU's.
You have to restart now. I've seen this take two restarts to sort out.
Auto Log In to Windows
Start, Run, type NETPLWIZ.
Uncheck, Users must use password.
Add a username if necessary.
Stop Windows Update
Start, Run, services.msc or start and type services
Scroll way down for Windows Update
Stop it. Double click it. Set Disable on Startup type.
Go back and check if it's disabled. It does not want to be disabled!
This is where you have to be in tune to the world of Windows. If there is an update out there you need, google it with mining, read up on it, update your rig. Simple.
Brace yourself. Download this registry tweak and run it.
Disable all it asks you to. If you are skeered you can edit the file and see what it is going to ask you and each edit it will do. It doesn't fly through your registry, make changes, and say done. It asks you for every single change. It's actually really handy, like disable telemetry and data collection. It also disables cosmetic stuff you may never know is there but takes resources.
Change your Power Settings
You may think you know this setting but read it carefully. I found it helpful.
Control Panel. Power.
Click on Show additional plans
Select High Performance plan
In High Performance plan, click Change plan settings
Select “Never” on all four options for “Turn off the display” and “Put the computer to sleep“
Click “Change advanced power settings” and look for “PCI Express” “Link State Power Management“, make sure it is set to “OFF“
I found this On in one of my PC's. I never did do a check on hash rate performance though.
There is a tool called DDU that will strip your Windows of video drivers. It's good to use if you have a PC that has gone through multiple GPU's for gaming, onboard drivers, etc.
The idea is to remove all the drivers and turn it off. Install a GPU and then install that driver manually. If you want to use onboard video you have to be careful.
This tool will also tell windows to never update the video drivers. That is also handy.
New load of Windows? Perhaps you can skip this step but keep it in mind if you get into trouble.
Regardless. Turn the box off now. Time to put in your first card.
Here we go. One Card, One Card Only.
Put your GPU into the first slot. Where you normally would. Use a riser, whatever. Check everything twice. Make sure the riser is balanced in the slot. Power applied to card, and riser.
Power on. Wait for Windows to chill. 5 Minutes. Watch the HDD lite and wait for it stop being constantly on.
Install your driver.
AMD - http://support.amd.com/en-us/download/desktop?os=Windows 10 - 64
NVIDIA - http://www.nvidia.com/Download/index.aspx
AMD, do a custom install. No ReLive or audio drivers.
Right Click on the Radeon driver icon in the toolbar and start the Radeon Settings.
Click gaming, click global settings.
Set GPU workload to compute for mining and graphics for a little Fortnite fun.
You can now check Device Manager and see if the Display Adapter is properly shown. If there is any doubt you are on the new driver do a reboot. You should have seen the screen flash and it should now be in a more suitable resolution for your monitor.
Reboot and check it again if needed. If you see the card then turn the box off.
Shut down. Install another card.
Repeat. Patience. Wait 5 minutes for Windows to sort out the GPU that is added. Maybe even more time.
Some guides I have seen put the rest of the cards into the rig all at once. I'm saying go one at a time. Less chance of an error and more time to plan.
Turn the box on. When Windows boots wait 5 minutes for it to chill as before. Don't touch it for anything. No miners, no device manager. No browsers, nothing. Stop. Chill.
When the HDD light stops you can check device manager. Only when it stops. You should see 2 GPU's. No exclamation points.
I'll get busy on a new post for GPU optimization and what software to use for mining.
Here is my small time miner. Ya, I know. 1050's!
Say thanks by using links in these posts to purchase items with. Make sure to turn off your ad blocker for this site. If you are registered here you will not see Google Ads.
Sign up with this link to mine a coin with your browser.
Join me in self mining - https://jsecoin.com/o/?a=40280 We both get a bonus!
I am starting this post to help others out a little bit with what I have been doing with my GTX 1060 card and mining.
My card is a ASUS PH-GTX1060-3G that I bought off of Amazon for $215. https://www.amazon.com/gp/product/B072172ZDK/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1
It is advertised with a based clock of 1506 Mhz.
I loaded ASUS GPU Tweak II on my Windows 10 PC to adjust the GPU. Current I am using the following settings.
GPU Bosst Clock (Mhz): maxed out at +170 (1878 Mhz)
GPU voltage (%): +0 which is the stock setting
Memory Clock (Mhz): +800 (8808 Mhz)
Fan Speed (%): Auto
Power Target (%): maxed out +16 (116%)
GPU Temp Target (C): increased to +9 (92°C)
Frame Rate Target (FPS): no change
I have no idea if these settings are optimal or not. They are just what I have tried.
My actual GPU temperature hovers right around 78-80°C and the fan is only running about 55% most of the time in auto mode.
Power Target Status is running about 99% but will go up to 118% on occasion.
I am running NiceHash and it selects which algorithm to run.
My system power draw is right around 165-175 watts (depends again on the algorithm).
The Dailey estimated earnings vary between about $0.80 for the low to an average around $1.00 to $1.30 and highs have been seen around $1.50 for short bursts.
My system has been running now for about 14 days and has used ~58.4 kwh of energy at $0.1166 / kwh ($6.81 in electricity) to mine $15.57 of BTC. I am netting about 56% of my gross income from mining. Not a bad margin. Of course I still have to cover the cost of the video card.
Your mileage may vary but this should give you an idea of what my system is doing. If you have suggestions for improving the hash rate by adjusting this GPU feel free to suggest changes.
I don't know if this provides much additional information but it is my actual unboxing of the Gen10 BETA -- I cut a lot (some may say I didn't cut enough ) but it gives a perspective and shows my initial confusion with the removing the door....
HPE ProLiant Gen10 MicroServer with streaming movie playing (Batman vs Superman – Monitor 1), six VMs loaded and powered up (Hyper-V Manager window open – Monitor 2), and Excel spreadsheet opened crunching 19 years of daily data for multiple graphs (Monitor 3) all using about 49% of installed 32GB RAM. The disk activity that can be made out on the Task Manager is from the VMs – the Excel spreadsheet is on my home server.
For the above I had the following connections left to Right:
1st Monitor attached with HDMI cable via: “Active DisplayPort to HDMI 4K Adapter, Benfei DP to HDMI Ultra HD Converter” https://www.amazon.com/gp/product/B01M5DX296/ref=oh_aui_detailpage_o07_s00?ie=UTF8&psc=1
2nd Monitor attached to VGA Port
3rd Monitor attached with HDMI cable via : Passive “4K DisplayPort 1.2 to HDMI Adapter by Benfei DP Display Port to HDMI UHD 2K 3D Audio and Video Converter Male to Female Gold-Plated Cord” https://www.amazon.com/gp/product/B06VV26BLB/ref=oh_aui_detailpage_o07_s01?ie=UTF8&psc=1
Check out the Thread on PassMark performance:
The 2D Graphics Mark was 424.7
The 3D Graphics Mark was 1211
The PassMark Analysis has the resolution of all three of my monitors as well as other information it detected about the AMD Radeon R7 Graphics. I do not have a 4K monitor so I was not able to test that capability.
THIS WAS ALL AFTER I CORRECTED A ERROR I FOUND VERY EARLY ON IN SYSTEMS INFORMATION AND PROBLEM DEVICES
Systems Information showed a Problem device: ACPI\AMD0020\20 -- to fix that I went to http://support.amd.com/en-us/download
The file will look like:
it will take awhile to execute!
Afterwards the Device Manager looked like:
And in System Information the Problem devices will be cleared out:
My setup at the time was:
Running at ~55W with 32GB RAM and two VMs active when I did this.
Has anyone run into issues installing Windows 7 64bit on an AMD board? More specifically on Gigabyte AMD boards. The Win 7 64bit install froze while loading on a GA-A75M-UD2H. 32 bit installed just fine. Then on a GA-99FXA-UD3 it would not find the hard drive. I downloaded the latest AHCI drivers from Gigabyte but still complains about it. This would be in the F6 stage of the install. At first I thought is was because I had an SSD in there but I swapped it out for a spindle drive and got the same results.
I thought I'd check here and see if anyone had a quick fix before hitting Gigabytes board. I've successfully installed Win 7 64bit on other AMD chipsets before without issue.