I sat down with @jcollison and talked about Burst HDD Mining. This episode of the RESET Podcast should fill in all the blanks if you have had questions about Hard Drive mining.
Please subscribe with your favorite podcast player.
RESET is a weekly tech podcast that covers home automation, networking, and home storage. No tech subject is off limits and RESET will get off the rails on other favorites. This podcast is by David McCabe who has been podcasting since 2008 on popular shows such as Home Server Show and Surface Geeks. Listen to RESET via these podcast apps and directories:
RESET FM - http://reset.fm/about
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 looking to get 2x512GB SSDs on a black friday deal with converters.
As i understand i need to put these in slot 1 and 2 run them in Raid 0 so if they are 6Gbps each does that mean they will run at 12Gbps concurrently and also double the read/write speed?
I currently have a 1TB SATA Disk running on b120i Smart controller so will i lose the ESXi i am running on it, Is there a way i can restore it all on the SSD's or better off clean installing?
Can anyone recommend which brand SSDs and specs i should be looking at?
I have the following setup at home (See pic)
I have come back to my server after 1 year. I need some advice as I think I could be doing things better. The main goal is to improve performance in a cost effective way and do things more efficiently.
My main use is rapidly download ISO's and cloning baseline VM's to run new test VM's in my lab with test domain.
If i could get a built in NAS or something on the server that would be good but I have read that FreeNas is best run on bare metal.
I think I want SSD storage for VM's and 2TB SATA to be used as shared storage across the network. Will I need to get 2 SSD's for RAID 0 is this recommended?
I originally purchased only 1 x 2TB SATA as it is just a home lab for testing VM's on and I couldn't afford a bunch of SSD's.
This is setup as 2 logical drives on the Smart Array B120i. I know there are other options in BIOS:
Enable SATA Legacy support
Enable SATA AHCI support
Do I need to enable these instead of B120i what is the difference?
I use virtualbox on my laptop and some VM's if I am away from home or mainly because i don't want the server running all the time due to power consumption?
Am I being silly here is the laptop drawing similar power to the server or is it a lot less?
My Buffalo NAS is very slow on the network and unreliable even though it is supposed to be Gigabit which is why I am now use 2TB Seagate external.
In ESXi the VM options has a selection for SCSI controller:
LSI Logic SAS
LSI Logic Parallel
Do you know what the difference is and which one I need to use for best performance? Is this different for SATA and SSD disks?
Surface with Windows RT, 32 GB: $499
Surface with Windows RT, 32 GB with Black Touch Cover: $599
Surface with Windows RT, 64 GB with Black Touch Cover: $699
Surface Touch Cover (white, red, black, cyan, or pink): $120
Surface Type Cover: $130
Initial reactions? To high?