{"id":678,"date":"2022-06-19T14:10:52","date_gmt":"2022-06-19T21:10:52","guid":{"rendered":"https:\/\/jasonsblog.access.ly\/?p=678"},"modified":"2022-11-05T07:55:33","modified_gmt":"2022-11-05T14:55:33","slug":"overclocking-the-raspberry-pis","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2022\/06\/19\/overclocking-the-raspberry-pis\/","title":{"rendered":"Overclocking the Raspberry Pi&#8217;s"},"content":{"rendered":"\n<p>The Raspberry Pi&#8217;s can easily be overclocked but this all depends on your cooling solution. If you have a good heatsink, preferably with a fan or two, you can turn up the Pi and improve performance and still keep the temperatures down. At the bottom of the post is a list of parameters to overclock each Raspberry Pi from and tested by Tom&#8217;s Hardware, and below that is a listing of the parameters from Hayden James&#8217; blog. Moreover, you can also scale them back and experiment based on how your Pi performs.  <\/p>\n\n\n\n<p>There are several case designs that include fans, but my favorite is the <a aria-label=\"Armor dual fan design (opens in a new tab)\" href=\"https:\/\/www.amazon.com\/s?k=MakerFocus+raspberry+pi+armor+case&amp;crid=YFSXA3JBZ8MI&amp;sprefix=makerfocus+raspberry+pi+armor+cas%2Caps%2C222&amp;ref=nb_sb_noss\" target=\"_blank\" rel=\"noreferrer noopener\" class=\"ek-link\">Armor dual fan design<\/a> offered by different manufacturers. You have a large heatsink on top and bottom, and the top includes two quiet fans.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/IMG_20220605_093606019_HDR-3-769x1024.jpg\" alt=\"\" class=\"wp-image-1889\" width=\"349\" height=\"452\"\/><\/figure>\n\n\n\n<p>A maintenance tip for these simple bushing fans is to remove them when one becomes noisy, remove the label from the bottom and add a drop of synthetic oil. And they&#8217;ll be quiet for a few more months.<\/p>\n\n\n\n<p>And the proof of this in the putting, various Pi&#8217;s in the home lab that have been overclocked. To the top right of Btop++ you can see the CPU maxed with the running temperature.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1-1024x576.png\" alt=\"\" class=\"wp-image-1898\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1-1024x576.png 1024w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1-300x169.png 300w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1-768x432.png 768w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1-1536x864.png 1536w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2022\/11\/Screenshot_2022-06-19_12-02-57-1-1.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Raspberry Pi 4B Bitcoin\/LND\/Electrs node overclocked from 1.5 to 1.8 Ghz<\/figcaption><\/figure>\n\n\n\n<p>To overclock your Pi you&#8217;ll want to edit the file \/boot\/config.txt and add the statements from the table below, and then reboot. You maybe have noticed I wasn&#8217;t as aggressive with some of my machines, so you can scale back as you wish. Mainly you&#8217;re looking for some speed boost without stressing the system so it will be stable and run cool. My Pi Zero W just has a heatsink, and you&#8217;ll see it&#8217;s pushing the temperature a bit. I also have a Raspberry Pi Zero 2 W with heatsink, but stock that unit is running around 50C so overclocking would require another cooling solution.<\/p>\n\n\n\n<p>One thing to be aware of, setting force_turbo=1 which locks the CPU frequency to the highest value will set the void warranty bit and of course void the warranty. So use that one with caution, but depending on where you bought the Pi the warranty might already be over. And with no supplies of Rasperry Pi&#8217;s available, you don&#8217;t want to damage the ones you have. But it&#8217;s very easy to overclock the Pi without damaging the unit provided you have a good cooling solution. So have fun experimenting.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Model<\/th><th>config.txt settings<\/th><\/tr><\/thead><tbody><tr><th>Raspberry Pi 1 Model A &amp; B<\/th><td>arm_freq=1000<\/td><\/tr><tr><th><\/th><td>core_freq=450<\/td><\/tr><tr><th><\/th><td>over_voltage=6<\/td><\/tr><tr><th>Raspberry Pi A+ \/ B+ \/ Compute Module Cooling Required<\/th><td>arm_freq=1100<\/td><\/tr><tr><th><\/th><td>core_freq=450<\/td><\/tr><tr><th><\/th><td>sdram_freq=450<\/td><\/tr><tr><th><\/th><td>over_voltage=6<\/td><\/tr><tr><th>Raspberry Pi 2 v1.1<\/th><td>arm_freq=1000<\/td><\/tr><tr><th><\/th><td>core_freq=500<\/td><\/tr><tr><th><\/th><td>over_voltage=2<\/td><\/tr><tr><th>Raspberry Pi 2 V1.2 (Shares the same CPU as a Raspberry Pi 3)<\/th><td>arm_freq=1300<\/td><\/tr><tr><th><\/th><td>core_freq=500<\/td><\/tr><tr><th><\/th><td>over_voltage=4<\/td><\/tr><tr><th>Raspberry Pi 3 &amp; Compute Module 3<\/th><td>arm_freq=1300<\/td><\/tr><tr><th><\/th><td>core_freq=500<\/td><\/tr><tr><th><\/th><td>over_voltage=4<\/td><\/tr><tr><th>Raspberry Pi 3 A+ \/ B+ \/ Compute Module 3+<\/th><td>arm_freq=1500<\/td><\/tr><tr><th><\/th><td>over_voltage=4<\/td><\/tr><tr><th>Raspberry Pi 4 \/ 400 \/ Compute Module 4<\/th><td>arm_freq=2200<\/td><\/tr><tr><th><\/th><td>gpu_freq=750<\/td><\/tr><tr><th><\/th><td>over_voltage=6<\/td><\/tr><tr><td><\/td><td>force_turbo=1<\/td><\/tr><tr><th>Raspberry Pi Zero \/ Zero W<\/th><td>arm_freq=1100<\/td><\/tr><tr><th><\/th><td>core_freq=450<\/td><\/tr><tr><th><\/th><td>over_voltage=6<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.tomshardware.com\/how-to\/overclock-any-raspberry-pi\" target=\"_blank\" aria-label=\"https:\/\/www.tomshardware.com\/how-to\/overclock-any-raspberry-pi (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">https:\/\/www.tomshardware.com\/how-to\/overclock-any-raspberry-pi<\/a><\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/haydenjames.io\/raspberry-pi-3-overclock\/\" target=\"_blank\" aria-label=\"Raspberry Pi 3 Overclock options (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"ek-link\">Raspberry Pi 3 Overclock options<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>arm_freq<\/strong>\u2013 Frequency of ARM in MHz. (Raspberry Pi 3 Overclock)<\/li>\n\n\n\n<li><strong>core_freq<\/strong> -Frequency of GPU processor core in MHz. It has an impact on ARM performance since it drives L2 cache.<\/li>\n\n\n\n<li><strong>sdram_freq<\/strong> -Frequency of SDRAM in MHz.<\/li>\n\n\n\n<li><strong>over_voltage<\/strong> \u2013 ARM\/GPU core voltage adjust. Values above 6 are only allowed when force_turbo or current_limit_override are specified (which set the warranty bit).<\/li>\n\n\n\n<li><strong>force_turbo<\/strong> \u2013 Disables dynamic cpufreq driver and minimum settings below. Voids Warranty.<\/li>\n\n\n\n<li><strong>initial_turbo<\/strong> -Enables turbo mode from boot for a value in seconds (max 60) or until cpufreq sets a frequency. Default 0<\/li>\n\n\n\n<li><strong>arm_freq_min<\/strong> \u2013 Minimum value of arm_freq used for dynamic clocking.<\/li>\n\n\n\n<li><strong>core_freq_min<\/strong> \u2013 Minimum value of core_freq used for dynamic clocking.<\/li>\n\n\n\n<li><strong>sdram_freq_min<\/strong> \u2013 Minimum value of sdram_freq used for dynamic clocking.<\/li>\n\n\n\n<li><strong>temp_limit<\/strong> \u2013 Overheat protection. Sets clocks and voltages to default when the SoC reaches this Celsius value. Setting this higher than default voids warranty. Default 85<\/li>\n\n\n\n<li><strong>disable_splash<\/strong> \u2013 If set to 1, avoids the rainbow splash screen on boot.<\/li>\n\n\n\n<li><strong>boot_delay<\/strong>&nbsp;\u2013 Wait for x number of&nbsp;seconds in start.elf before loading kernel. Default 1<\/li>\n\n\n\n<li><strong>gpu_mem<\/strong>&nbsp;\u2013 GPU memory in megabyte. Sets the memory split between the ARM and GPU. ARM gets the remaining memory.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Raspberry Pi&#8217;s can easily be overclocked but this all depends on your cooling solution. If you have a good heatsink, preferably with a fan or two, you can turn up the Pi and improve performance and still keep the temperatures down. At the bottom of the post is a list of parameters to overclock [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-678","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=678"}],"version-history":[{"count":12,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/678\/revisions"}],"predecessor-version":[{"id":1907,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/678\/revisions\/1907"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}