Overclock your Raspberry Pi - Squeeze more power out of your $35 computer

 by aeszok
Featured
2012-09-19 12.19.20.jpg
After recently purchasing my Raspberry Pi, I found many of the Linux distros to be slow and often sluggish. Unless you are using it as a pure media centre, you'll definitely want to try this method to make browsing the web and typing up documents a smoother experience. This method is totally free, involves no soldering and, if you stick with clock rates and don't tamper with the voltage, doesn't even void your warranty. I am in NO WAY an expert, especially with hardware, but this is very commonly done among the Raspberry Pi community and reasonably safe as long as you follow the instructions well.
 
Remove these adsRemove these ads by Signing Up

Step 1: Requirements

notepad++.png
You won't need much for this to work, unless you really want to push the Pi to its limits.

 - A Raspberry Pi
 - A Windows PC with Notepad++ installed http://notepad-plus-plus.org/download/v6.1.8.html
 - A small heatsink and thermal paste (If you're going to go past 750 or 800mhz)

The heatsink can be bought from Jaycar (if you're in Australia) or Radioshack (If you're in America) or where ever else you can find a  Pin grid array (PGA) heatsink. http://www.jaycar.com.au/productView.asp?ID=HH8580
1-40 of 41Next »
jeffeb3 says: Sep 19, 2012. 10:21 AM
1) should that be gpu_freq?
2) Can you edit it with the pi itself, then reboot?
aeszok (author) in reply to jeffeb3Sep 19, 2012. 6:02 PM
Yeah sorry, ill fix that, and you can as far as i know, in fact its probably faster doing that, i just thought people are more comfortable in a windows environment
ryan_carins says: May 11, 2013. 8:52 PM
you don't need heat sinks at all as the chip can take the heat of 85 Celsius i think so its pointless
jrg3ni0us says: Mar 16, 2013. 2:00 PM
I'm not super familiar with Linux (especially Raspbian) but don't you need to put "sudo" in front of any command unless the user has sudo privileges?
nerd7473 in reply to jrg3ni0usApr 13, 2013. 1:00 PM
not sure you could ask that question on this site or google it. I have a Raspberry Pi and i use sudo every now and then for commands but I am still not sure.
nerd7473 says: Apr 9, 2013. 3:45 PM
Will it make the internet and games run faster?
jcksparr0w says: Oct 5, 2012. 12:49 PM
This make me think a bit more. I'm thinking you should liquid cool the rasberry pi so it will work even better. it looks to me like the most practical computer to liquid cool. Small, Easily containable, it seems perfect
aeszok (author) in reply to jcksparr0wOct 10, 2012. 2:52 AM
Um, liquid cool the rasberry pi? I don't see how that would be practical, or why it would be necessary at all, but I suppose it would be a nice project.
Nick_de says: Oct 8, 2012. 7:30 AM
For a nice set of 3 heatsinks go here:
www.etsy.com/shop/nhslzt
ellisgl says: Sep 28, 2012. 6:15 AM
Don't forget the heat sinks! https://tindie.com/ellisgl/raspberry-pi-copper-heat-sink-kit/
maroelawerner says: Sep 27, 2012. 2:59 PM
Just go to the official Raspberry Pi site http://www.raspberrypi.org/ and do it the approved way.
franson says: Sep 20, 2012. 4:32 PM
cpu is faster and faster, bottle neck is not only cpu freq but also memory etc.
a10 solution called uputer is faster:
http://www.quickembed.com/Tools/Shop/Solution/201208/260.html
aeszok (author) in reply to fransonSep 24, 2012. 4:07 PM
If you read through it, the instructable shows how you can increase the SDRAM and GPU frequencies, I didn't go into great depth with those because I'm unsure how far you can push those up. As far as the bottleneck situation goes, I really don't think that the RAM is much of an issue, and the GPU only gets pushed up by smaller increments. You only have to look at dedicated chips to see the difference: An intel i5 3570 can be pushed from 3.7Ghz to 4.5 with a nice cooler, but the highest you can push most graphics cards is only 50 to 150mhz as they operate differently . The same goes for the SDRAM, normal RAM can only be clocked up by about 20 to 50mhz.
mbainrot says: Sep 24, 2012. 12:59 AM
Great instructable, would definitely considering doing this to my raspberry pi.

Just a side note is that the pin grid array heatsink shown has a 5.9°C per watt thermal resistance, that means the device will be 5.9 * thermal power above ambient.

Whist it will prob do the job when I do this I will definitely monitor the device to insure the temperature doesn't get above 85°C
aeszok (author) in reply to mbainrotSep 24, 2012. 4:00 PM
Thanks for clarifying that, I don't think you really need the heatsink at all if you're going to go to just 800, but I like to have something there because I'm a bit paranoid, especially at higher frequencies.
Also, as some of the other comments have pointed out, the day after I posted this the newest version of Raspbian was released and includes adaptive overclocking which is faster and much more efficient that this method. It overclocks both the voltage and the frequency, but as far as I know it only works with Raspbian, and I like to use XBMC with mine to use a media centre, so it's still relevant somewhat.
Computothought says: Sep 20, 2012. 1:54 PM
I have been waiting months and still do not have one yet. Credit card is ready. Wish I could get one to show what really can be done.

Most of the people I see doing linux demos for the raspberry, really do not know how to use linux in the sense of a lean machine. The early distros for the raspberry were not optimized for that unit. They are beginning to come out now. There is also allegedly ways to overclock the Raspberry Pi as seen from an earlier comment.
Eirinn in reply to ComputothoughtSep 24, 2012. 3:35 AM
How odd... I ordered mine from a Danish distributor that gets them from element14 and I had mine after 2 days....
Computothought in reply to EirinnSep 24, 2012. 12:49 PM
Ours are finally in transit.
aeszok (author) in reply to ComputothoughtSep 21, 2012. 5:43 PM
I have found that element14 is much faster than RS.
I also totally agree with your statement that there have been no truly optimized linux distros for RasPi, although Raspbian seems to be getting better. It is true that the newest version of Raspbian offers dynamic overclocking, and manages voltage and frequency much better than this method without voiding your warranty, although it was not available at the time of posting.
I also don't like the idea of using the Raspberry Pi as a fully blown computer - it simply wasn't designed for desktop use. Rather, I like to use it as a torrent server or a home media player with XBMC, but if I had the knowledge I would most certainly use it for more advanced purposes, such as hacking other devices with it.
darrennie in reply to aeszokSep 23, 2012. 12:35 PM
I would agree, I bought mine ( living in Canada) from Element14 in July and had it with in the month.
Computothought in reply to aeszokSep 21, 2012. 6:38 PM
RS sells the rpi?

Installed xmbc on my desktop and the latest version seemed to do tracking of your media choices. I will have to check it out again to be sure. A real cop-out for an open source project.

I use the nslu2 as a daap compatible music server. It is a fraction of the power if the rpi. You do not have to use the gui to use a linux box as a regular computer. Speeds it up dramatically. There are a ton of text based apps. Supposedly there is a optimized debian for the rpi now/ Another new distro has come out for the rpi that usually been very optimized. Can not wait to try it.

If I use torrents, it is to download a free open source linux distros. Generally I use wget in the background to download stuff. Torrents can be very slow or even not available unless the download is popular.. Really do not waste bandwidth for media excepting open source training media.. it can stay on the web so my drives do not get clogged up with that stuff. . I just get out my gitbox for some live music if I want to hear something. have recorded some of that though. .
Instructable_James says: Sep 24, 2012. 9:15 AM
I bought mine in February and received it in June. LOL
oshondrom says: Sep 23, 2012. 7:49 AM
What is the limit?
Also, nice little project!
Cheers!
aeszok (author) in reply to oshondromSep 23, 2012. 4:14 PM
Without upping the voltage, which I don't show here, you can get to about 900 or 950. You can also up the frequencies of the SDRAM and the GPU but I'm not really sure about how high you can get those. I would now recommend downloading the newest version of Raspbian from the Raspberry Pi's website - It includes dynamic overclocking up to 1Ghz in the latest version.
Nxtfari in reply to oshondromSep 23, 2012. 8:52 AM
As far as I know, 1 GHz is as far as you can take it without voiding the warranty. But hey, if you're down to take it further, the sky's the limit.
MK3424 says: Sep 23, 2012. 3:03 PM
no need now they have introduced the turbo mode:http://www.raspberrypi.org/archives/2008
elizle says: Sep 23, 2012. 1:51 PM
You can do this by running raspi-config in Raspbian "wheezy"
Slayertaz says: Sep 20, 2012. 1:44 PM
Does anyone know if we can still buy & if so could you provide where?
craigthecoder in reply to SlayertazSep 23, 2012. 10:23 AM
Adafruit has had some recently....in fact, they were giving away a "free" one with each purchase over a certain amount. At any rate, I managed to pick up 7 altogether though I only directly paid for 5. They had 85 in stock as of a few days ago. I don't know what their replenishment schedule is over there, but I definitely like working with Limor, Phil, Becky, etc. over there. They are doing a lot of innovation around expanding the Pi's capabilities and even have their own much-more-hacker-and-regular-user-friendly distro they've released.
clinzey says: Sep 20, 2012. 1:09 PM
WOW guys it takes a while for you all to get them i ordered mine on friday and got it on tuesday
Stephenverstraete in reply to clinzeySep 21, 2012. 10:16 PM
In Belgium it takes about 17 weeks waiting period:( i'm now in week 7...
Stephenverstraete says: Sep 21, 2012. 10:15 PM
waiting time in Belgium is about 17 weeks, i'm now in week 7 I guess...:(
AndyGadget says: Sep 19, 2012. 8:24 AM
 
Look what's just appeared on Raspberry Pi News - literally an hour ago!
(I'm still waiting for my Pi #;¬(
aeszok (author) in reply to AndyGadgetSep 19, 2012. 6:04 PM
Oh wow, thats fantastic, but makes mine pretty irrelevant. And depending on where you are, it takes about 3-4 weeks generally. It took me 3.5 weeks in Aus.
AndyGadget in reply to aeszokSep 19, 2012. 11:48 PM
 
I've been waiting since early July and I'm in the UK!!!
I placed my order with one of the original suppliers (RS Components) but they are appearing in stock elsewhere now so I may well cancel that and go elsewhere (but now selling for a fiver more).
aeszok (author) in reply to AndyGadgetSep 20, 2012. 3:32 AM
Have you contacted them? by phone is generally best, because you can put them on the spot, but most companies will often respond and check your order after an email.
AndyGadget in reply to aeszokSep 20, 2012. 4:43 AM
It's just the way the pre-ordering worked - I was thinking I'd get one earlier before they started supplying distributors, but it hasn't worked out that way.
I'll cancel today and order from somewhere with them in stock.
aeszok (author) in reply to AndyGadgetSep 20, 2012. 2:38 PM
Yeah that might be a good idea. Good luck!
tacticalninja says: Sep 20, 2012. 10:50 AM
Why create a new config.txt file? isn't there already a premade config.txt on the /boot directory? and all you have to do is uncomment the carm_freq=800 line.
aeszok (author) in reply to tacticalninjaSep 20, 2012. 2:37 PM
I think depending on what distro you have installed, there often won't be one or it might be empty. If that works for you, go for it.
1-40 of 41Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!