Raspberry Pi overclocking - the definitive thread
Pages: 1 2
Krzysztof Staniorowski (2787) 57 posts |
There are few threads about overclocking Raspberry Pi but unfortunately none of them seems to summarize the issue and some of them are quite old (maybe something has changed in the meantime). I’ve decided to re-ask some questions then. 1. GNU/Linux pays attention to force_turbo=0 mode setting in config.txt on boot partition (system scheduler will temporarily jump to higher frequencies instead of keeping maximum non-stop). Does RISC OS (at least 5.23 2015-09-27 or newer) obey that setting too? 2. There exists some form of clocks relationship. Therefore, can I simply set them in 10% percentage increments on my B+ (840MHz as 120% of base CPU clock, 440MHZ as 110% of base RAM clock and 300MHZ as 120% of base GPU clock)? 3. Aren’t settings above simply too much for 24/7 use in very well ventilated case (many airholes, much of free space inside case)? 4. Is it still true that it’s not possible to monitor CPU temperature (and clock but it’s different issue) from RISC OS? That would make measuring air temperature (using this CJE Micro’s product for example) the only remaining solution. 5. Is there still a possibility that using moderate overclocking values SD card filesystem will become corrupted (even with init_emmc_clock=100000000 in config.txt)? I’ve been running for around one month on 800MHz CPU/300MHz GPU/default for RAM without any problems (Verify runs through card without problems everyday) so far. |
Rick Murray (539) 13840 posts |
Disclaimer: I’m not an expert. ;-) The wimp ought to speed up and slow down the machine depending on how “busy” the system is. Not sure what happens if you go to the command line, maybe the kernel ought to be aware of this. No, we still can’t access the GPU temperature. Maybe soon? Some SD cards will work better than others; I think it’s a case of suck-it-and-see along with make-backups. |
David Feugey (2125) 2709 posts |
1. No. I use 800 MHz without any problem inside a flat case (width; around 1.5 cm). There is even no room for USB ports. And it stays cold. |
Krzysztof Staniorowski (2787) 35 posts |
yet
As far as I understand CPU will stay on default 700MHz even with configured to be 840MHz but with force_turbo=0. Is that correct?
Could you please expand? As far as I know gpu_freq handles PLL clocks (because it sets core_freq, h264_freq, isp_freq and v3d_freq at once to use the same frequency). |
David Feugey (2125) 2709 posts |
Yes. Dynamic clock is not supported under RISC OS.
CPU = heat. I use 800 MHz (I did use 900 MHz too). 900 (CPU), 300 (GPU) and 450 (SDRAM) should be OK on most computers. For core… 450? |
David Feugey (2125) 2709 posts |
Core and GPU are linked. If you use Core = 500, GPU will be rounded to 275 MHz. So 900(CPU)/500(Core)/500(SDRAM) means GPU at 275 MHz — 900/450/450 means GPU at 257 MHz You could probably opt too for 900(CPU)/300(GPU)/450(Core)/450(SDRAM). See : http://elinux.org/RPiconfig |
Krzysztof Staniorowski (2787) 57 posts |
Is there any reason to overclock RAM in 50MHz increments? Do Samsung chips cope better with overclocking?
Is it a bad idea to use only gpu_freq and let all other (core, h264 etc) just use the same? What exactly were those sync issues? Maybe it’s something already resolved? Most important: how much moderate overclocking will affect lifespan (especially when leaving Pi to run 24/7 like I do)?
longevity > speed in my case :-) |
Rick Murray (539) 13840 posts |
If it is running 24/7, is it some sort of server? |
Krzysztof Staniorowski (2787) 57 posts |
No, it’s desktop. I just don’t like turning my computers off (mostly because I set them to backup to FTP server running on another Raspberry Pi, this one without o/c). Also, RISC OS (and Raspberry Pi as a hardware platfom) does not have sleep and/or hibernate modes allowing me to resume whatever I was doing in few seconds.
Well, current computers aren’t as good quality as they used to be… I just want that particular Raspberry Pi to live more than few months (preferably over two years) yet I like my current 840MHz performance boost (it just doesn’t feel blazing fast without it). |
David Feugey (2125) 2709 posts |
Yes, lot of other chips have problem at 500 MHz.
It is. But, who knows if regression could not occur in firmware?
Then don’t overclock it at all. I think that at 900 MHz, the Pi should run for at least two year. Probably more. |
Krzysztof Staniorowski (2787) 57 posts |
There’s the golden mean too, overclock low enough to let it live happily for two years ;-) |
Chris Evans (457) 1614 posts |
IIRC overclocking doesn’t now invalidate the warranty because they believe it will crash before it does permanent damage. Though over Voltage does invalidate the warranty. |
George T. Greenfield (154) 748 posts |
FWIW, I’ve been running my Pi 1B since April 2014 at 900/333/450 (Arm/core/sdram) with over-voltage=2 and force-turbo=1 without any issues of stability or reliability*. I use it daily for 12+ hours. It has heatsinks on both cpu and graphics chip and is housed in an open-sided VESA mount on the back of my monitor. (*Having said that it’ll probably now expire in a cloud of smoke….) |
Krzysztof Staniorowski (2787) 57 posts |
24/7
I don’t have any. Do they make noticeable difference? As far as I know this SoC was designed to run without them.
I also have VESA enclosure but with closed sides (yet full of ventilation holes).
connection reset by peer ;-)
That’s why I’ve never used it (and never will). |
Rick Murray (539) 13840 posts |
My Pi B (issue 2) runs RISC OS at the default speed. I tried RISC OS at 800MHz. To be honest, the slow part of RISC OS is the filesystem and there’s only so fast you can get data shifted to/from the SD card. As such, the overclocking didn’t appear to make a significant impact in speed when used as a user (and not as a benchmark test), so I reverted back to “normal” speed. What is that, 700MHz or so? Yes, it made the machine faster, but no, the general day to day use wasn’t automatically 14% quicker; the file operations bottleneck was the obvious hold up, but otherwise the machine spends an awful lot of time contemplating its naval. Does it matter if it executed fifty billion instructions in between each keypress instead of merely 40 billion? It’s still effectively “doing nothing” except waiting for me to press a key… I choose reliability and stability over speed. |
Rick Murray (539) 13840 posts |
PS:
You mean network chip, don’t you? The CPU and GPU are in the same place in the Pi (1B) – underneath the SDRAM. |
Krzysztof Staniorowski (2787) 57 posts |
I think !CloneDisc and !SafeStore are good enough :-)
Web browser speeds up a bit, compressing files speeds up a bit (especially if you compress to RAM drive and/or network drive), any data crunching stuff speeds up (GnuPG, compression again).
After around one month of running the board overclocked there’s absolutely no problems with file system (or at least so Verify thinks). Basically nothing crashed so far :-) By the way I had other RPi running overclocked as a server 24/7 for last 6 months or so – no problems too (but I’ve decided that 57*C CPU temperature was a bit too hot for a server). |
Rick Murray (539) 13840 posts |
Doesn’t need to crash. Errant memory access? Messed up pointer? Fringe level due to slightly inadequate power supply? I think Jeffrey fixed something about a year ago (rough guess) and that’s about when I changed to a better power supply. Since then, things have been more reliable, but I do think my “Map is inconsistent with directory tree” so I’ll either have to buy DiscKnight myself or copy stuff to a fresh SD card. Given that I build my own RISC OS and unpacking/building that absolutely clobbers the FS (thousands of files), I rather suspect that DiscKnight is going to be the more sensible option. That and regular SD card images…
For an ARM, I guess, yes. Still, it makes me smile. My PC (1.6GHz Atom with execrable Intel GPU/chipset) is running at a steady 47C with the fan hacked to be at 80%. Now if I start to play a video (and push the fan to 100%) I can pretty much guarantee that I’ll be in the mid-60s within seconds. My Pi’s box, meanwhile, with no heatsink and having been on all week…is barely warm to the touch. |
Krzysztof Staniorowski (2787) 57 posts |
Well, you’ve just convinced me to buy it. Seriously.
ROTFL that epic computing power to power consumption ratio LOL
So far nothing like this happened (fortunately). |
Krzysztof Staniorowski (2787) 57 posts |
Back to overclocking stuff: 1. Should I put heatsing on voltage regulator chip (especially on B+ or 2 models where this one was improved afair)? Or maybe (just for peace of mind, although I know that SoC was designed to be used without one) it’ll be just ok to place them just on SoC and net chips? 2. How bad is idea of using Raspberry Pi 2 in wooden enclosure (again, full of ventilation holes)? I’m probably buying another Pi soon and I’d like to put it in wooden case (just because it looks good). Yes, it’ll run overclocked a bit too. |
David Feugey (2125) 2709 posts |
850/300/450/450 works well here. With the compression of 1 GB of data, chip stays almost cold.
Not the same use. 1. I have only one, and it’s enough. The only piece overclocked is the SoC anyway. |
George T. Greenfield (154) 748 posts |
@Rick: yes, the heatsink’s on the network chip – my mistake. |
Krzysztof Staniorowski (2787) 57 posts |
now I understand ;-)
Wasn’t that 900MHz on Pi 2 factory overclock by 100MHz?
Will it make any noticeable difference to use copper heatsinks instead of random cheapskate ones? Price will rise around five times. (sent from “og” NetSurf on Pi B+ ;-) ) |
Rick Murray (539) 13840 posts |
On the network chip? Perhaps – though I think the way the heatsink is actually bonded to the chip may be more important. I’ve actually seen a good solid copper heatsink scuppered by somebody that applied the gunk “around the edges” of a large Pentium type processor, thus leaving an air gap between the centre of the processor itself and the bottom of the heatsink. Their computer didn’t last long, they offloaded it to me for salvage. As for the Pi’s heart – please PLEASE everybody remember that the cores of the Pi 1 and the Beagle/xM (maybe Panda?) are stacked so that big chip you can see is actually the memory. The processor core (GPU, etc) is underneath that. The SoC itself has an array of little beads on top, which match up with beads on the bottom of the memory. They are electrically joined using a hellishly complicated process. I apologise if I sound a little patronising here, but I don’t want anybody to think that whacking a big heatsink onto the chip they can see means they can run the machine hard – the heatsink isn’t good insurance as the chip you can see is not the SoC itself. I’ve not looked at the Pi2 in much detail, but I think I remember the memory and SoC are no longer stacked? (sent from my XP box using Firefox 12 as I got fed up of everything changing seemingly each month… I wish RISC OS had a stable release cycle like Firefox’s! Scratch that, no I don’t. I wish they’d fix bugs and vulns and leave the UI the hell alone. Ditto RISC OS, fix what needs fixed, don’t mess with it for the sake of messing with it!) |
Krzysztof Staniorowski (2787) 57 posts |
I’d rather die than use that shi^H^H^H worst OS in history again… MS should’ve killed it sooner.
That’s probably correct, on every single photo (including official one) there’s clearly visible Broadcom logo instead of usual Samsung/Hynix/whatever text.
No you don’t :-) it’s all about explaination of any overclocking related doubts. I was actually convinced that heatsink is a good idea (even if it doesn’t dissipate heat from CPU directly but only from double-heated RAM chip on top). Unfortunately I’m still afraid that someday it’ll fail (thermally conductive adhesive might simply let go and then falling* heatsing might cause fatal shortage).
|
Pages: 1 2