Skip to Content
Building Green Software
book

Building Green Software

by Anne Currie, Sarah Hsu, Sara Bergman
March 2024
Intermediate to advanced
244 pages
6h 59m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Building Green Software

Chapter 6. Hardware Efficiency

It’s hardware that makes a machine fast. It’s software that makes a fast machine slow.

Craig Bruce1

Hardware efficiency? But wait, I thought this was a book about software. After all, we do mention “software” twice in the title. Yes, that is a fair point, but nonetheless, software runs on hardware, and it is well worth diving into a little deeper. No matter if you are a seasoned hardware geek who first learned to code in assembly or someone who just sees hardware as a means to an end, this chapter has something for you.

Hardware in the context of this book means any device that can be used to run software. That covers quite a wide range of different types of devices. Especially given that some enterprising people even implemented the game Doom on a pregnancy test (thankfully not controlled using the original input method). In this chapter we will focus on the two groups of more widely used hardware devices: servers and consumer devices like phones, desktops, and laptops. We’ll leave the discussion of carbon efficiency in pregnancy tests to someone else.

As we have seen in previous chapters, the main problem we can tackle in data centers (DCs) as green software practitioners is electricity consumption. But for consumer devices, embodied carbon is the greater issue, as it makes up a larger share of the overall carbon footprint of the device over its lifetime. In fact, for smartphones, the manufacturing cost stands for 85%–95% of the annual carbon ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Software Architecture Patterns, 2E (Audiobook)

Software Architecture Patterns, 2E (Audiobook)

Mark Richards

Publisher Resources

ISBN: 9781098150617Errata Page