
C H A P T E R 7
A D V A N C E D R A S P B E R R Y P I C O N F I G U R A T I O N
115
The BCM2835 multimedia processor at the heart of the Pi is a system-on-chip (SoC) design
split into two main parts: the graphics processor (GPU) and the central processor (CPU).
Simply put, the CPU handles all the day-to-day processing tasks while the GPU handles
drawing things on the screen, in both 2D and 3D.
Using
config.txt
, you can overclock one or both parts of the BCM2835. You can also
increase the speed at which the memory module—located on top of the chip in a package-
on-package (PoP) mounting format—operates.
Boosting the operating frequency of these components results in a small increase in the Pi’s
performance: an increase to the GPU’s clock frequency means that 3D graphics (such as
game graphics) will render at a faster pace, and video will be decoded quicker for smoother
playback; and increasing the CPU’s clock frequency will boost overall performance of the
device, as will increasing the memory’s frequency.
The reason the Pi isn’t provided with higher operating speeds in the first place is related to
the chip’s lifespan. The BCM2835 is rated by its manufacturer, Broadcom, to operate at a
speed of 700 MHz. Increasing the speed above this officially rated level may work, but it will
also have a deleterious effect on the lifespan of the chip. Unlike a desktop processor, SoC
designs rarely have much headroom for overclocking.
Overclocking Settings
If you’re willing to take the risk of breaking the Pi—a process known as
bricking
in embedded
device circles—for the sake of a small performance gain, there are settings in
config.txt
that can help. The following settings control performance of the Pi’s SoC:
❍
arm_freq
—Sets the core clock frequency of the CPU portion of the BCM2835, for a
boost in general-purpose performance. The default speed is 700 MHz.
❍
gpu_freq
—Sets the clock frequency of the GPU portion of the BCM2835, for a boost
in graphics performance across all operations. The default speed is 250 MHz.
Additionally, you can adjust individual portions of the GPU’s hardware using the fol-
lowing options:
•
core_freq
—Sets the core clock frequency of the GPU, leaving the other frequen-
cies alone, to improve overall GPU performance. The default speed is 250 MHz.
•
h264_freq
—Sets the clock frequency of the GPU’s hardware video decoder to
improve playback of H.264 video data. The default speed is 250 MHz.
Содержание A
Страница 1: ......
Страница 2: ......
Страница 3: ...Raspberry Pi User Guide 2nd Edition...
Страница 4: ......
Страница 5: ...Raspberry Pi User Guide 2nd Edition Eben Upton and Gareth Halfacree...
Страница 10: ......
Страница 26: ...R A S P B E R R Y P I U S E R G U I D E S E C O N D E D I T I O N 10...
Страница 28: ......
Страница 29: ...Chapter 1 Meet the Raspberry Pi...
Страница 37: ...Chapter 2 Getting Started with the Raspberry Pi...
Страница 56: ......
Страница 57: ...Chapter 3 Linux System Administration...
Страница 79: ...Chapter 4 Troubleshooting...
Страница 89: ...Chapter 5 Network Configuration...
Страница 109: ...Chapter 6 The Raspberry Pi Software Configuration Tool...
Страница 122: ......
Страница 123: ...Chapter 7 Advanced Raspberry Pi Configuration...
Страница 140: ......
Страница 141: ...Chapter 8 The Pi as a Home Theatre PC...
Страница 151: ...Chapter 9 The Pi as a Productivity Machine...
Страница 159: ...C H A P T E R 9 T H E P I A S A P R O D U C T I V I T Y M A C H I N E 143 Figure 9 4 Exporting a file from The Gimp...
Страница 160: ......
Страница 161: ...Chapter 10 The Pi as a Web Server...
Страница 171: ...Part III Programming with the Raspberry Pi Chapter 11 An Introduction to Scratch Chapter 12 An Introduction to Python...
Страница 172: ......
Страница 173: ...Chapter 11 An Introduction to Scratch...
Страница 189: ...Chapter 12 An Introduction to Python...
Страница 216: ......
Страница 218: ......
Страница 219: ...Chapter 13 Learning to Hack Hardware...
Страница 234: ......
Страница 235: ...Chapter 14 The GPIO Port...
Страница 249: ...Chapter 15 The Raspberry Pi Camera Module...
Страница 265: ...Chapter 16 Add on Boards...
Страница 279: ...Part V Appendixes Appendix A Python Recipes Appendix B Camera Module Quick Reference Appendix C HDMI Display Modes...
Страница 280: ......
Страница 281: ...Appendix A Python Recipes...
Страница 287: ...Appendix B Raspberry Pi Camera Module Quick Reference...
Страница 293: ...Appendix C HDMI Display Modes...