Sunday 27 December 2015

Building a PC: Mainstream and Upgradable - Part 1 - Components



When building a  system that you intend to upgrade in the future you need to consider the components that are easily upgradable and those that are not. The CPU/motherboard architecture are the basic framework on which you will build a system and  therefor will be the least likely components that you will generally want to be upgrading in the future. It is there for a good idea to choose the most flexible and performance focused CPU/motherboard combination when starting on planning a PC build like ours. Preferably planning on not changing these components in the whole upgradable lifetime of the system.

It is often possible to upgrade to a faster CPU in the future if it is compatible with your motherboard, but I feel it is often better in the current market to simply build a new PC with the latest CPU/motherboard architecture to take advantage of the newer feature that these systems provide. Since the upgraded CPU will likely not last as long if you demand high performance compared to the newer platform, and may not provide the desired performance even after upgrading.

In the following sections we highlight an example system build and some of the major decisions and reasons that each component was selected.




System Specifications

  • CPU - Intel Haswell i7 4790k
  • Motherboard - Asrock z97 Extreme6
  • GPU -  MSI GTX 970
  • RAM -  G.Skill Ares DDR3 1833 8Gb
  • Hard Drive/SSD -  Samsung evo 840 500gb
  • CPU cooler - Noctua NH-D15
  • Case -  Fractal Design R5
  • PSU - EVGA 750W G2 

 

 

Selecting Components

CPU 

We have selected the i7 4790k (4.0Ghz) which at the time of writing is the fastest processor available with the LGA 1150 architecture. The decision to choose this top tier CPU is primarily because we would like the CPU/motherboard combination to provide the performance we require and last as long as possible before needing to be upgraded or replaced by another system all together. This CPU can also be overclocked if the need arises for additional performance output. Keep in mind that your requirements for CPU performance can dictate your decision as someone looking for less CPU performance in multi-threaded workloads may be happy with the i5 4690(3.5Ghz) as an alternative, which is considered ideal for general work and gaming but does not support hyper-threading (which can offer up to 30% faster performance in curtain workloads such as video editing).


 

Motherboard 

The motherboard we selected for this build is the Asrock z97 Exteme6 motherboard. This was chosen to primarily be compatible with the CPU architecture and to provide upgrade options with current and future mainstream technologies such as SATA Express and M.2 support. It supports overclocking supported CPU's like the 4790k for additional performance when required. It has a PCI Express 16x slot for graphical adapters that will likely continue to take advantage of this technology in the next few years and also supports technologies such as M.2 and NVM Express for SSD's that are planned to be popularised mainstream in the next few years. This allows the system to take advantage of faster SSD's in the future if we plan to replace the current drive or to integrate additional secondary drives. The motherboard also provides SLI support so that in the future additional graphics adapters could be added to improve graphical performance.

 Note: Other CPU chipset architectures such as x99 and Skylane are not acceptable for this build as x99 is not a mainstream architecture compared to z97 and a premium is added on the price of the system. Also the possibility of upgrading due to component availability is reduced due to it being less mainstream. Skylane introduces new technologies such as ddr4 ram that currently is overpriced when compared to ddr3 ram as well as other components such as CPU and motherboard, without providing large performance advantages for the average system user at the time of writing. 


GPU 

The GPU selected for our build is the Nvidia GTX 970. The graphics industry sees fast performance improvements annually but for the price point the performance of this video card still cannot be beat even after being on the market for over one year. Currently offering the best value for money/performance. In the future it would be easy to either setup and additional 970 card in SLI when the price of the GPU drops or preferably replace the original card with a brand new equally impressive (in terms of performance per dollar) card in the future.

Of course you can choose a more powerful GPU if such as the GTX 980/980Ti if required or a less powerful GPU depending on your need such as a GTX 960 and if you are not interested in any gaming or 3d work then the you can save money and use the integrated graphics that come with the i7 4790k CPU.


 

RAM

8Gb of quality DDR3 ram from a company like Corsair or G.Skill is selected for our build. When comparing DDR3 ram there is a slight performance increase with increased clock speed in modern systems. Whether this is enough to pay extra is up to the buyer and his needs. 8Gb/ dual stick is fast becoming the standard and is the reason it was chosen for this system. If your system has free slots for ram it is easy to install additional ram in a future upgrade, for example to add an additional 8Gb for a total of 16Gb to our system, although it is preferred to install the same manufacturer and model as the ram previously installed, to reduce any performance and compatibility issue that may arise.

 

CPU cooler

The CPU cooler selected for our system is the Noctua NH-D15 cooler. When selecting the CPU cooler it is generally personal preference over the traditional fan coolers and the newer style water coolers. Generally the original CPU cooler or separately purchased fan coolers provide adequate performance for those not planning to overclock their system and also are less likely to cause serious damage to the system if they fail. Water coolers are preferred for keeping the system cooler for situations such as overclocking but are generally more expensive than fan coolers. The cooler was chosen for this system to provide the lowest noise possible while also providing excellent cooling even compared to more expensive water coolers.


 

Hard Drive

Really there is no reason not to purchase an SSD as your primary drive over a traditional platter based HDD as the price difference is shrinking at a fast rate and the performance difference of an SSD over a HDD is very noticable especially in modern operating sytems and motherboards, which provide excellent SSD support. Also it saves you having a headache in the future when you want to replace your HDD for an SSD, where transferring of data is required between the two drives.


PSU

The easiest way to select the max wattage power supply for your system is to use a service like PcPartPicker. You can simply input all your system components and the max wattage that the system will draw is calculated for you. This gives you a guide to search for a PSU that is within the range of your system. for our system a 600w PSU would be adequate but for future upgrading options such as adding additional graphic cards  for SLI and additional hard drives that will draw more power, a 750w PSU (which is the most common next tier higher PSU) would be preferred, hence the 750W PSU unit selected for our system. This PSU was also chosen for it's high quality and relatively quite noise under normal operating conditions.



 

Case/Fans

When selecting the case for your system it is important to insure that the case supports the size/type of motherboard that you intent to install. In our case the ATX motherboard is compatible with the case we have chosen. Also worth considering is to make sure that other major components such as the CPU cooler and PSU have enough clearance inside the case. Cases are chosen for may reasons such as aesthetics, flexibility, cooling and noise reduction, it is up to the buyer to decide which features they require more and to select a case that best fits their need. The case chosen in our system was the Fractal Design R5 and it was selected primarily for noise reduction and flexibility for future upgrades such as additional SSD drive bays and ability to remove/reposition unused bays inside the case to creating space for additional components . 

If you are considering overclocking your system in the future or are living in an area where the temperature can get high it is also worth considering installing additional fans for the case/system to help keep the system running as cool as possible, this should help with the longevity of all the components.




Purchasing Components

It is really handy to be able to search for PC components online and compare prices and purchase from sellers that you are comfortable.  Luckily it is becoming easier to find many websites that allow you to compare prices of components. These websites can really speed up your researching of components and comparing of prices between different sellers. Some of these websites worth considering include PcPartPicker, StaticICE, eBay and Newegg.

Note: It maybe worth importing some components from overseas if they are not available anywhere else or if the price is considerably cheaper, but it is important to consider whether or not the warranty of the component is valid in your region and if the delivery costs end up not saving you any money in the long run. For these reasons it is advised to do your research carefully before purchasing from overseas.





Alright guys and girls in this post we have covered some of the major issues to consider when selecting system components when building a system, which we would like to have the flexibility of upgrading in the future. In Part 2 we will discuss issues to consider when installing/building your own computer system.



Related Resources

sweet spot
http://techreport.com/review/28621/the-tech-report-system-guide-july-2015-edition/2 
http://techreport.com/review/28621/the-tech-report-system-guide-july-2015-edition/4

GPU:
http://techreport.com/review/28612/asus-strix-radeon-r9-fury-graphics-card-reviewed/10
http://techreport.com/review/29316/amd-radeon-r9-380x-graphics-card-reviewed/10

SSD:
http://hexus.net/tech/news/storage/88502-contract-price-ssds-fallen-10-per-cent-4-quarters-row/
http://www.gizmodo.com.au/2015/12/ssd-prices-are-plummeting-say-good-bye-to-hard-drives/

PSU:
https://pcpartpicker.com/
https://au.pcpartpicker.com/

Case/Fan:
http://www.ocinside.de/review/fit_for_fan/

Purchasing:
www.staticice.com
www.staticice.com.au
www.ebay.com
www.ebay.com.au
www.newegg.com
www.newegg.com/global/au/ 




Friday 16 October 2015

Timehack 101 - Automated Folder Backup To Dropbox



Every thought to yourself - 'hey me, looking good today, my life is great but I only have one problem, I wish I could setup my system to automatically backup a folder on my hard drive to my Dropbox account', well you are in luck because today I will guide you step by step on how you can backup a folder full of whatever (photos, documents, source code, other folders)  at a period of your choosing (daily, weekly, next lunar eclipse) on system start up.



Requirement

  • Windows OS XP or newer (Tested on Windows 10)

  • Dropbox software/account (Link) (Tested on v3.10.7)

  • WinRAR/7zip software to archive folder (Link / Link)

  • Internet connection for syncing to cloud



Setup Dropbox

Lets begin, first thing we need to do is download Dropbox and install it onto your computer system. Next we need to create a Dropbox account and make sure it is working so once you have installed the Dropbox software check that a new folder is created in the following location and the Dropbox website allows you to login and browse your newly created Dropbox account files using a web browser.
 C:\users\<username>\dropbox   
The Dropbox sync folder location on my system is shown above where <username> is replaced with your computer username, this will be used later on when we create the bat file below.

We also need to disable Dropbox launching on startup by itself so to disable Dropbox startup right click on the Dropbox tray icon, click the options wheel icon and then preferences option. In the Dropbox preferences window under the general tab uncheck the 'start Dropbox on windows startup' option. The reason for this will be explained fully in the section below when we create the bat file.



Note: Other cloud services could be used instead of Dropbox if they have a similar folder syncing application.



Install WinRAR

Next step is to install a file compression software. The most popular commercial one right now is WinRAR but the free alternative 7zip should work just fine. Please note that the examples below are for WinRAR and 7zip examples will need to be created on their own by the reader. Helpful links are provided below for this purpose.



Create Windows Bat File

Next we need to create a windows script /bat file that will be run every time (or other period of time) your computer starts up. Bat files contain commands that are understandable by our operating system(Windows) and they allow it to perform tasks for us among other things when the file is run.  Our bat file starts the Dropbox application, waits for the application to load up correctly then compresses your chosen folder into a zip file and copies this zip file into the Dropbox system sync folder.

For simplicity lets assume we have a folder in our c: drive called myDocs and we would like to make a backup of this everyday to Dropbox. We now need to create a bat file which for convenience we will create in c: drive as well. This file contains the information for running our compression software and creating the zip file from our myDocs folder and then copying this file to our Dropbox folder.


 

The text below is the complete contents of the Bat file that we need to create on our system. Copy this into notepad, make the changes mentioned below to suit your username and applications installed locations and save this file to an ideal location such as C:\mybatfile.bat. When saving this file make sure that the file name includes the .bat extension at the end of the name and the save as type option is changed from text documents to all types.
 @setlocal  
 @echo off  
 set path="C:\Program Files\WinRAR\";%path%  
 start /d "C:\Users\Manu\AppData\Roaming\Dropbox\bin" Dropbox.exe  
 timeout /t 30  
 winrar.exe a -afzip -ibck -r c:\Users\Manu\Dropbox\myDocs.zip c:\myDocs  
 echo done  
Now lets take a closer look at what the important lines in the bat file do and what we need to change to customise it for your system.
  set path="C:\Program Files\WinRAR\";%path%   
Set path lets windows know where to look when we use a command, in our case the WinRAR.exe file. Check where WinRAR was installed on your system and copy the full path of the folder here. In the case above WinRAR is installed in C:\Program Files\WinRAR folder but it maybe different on your system so make sure you check where WinRAR is installed on your system and change the location in the bat file if necessary.
  start /d "C:\Users\Manu\AppData\Roaming\Dropbox\bin" Dropbox.exe   
 timeout /t 30   
Remember above we disabled the Dropbox application starting up when our computers starts, well we did that so that we could start Dropbox by ourselves using the bat file. This insures that Dropbox had started before we copy our zip file into the sync folder and the files are synced as soon as possible to the cloud. The two lines above are to start Dropbox and then wait for 30 seconds till Dropbox has finished loading up on our system.
The location of the Dropbox application is C:\Users\<username>\AppData\Roaming\Dropbox\bin on my system, you will need to change it to the location on your system by changing <username> to the username on your system. It is recommended that you check to make sure that the dropbox.exe file is in that directory on your system using windows explorer to avoid any errors/problems.
 winrar.exe a -afzip -ibck -r c:\Users\Manu\Dropbox\myDocs.zip c:\myDocs   
This final line is the most important line as it is where all the work is done. We start WinRAR and tell it to zip the second specified folder location (C:\myDocs) and to copy this zip file to the first folder location which if your remember in the section above is the folder Dropbox created for us when it was installed. In my case this is C:\Users\<username>\Dropbox, this will be different on your system and you will need to change the <username> to the username you are using on your system. We have also specified the name of the zip file which in my case is myDocs.zip, you can change this to whatever you like as long as the .zip extension at the end is not changed i.e. importantfiles.zip, 123.zip, backup.zip.
a -afzip -ibck -r
To find more information on what each of these 4 parameters mean please follow the provided links at the end of the post.

Note: You can test the bat file by double clicking on it in the windows explorer where it is saved, it should create the zip file and copy it into the Dropbox sync folder.


Add New Task to Task Scheduler

Finally the last step is to create a windows task that is run at our preferred time. Most modern Windows operating systems including XP, 7, 8, 10 and newer  support task scheduling facilities. This allows for basic all the way up to advanced tasks to be scheduled by the user for whatever purpose they see fit. A quick step by step list of how to create the task is presented below.


Steps:

  • Start the task scheduler from the control panel under Administration tools.
  • From the Action menu select 'Create Task'.
  • Under General tab give this task an appropriate name and check 'run with highest privileges'.
  • Under Triggers tab click New and in the New Trigger window under 'Begin the task' select 'At startup'.
  • Under Actions tab click New and in the New Action windows 'Action' should be set to 'Start a program', click browse and browse to the location where you saved your bat file and select it (C:\mybatfile.bat in my example above).
  • Check that our newly created task is shown on the main task scheduler window under 'Task Scheduler Library'.


Once this final section is completed and the task is created all we need to do is restart our system so that windows can run our task/bat file and create our new zip file for us. If you have any problems write me a message below and I will try to help.

Now that you have successfully solved this problem and cast this distraction out of your life for good, you can go back to the more important things in your life like admiring your own reflection and other things that make you feel good for short periods of time.



Related Resources:

WinRAR command line information
http://comptb.cects.com/using-the-winrar-command-line-tools-in-windows/
http://acritum.com/software/manuals/winrar/
http://en.helpdoc-online.com/winrar_4/source/html/helpcommandlinesyntax.htm
http://en.helpdoc-online.com/winrar_4/_command_line_mode.html

7zip command line information
http://www.dotnetperls.com/7-zip-examples
https://sevenzip.osdn.jp/chm/cmdline/

How to create a bat file
http://www.wikihow.com/Write-a-Batch-File

General
https://www.organicweb.com.au/15111/general-technology/windows8-batch-backup/
http://codeformatter.blogspot.com.au/