Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Modern Computer Architecture and Organization
  • Table Of Contents Toc
Modern Computer Architecture and Organization

Modern Computer Architecture and Organization - Third Edition

By : Jim Ledin
5 (1)
close
close
Modern Computer Architecture and Organization

Modern Computer Architecture and Organization

5 (1)
By: Jim Ledin

Overview of this book

Computer architecture now extends far beyond CPUs, forming the foundation of cloud platforms, AI systems, cybersecurity solutions, and emerging computing technologies. Modern Computer Architecture and Organization, Third Edition, provides a clear, end-to-end understanding of how today’s computer systems are built and why architectural decisions matter more than ever. You’ll begin with the fundamentals of digital logic, processor elements, memory systems, and the hardware–software interface, building a strong grounding that remains essential for every architect and systems engineer. Next, the book explores modern processor and memory architectures, performance-enhancing techniques, virtualization, and mainstream instruction sets, including x86, ARM, and an in-depth treatment of RISC-V. New and significantly expanded chapters extend this foundation into modern computing domains, including AI and large language model (LLM) computing platforms, GPUs, cloud-scale systems, confidential and security-focused architectures, blockchain and Bitcoin mining systems, self-driving vehicle architectures, and future directions such as quantum computing. This edition reflects today’s AI-driven, cloud-centric, security-aware computing landscape while remaining true to the classical principles that continue to underpin modern computer systems.
Table of Contents (28 chapters)
close
close
Lock Free Chapter
1
Part 1: Fundamentals of Computer Architecture
8
Part 2: Processor Architectures and Instruction Sets
15
Part 3: Computer System Architectures
23
Part 4: Appendices
27
Index

Chapter 8: Performance-Enhancing Techniques

Exercise 1

Consider a direct-mapped L1 I-cache of 32 KB. Each cache line consists of 64 bytes, and the system address space is 4 GB. How many bits are in the cache tag? Which bit numbers (bit 0 is the least significant bit) are they within the address word?

Answer

The cache contains 32,768 bytes with 64 bytes in each line. There are 32,768 ÷ 64 = 512 sets in the cache. 512 = 29, so the set number consists of 9 bits.

Each cache line contains 64 (26) bytes, which means the lower 6 bits of each address represent the byte offset within the cache line.

A 4 GB address space requires 32-bit addresses. Subtracting the 9 bits in the set number and the 6 bits in the byte offset from the 32-bit address results in 32 – (9 + 6) = 17 bits in the cache tag.

The cache tag lies in the 17 most significant bits of the address, so the range of these bits within a 32-bit address runs from bit 15 to bit 31.

Exercise 2

Consider an 8-way set-associative...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Modern Computer Architecture and Organization
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon