Jump to content
RESET Forums (homeservershow.com)
ETBrown

Repurposing components for a Cryptocurrency Mining Rig vs Dedicated storage/PLEX Server

Recommended Posts

ETBrown

I am finally replaced my custom built desktop PC after about 5 years. 

 

Now that I have a retired computer with a decent pair of video cards I want to dip my toe into cryptocurrency mining.  Although I realize the old equipment won't produce as much per watt as newer graphics cards, I already have 2 HD 7870's that will just collect dust if I don't do something with the system.  There are also a few older components lying around so I've been contemplating repurposing my old computer and components to create computers for the following roles:

  1. A dedicated storage server that would also host my Plex media server and backup content locally.  (Yes a NAS box could do this, but I already have PC parts and don't want to spend $1k+ on a NAS box that can accomodate all of my 4TB and 6TB drives).
  2. A cryptocurrency mining rig
  3. A router/firewall replacement

 

I'm new to mining and know that the mining rig needs graphics cards, but how significant of a difference does the CPU make in a mining rig?  I can either use an Intel Core i7-3770K or an Intel Core i3-3250.  The dilemma is that the i7 should be able to transcode roughly twice the number of simultaneous streams (4) that the i3 can transcode (2+) based on the PassMark scores.  I don't want to mine on the same machine as my Plex server since my previous mining attempt created OS stability problems.

 

Does memory make a large difference in cryptocurrency mining?  I can either use 32 GB of ram or 16GB of ram.

 

Lastly, would it be better to combine the storage/Plex server and router/firewall roles into a single computer and run each as a VM?  What do others recommend for this? I've heard about Pfsense and watched a few setup videos, but that appears to be designed to run on a dedicated system.

 

Thank you in advance to those that have constructive feedback for me.

Share this post


Link to post
Share on other sites
thanlindley

My opinion would be to use the core i7 and lots of storage and RAM that you have to make a Plex server/storage/transcoder in one box. That much RAM and CPU would be a waste on a mining rig.
If you wanted to check the power supply and have decent graphics cards (Nvidia 1060 and up) the use as little RAM and slower ( low power) CPU to make a mining rig.
My preference is to keep pfsense stand alone although I know others have virtualized it.

Share this post


Link to post
Share on other sites
Trig0r

From a crypto pov, you can tweak the config of the miner so that it uses some or all of the cores, the 3770K is a smidge faster than my straight 3770 should see ~350H/s on Monero algorithm, obviously, you'll have to see how transcoding goes and tweak accordingly, it'd probably net you ~$2 a day, not sure what the 7870's will do, I suspect >400H/s.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • Dave
      By Dave
      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  
    • Dave
      By Dave
      Synology C2 Backup Now Available to US Customers
       
      This is a data backup service that Synology released to EU customers last year.  I remember trying to get it to install and it wouldn't take my CC# because of location.  Fair enough, will it now and how much will it cost?
       
       

       
      Seriously, how much is it?  Ask Google and on March 25th, 2018 it's $14.12.  That's still not a bad price for 100Gb of backup with versioning. Also not bad to consider this as a secondary cloud backup.  (See below for pricing)
       
      One thing to keep in mine this is a service that falls under Hyper Backup and not Cloud Sync.  The two are very different.  This will be a true back with versioning and not a simple synchronization of a folder in a cloud service like dropbox.  Many a mistake have been made with sync pairs and cloud services!  That won't happen with backup and versions.
       
      Enable it and Back Up
       
      In your Synology DSM go to Hyper Backup. Install if you are not using it.  You would also use this app to backup to USB, Amazon S3, Microsoft Azure, etc.
      Select Synology C2 Cloud Backup.

       
      That should launch a login portal.  If you have used Synology services before and have a login you can use those credentials or create credentials right here.
       
      Start your free trial for 30 days but prices are still in POUNDS!  That's a pound symbol right?  If it was released to Europe why isn't it in Euros? I'm so confused.    (it is Euro Dave!  I had a brain fart on the Euro symbol.  See response post below.  Embarrassingly laughing at myself on this!)
       
      It's here where it wouldn't let me proceed last time I tried due to it being a limited trial to EU customers only.  You have to put your CC# in to get the 30 day free trial.  It says i'm in the Europe Frankfort market but the purchase went through.  So, does this mean if the US sinks into the Ocean and all my data goes with it, my photos will be in Frankfort safe and sound?  Sweet!
       

       
      This is the last web screen I see as it has now taken me back to Hyper Backup.

       
      I'm going to choose a small amount to get started with.
       

       
       

       
      I'm also going to limit the bandwidth of the backup and set Client Side encryption.  The encryption password box will allow you to use the Admin account password so you don't forget what you put here unless your Admin password is less than 8 characters.
       
      Once you are finished it will ask you if you want to backup now. I said now just to keep the network clean while I'm working but it will backup tonight.  Look at the screen shot below.  See the little arrow by Synology C2?  That is the link to the web portal.  It would be nice to see Synology integrate this into DSM so there isn't a secondary screen needed.  It would also be nice to have some choice as to where your data is being sent and to be charged a proper amount.  I'm afraid my bank might also charge me a fee for the Pounds to USD conversion.  I'll update the post when I find out.
       

       
      Here are the web portal screens below.

       

       
      That's it.  It works!
       
       



    • lordcroci
      By lordcroci
      Hi there!
      I'm new around here, looked for the presentation thread but haven't found any! 
      Anyway I hope to be able to contribute (as far as my newbie's knowledge will be useful )....

      Speaking about what I'm trying to do, I have this amazing microserver gen8, on which I have 2 3tb wd red as storage and an ocz 125gb ssd on 5° port.. Installed a couple of days ago mr. PROXMOX (I'm a complete newbie to it too ) and configured the xpenology 6.0 that runs amazingly!
      Now.. I'm just wondering which is the best option to configure a vpn (possibily openvpn) and from my inexperience I found a couple of options:
      - try a container with turnkey debian 8 OpenVPN
      - install ubuntu on a VM and setup openvpn
      - try the vpn server on xpenology
       
      or the least pleasurable
      - install openvpn on my windows 10 pc and leave it turned on in way to access the microserver through vpn.. 
      What do you think is better to do? Considering that I am a real noob and will need some guide or some tutorial (already googled something and Have found a lot of material on the openvpn site.. but honestly can't find so much about proxmox and vpn)

      PS: sorry for my english, but I'm italian and I'm still learning!
       
      thanks a lot!
      Lordcroci
    • Dave
      By Dave
      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.
       
       

       
      Prep
      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!
       
      Mobo BIOS
      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.
      No Cortana
      Uninstall everything that you don't need for mining.  No Candy Crush!
      Reboot it.
      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.
       
      Memory Lock.  
      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.
      Change
      Untick Automatic
      Select the drive
      Custom Size
      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.
      http://www.intowindows.com/how-to-automatically-login-in-windows-10/

      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.
      Reboot.
      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.
      https://mega.nz/#!8gZzjQaa!Dt4wE0WEo8nZkui_-cAAXL4mb4YlO6CJgFZTXKq9pnQ
      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.
      Reboot
       
      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.
       
      DDU it
      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.
      http://www.guru3d.com/files-details/display-driver-uninstaller-download.html
      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.
       
      GPU Time!
      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.
      Or
      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!
       

       
    • Dave
      By Dave
      Digging in a little more about what to report and what to tax.  This podcast below is a wealth of information for anyone that is holding a coin.
       

       
      http://pca.st/bd2Y
       
      Some items i have heard:
       
      Coinbase provided the IRS the information of anyone in their system with $20k or over in assets.
      Deposits to Coinbase via FIAT currency are not taxable events.
      Trade of BTC to Altcoin IS A TAXABLE event.
       
      Reply with concerns or take-aways from this podcast.
       
       
      *This is not tax advice. Consult a tax professional.


×