Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts

Wednesday, 18 January 2012

Graphics Card Overclocking

Overclocking a graphics card is a great way to unlock higher framerates. In many cases, you are able to increase the performance of a GPU to that of the next better model. For example, AMD 6950 uses, basically, the same hardware as the 6970, just with a couple parts on the GPU core disabled and it's at lower clocks. Well, if the hardware is the same then it should be able to hit the same clocks as the 6970, right? In many cases, this is true. For example, the AMD 5870 has a stock clock of 850 mhz, while I'm able to get my 5850s to 870 mhz on stock voltage. Looking at the hard data, a 5870 has a 68 Gigatexels/second fill rate and a 153.6 GB/sec memory bandwidth. My 5850s are at 62.6 Gigatexels/sec and 153.6 GB/s (from GPUZ). At the same time, brand new, my cards were $150 cheaper. Pretty good argument for overclocking, no?

A word of warning: As much as overclocking is supported, it is not officially supported. This means that should you damage your card and send it in for a replacement, and the support tech staff is able to determine that you overclocked your card, then your warranty is void. OCing through software makes it very difficult for them to determine this, whereas a flashed BIOS makes it extremely easy.

Ok, so, regardless of why you want to overclock, let's get into the basics of it.

Key Terms


Core means the actual GPU core, where most of the magic happens. The speed, in mhz, that your GPU core is running at is going to greatly affect the texture and pixel fillrate performance, which is a huge bottleneck in gaming.

I'm not paid for complete testing ;)
Memory (VRAM) is where textures are stored as well as rendered frames. There are plenty of performance benefits to having a higher memory speed, considering that pretty much everything you see on screen is at one time in the memory.

I ran some tests on FurMark, at 1920x1080, showing how both core speed and memory speed can affect performance. As you can see in the graph, the framerate went up as the memory speed increased, with barely any change from core speed. It is important to note that this particular test was run using 4xMSAA. I also did some tests at 0xMSAA in FurMark, and it showed that only core speed had an improvement. Basically I just want to point out that for optimal overclocking, you need to focus on both memory and core speeds.

Voltage is what gives you stability. As the core speed increases, it may need an increase in voltage to remain stable, much like in CPU overclocking. Most higher end GPUs allow voltage modification, however, not all GPUs allow this. In some cases you might be able to also modify the VRAM voltage, but this is fairly uncommon. If you can, then in much the same way as core voltage, it can help you achieve higher clocks.

VRM is the Voltage Regulator Module. This is what adjusts your input voltage to that going into your GPU. These are very prone to over heating when overclocking, especially if you increase your voltage. 

How To Overclock

MSI Afterburner
The first things you'll need is a program to adjust GPU clocks. AMD offers Overdrive in the Catalyst Control Center, and many manufacturers offer their own tweaking programs, like Sapphire Trixx, MSI Afterburner, and EVGA Precision. Personally, I use Afterburner - with my Sapphire cards. It is probably the best all around program, and the only reason not to use it is if you have non-reference, non-MSI cards and want to adjust the voltage.

GPU-Z Sensors
You will also want to download something to monitor your cards. Afterburner takes care of this, but you should also consider getting GPU-Z because it monitors more than just the core temperature. In most cases, you will also be able to see your VRAM and VRM temperatures as well. Ideally your temps won't surpass 80-90C at the absolute most. For my 5850s, I found I would get a hard system crash or lockup when VRM or VRAM hit around 120C, although my core temperature was still in an acceptable area - so keep in mind that you should check on those temps too.

Before you start, make sure that you do NOT have "apply overclock at startup" selected!

The basics of GPU overclocking are very similar to CPU overclocking. Personally, I recommend starting with Memory clock because it gives nice gains and often isn't affected by voltage - since usually you can only change core voltage. To overclock the memory, I like to start with 50mhz jumps, with 5 minutes of FurMark testing at 4xMSAA at full screen - also, let the cards stay heated up a fair bit rather than giving them a long cool down time between tests. You may want to set up your tests using the benchmark feature. Continue this until you get either a lock up, crash, artifacts, or the screen goes blank. Doing a hard reset on your PC isn't fun, but it shouldn't wreck anything. I usually find that ctrl+alt+del still works and you can reset from there.

FurMark stress test
When running your 5 minute benchmark tests, you will get a score at the end. As you increase the memory speed, you should see an improvement to the score. However, at some point even if you don't get a crash or lockup, you might notice your score either didn't increase, or worse yet, decreased. This is a vital thing to notice. The reason for this, as I understand it, is that GDDR5 memory - that is, the most common memory used for GPUs - is meant to be crash resistant. It does this by being able to resend data that failed the first time due to being unstable. In this way, if you are nearing the point of crashing, leading up to it the VRAM will need to resend data repeatedly, and therefore it will reduce performance compared to every piece of data being sent only once. Therefore, if you notice this occuring, slowly reduce your clocks by 5mhz until you realize the highest score.

Moving on to GPU core overclocking, the process is much the same. You can still start with 50 mhz jumps, but with the testing you should run at 0xMSAA in FurMark. Also try to keep temperatures high throughout the testing phase.

The most common issue of an unstable core is artifacting. This is when pixels essentially get stuck, and you'll notice multiple squares on screen that don't sync up with the image. At this point you will want to stop the test and will also have to reboot the PC. You have a choice here, either to reduce the clock or else increase the voltage. For 24/7 overclocks, I highly recommend reducing the clock and finding the highest stable clock on stock voltage. However, if you want to increase the voltage, I suggest doing it in 0.05V increments. Basically just increase the voltage and retest at the same clocks, and repeat until stable. It is also vitally important to watch all your temperatures, because as I mentioned before, it's possible that you crash because of heat and not instability.

Extra Info

There are, as always, a few other things to consider. FurMark isn't perfect in determining if your GPU is stable. I've passed fairly long sessions in FurMark, as well as a few games, before finally having an issue in one specific game. It didn't take long to realize that my GPU OC was to blame, and dropping my memory clock by only 5mhz made it nice and stable from there on out. So, actually playing games will be your final stress test.

If you run crossfire or SLI, there might be issues with instability. Generally it should be ok, but I've read about issues with crossfire that has to do with the switch between low power and high power, and only occurs when a custom voltage is set. It seems the way around this is to disable ULPS, which you can google for yourself.

Another area of problem is that sometimes after an overclock is applied, the graphics cards won't automatically change to low power state at idle, or else the idle state clocks are higher than they used to be. This is something that is at the mercy of people making the overclock programs, and the only way around this (and other) issues is to manually reflash your GPU BIOS. This is not a recommended practice, but I will just put here that if you have a very stable overclock, it is a handy thing to do because your GPU will essentially think that the overclock settings are it's default settings, so it behaves like a totally stock card. There are tools for changing and flashing the BIOS, and for more info check out techpowerup.com.

If you have concerns about your particular brand or model of graphics card, just google your card and key terms like "overclocking" "highest clocks" "stability" to find a variety of sources. I always advise learning as much as you can before doing something you don't quite understand, and causing damage.

Thursday, 12 January 2012

PC Maintenance - Performance Tips

Hard Drive Performance


Hard Disk Drives (HDD) are so often neglected. In the vast majority of PCs - essentially every PC without a Solid State Drive (SSD) - the HDD is one of the slowest components and also one of the most susceptible to break downs and issues. HDDs are meant to run for many years, which should easily cover the lifetime of a PC, but that doesn't mean you can just keep downloading movies, music, pictures, and games and expect it to be as fast and stable as ever.

The first thing I'd like to cover is read and write speeds. A HDD is a physical disk, like a small DVD that can hold significantly more data. HDDs therefore have to spin, and also have a "head" that moves across the surface to read data (ever see an old record player?). So, if a disk is spinning at a constant rate - usually 5400 or 7200 RPM - you have a situation where the larger outer portion of the disk is traveling faster than the inside. If you think of the disk as a bunch of circles, the circles will get small as you move to the middle - yet they each do a full rotation in the same amount of time. More distance traveled in the same time means it's going faster, right?

Ok, so what that means to you, the user, is that data stored on the outer portion of the drive is able to be accessed a lot faster. When you get a new PC with Windows installed, Windows itself reserves about 100mb on the outer most portion for fast access, plus all the main files are stored right next to it. As you start to add new programs they are taking up room on the outer portions, and eventually you wind up with 75% of your drive full and your newest program runs like crap because the data being accessed is taking so much longer.

The fix for this is to start using Partitions. Essentially, Windows will divide your HDD however you want and then it will consider each partition a separate drive. In this way you can store movies, images, and other things that are not dependent on speed on the slower half of your HDD, while leaving the faster half for all your programs. This is done through Administrator Tools in your Control Panel, but I suggest you do a little searching about it first to see if it's right for you.

Driver and Chipset Updates


Everything on a computer has some instructions in the background telling it how to behave. It's important to make sure these instructions are up to date, because if something comes around telling your computer to do something that it doesn't know how to do, there will be problems.

The most common driver that needs to get updated is the graphics driver. A new version is usually released every month or two, occasionally with hotfixes in between. Generally speaking it isn't vital to update every single time a new driver comes out, however, if you are planning to play a brand new game, there is usually a driver update near the release date that will improve gaming performance. For more info on driver updating, please see this blog post.

Aside from that, there are other things that occasionally need updates. If you have a new PC, one of the first things you'll want to do is update the chipset, which can increase performance and stability. The chipset deals with SATA (HDDs), USB, PCIe, LAN, etc.

Intel Downloads Page
AMD Downloads Page

Another update that can help with performance and stability is your motherboard BIOS. This is almost like a driver for your motherboard, so it handles things at the electrical level. All you need to do is go to your motherboard vendor's website and search for your model of motherboard. Usually under Support or Downloads, you can find the latest BIOS. Some vendors like Asus even have a BIOS update utility you can use that makes the process much simpler. If this is not available to you, you might want to search some "How-Tos" on the process.

There are a few programs that help find and update drivers for you. I used Driver Detective for a while. I found that it was pretty good at finding when updates were out, but it sometimes didn't actually apply the updates properly. Last time I used it, you were able to search for outdated drivers without a purchase. This can be useful, and then you can search out the driver updates yourself.

Windows also has regular updates and occasional Service Packs. You should always try to keep your PC as up to date as possible, but remember to have those restore points enabled just in case something goes wrong.

Moving My Documents, Videos, and Pictures


Related to keeping the fastest part of your HDD free of files that are not affected by performance, you might want to move where Windows defaults all your saved documents. By default, it is inside your User folder, which is on your C: drive. If you create a partition for media, or even have a separate hard drive for it, then you'll want to make Windows aware of a new default location.

Microsoft's Guide to Moving My Documents

On top of this guide, you can go to your Libraries option in Windows Explorer, right click it, and go to properties. You can then add multiple folders to each library as well as set a default.

Cleaning Up the Crap


There's often a lot of junk that gets installed on a computer, often by accident. One that is extremely easy to miss is when you install new programs, many of them ask if you want to install their "toolbar". Generally, these are toolbars for your web browser, but if you skip through the install process it's easy to hit Next without seeing that it automatically selects to install the toolbar. While they seem innocent enough, after you get a few toolbars installed it can have a mild to severe negative impact on overall system performance, depending on the PC. If you're unsure how to uninstall them, use google.

Many PCs - particularily "brand name" ones - come with a bunch of software installed. There is a specific name for this software - bloatware. In the vast majority of cases, the software is useless crap. You should open them up to see if they are at all useful, and if not, uninstall it. Sometimes they seem useful, but in fact only take over a function that your computer/Windows already has - for example, back up and restore.

Also, if you look at the icons in your System Tray - these are all the icons next to your clock in the Windows Task Bar. You'll probably find that there are a whole bunch that you have no idea what they do. Every time you turn on your PC, it has to load all these different programs that take up time and memory. Most of the time, you can select to not start the program at Windows startup. For more on this, read here.

In combination with my tips and advice on PC maintenance, you should now be able to keep your PC in a good working condition without dramatic slow downs.

Wednesday, 11 January 2012

Computer Maintenance Tips and Advice

It seems like just about everyone has a computer, but for the most part, relatively few understand much beyond on/off, open web, facebook, twitter, etc. I was once like that, maybe a little more knowledgeable. I gamed on my PC and could Google (or Yahoo back in the day) most issues I had. It is important to be able to resolve some basic issues on your own, but what I'd like to cover here is a few tips on how to avoid having issues from the start.

Protect your Computer


Credit http://news.discovery.com/tech/first-human-infected-with-a-computer-virus.html
Anti virus software is extremely important. You don't need to spend $80 a year on Norton, but you should definitely purchase something. PCs are vulnerable to a multitude of attacks, whether from emails, websites, malicious programs, or direct hacking attempts. Having a good anti virus installed will remove a lot of headaches, and generally don't impact performance much if at all.

There's some free anti virus programs out there like AVG and Avast! and Windows Security Essentials, there's also ones you pay for like Norton, McAfee, and F-Secure. I use the latter. If you are a student, chances are your school will provide either a free or a discounted anti virus program. If not, perhaps you can get a deal through work. Keep in mind that the free anti virus programs may need to be used together, with programs like Malwarebytes and Spybot.

List of Windows 7/Vista/XP security software

Keep Backups


The risk of losing everything on your computer is not huge. However, what if it were to happen? What if you lost all your home photos and videos? Maybe you have school work, or business work, on your PC. It's probably not worth risking.

One option you have is to use online backups. There are "cloud" services that offer online storage. You can always upload your photos to somewhere like photobucket, but it's probably faster and easier to just maintain your own personal backups.

Info for Windows 7 users: Backup and Restore

Another great feature is Restore Points. These are backups of only critical items like your registry, so they aren't huge files, and they save every time you install something new. In this way if you find suddenly your PC is acting weird, you can restore it to a point maybe a few days or a couple weeks earlier, when it was still fine.

Hard Drive Maintenance


At least on a monthly basis run a Disk Defrag program. Windows comes with one by default, but according to a fairly thorough benchmarker, MyDefrag appears to be one of the best. After you delete a few items of your computer, it will leave empty spots on your HDD. Eventually you'll install something else, and pieces of it will get stored in all these different locations. This means accessing a fragmented file can take a long time, because instead of a fast sequential read, it will be more of a random read as the head needs to constantly move around to read each little piece of the file. Note that HDDs are built to run for millions of hours, a defrag operation isn't any worse than what happens when it is fragmented, and shouldn't impact HDD longevity. There is a sidenote: this is not applicable to Solid State Drives, which should never be defraged.

A great review on the Impact of Disk Fragmentation

Another important thing to do at least every few months is to run a scan disk. Once you set it, you will need to reboot and then it will scan your HDD after the intial boot screens. What scan disk does, is it looks for sector errors on the HDD and either recovers them or essentially "removes" them so that data isn't put into a bad sector. Sometimes a bad sector can cause a lot of stability issues. Scan Disk is found in your System Tools (Start Menu > Programs > Accessories > System Tools. Please be aware, if you start getting bad sectors, the problem usually will get worse and worse until your drive is completely useless. If this is the case, please go get a new HDD.

Clean your System


You should consider deleting and uninstalling anything you don't use regularily. If you have a huge amount of photos and videos, consider burning them to a DVD or external drive and free up HDD room. This can also help improve performance, as HDDs slow down the more full they are.

Windows registry is a vital part to a stable PC. It contains key values for every single thing installed on your PC, and then some. It is in many ways at the very core of your PC's performance and stability. Eventually, a registry will get full of clutter. I use a program called CCleaner to keep my registry free of junk. This program is also good for finding other clutter on the HDD, like temp files. You shouldn't clean your registry all the time, but even every other month is good. Keep in mind that this can cause issues, too, so please at the very least make sure you're backed up and also save the registry before cleaning (via the prompt).

You can also go into your System Tools and run the Disk Cleaner which can find some of the junk left over. For example if you install a Windows Service Pack, you might have a couple hundred megabytes occupied by a "ghost image". Essentially this is a redundant backup - you may wish to keep it for a couple weeks after updating to a service pack, but otherwise it's just taking up space.

I would also suggest if you need to reinstall a program, do what you can to uninstall the old one/old version and remove it from your system. Sometimes left over traces of a program can really mess with a new install. With regards to graphics drivers, see yesterday's post.

Some programs, when uninstalled, like to leave traces outside of the registry - traces that use up sometimes precious hard drive space. You can manually hunt these down, typicall within the install location as well as in C:\Users\yourname\AppData or under C:\ProgramData - both of these files are typically hidden. An easy way to find them is to run a search. Alternatively, a program like Revo Uninstaller can be extremely useful.

Clean your PC


Credit: i264.photobucket.com/albums/ii184/3Z3VH
After a few months, a PC will be dusty. There is usually at least 1 fan inside a PC case to move air in and out which means dust is being sucked through the case. Fan filters can help slow this down, but dust gets everywhere. At least every 6-12 months you should open your case and clean it out.

CPU coolers and graphics cards have fans and heat sinks, which are very prone to clogging with dust. If the heat sinks get clogged, the cooling performance is greatly reduced and you end up over heating. I've personally killed a graphics card this way, and it's pretty common for people to neglect this simple thing.

To clean the inside of your PC you'll ideally use a compressed air duster. Simply blast away the dust. You'll need to be careful when blasting the CPU and GPU coolers, because you don't want the fans to spin up or they actually create a voltage. If a heat sink is especially clogged, you may want to use an old toothbrush. You should not use a vacuum directly on PC hardware because it can generate a large electro static charge, and if it discharges into your PC it can break hardware. You can keep a vacuum nearby to suck up the dust, just don't let any bare metal touch the PC. If it is very dusty, you might want to just take the PC outside where you won't need to worry about the dust kicking up. Also, if very dirty, you may have to remove parts from the PC, including taking fans off the heat sinks, to really get it clean. To avoid all this hassle, just clean it out more often.

This is just touching the surface, I'll be writing a few more maintenance posts in the future, the next one will have to do with keeping system performance up.

Wednesday, 4 January 2012

AMD Radeon 7970

AMD Radeon is releasing it's latest and greatest GPU on January 9, 2012. There is already many reviews out for it, and it's worth checking out more than one to get a good sense of how fast and powerful this $550 card really is.

But, in my humble opinion, this is probably the best review I've seen yet. It goes over the architecture in extreme detail but also makes it understandable, and then in the benchmarking they are extremely thorough. They are using a new way to represent GPU power that I have not seen anywhere else, where they actually record frame render times, which gives a good indication of any stutters you might experience in a game, even if you have a high average framerate.

Read it here: Tech Report's 7970 Review

Update: Jan 9/2012

Another awesome review featuring a ton of games as well as Crossfire performance:

TechPowerUp 7970 Crossfire Review