Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7822333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T07:54:08+00:00 2026-06-02T07:54:08+00:00

I remember assuming that an L1 cache hit is 1 cycle (i.e. identical to

  • 0

I remember assuming that an L1 cache hit is 1 cycle (i.e. identical to register access time) in my architecture class, but is that actually true on modern x86 processors?

How many cycles does an L1 cache hit take? How does it compare to register access?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T07:54:10+00:00Added an answer on June 2, 2026 at 7:54 am

    Here’s a great article on the subject:

    http://arstechnica.com/gadgets/reviews/2002/07/caching.ars/1

    To answer your question – yes, a cache hit has approximately the same cost as a register access. And of course a cache miss is quite costly 😉

    PS:

    The specifics will vary, but this link has some good ballpark figures:

    Approximate cost to access various caches and main memory?

    Core i7 Xeon 5500 Series Data Source Latency (approximate)
    L1 CACHE hit, ~4 cycles
    L2 CACHE hit, ~10 cycles
    L3 CACHE hit, line unshared ~40 cycles
    L3 CACHE hit, shared line in another core ~65 cycles
    L3 CACHE hit, modified in another core ~75 cycles remote
    L3 CACHE ~100-300 cycles
    Local DRAM ~30 ns (~120 cycles)
    Remote DRAM ~100 ns 
    

    PPS:

    These figures represent much older, slower CPUs, but the ratios basically hold:

    http://arstechnica.com/gadgets/reviews/2002/07/caching.ars/2

    Level                    Access Time  Typical Size  Technology    Managed By
    -----                    -----------  ------------  ---------     -----------
    Registers                1-3 ns       ?1 KB          Custom CMOS  Compiler
    Level 1 Cache (on-chip)  2-8 ns       8 KB-128 KB    SRAM         Hardware
    Level 2 Cache (off-chip) 5-12 ns      0.5 MB - 8 MB  SRAM         Hardware
    Main Memory              10-60 ns     64 MB - 1 GB   DRAM         Operating System
    Hard Disk                3M - 10M ns  20 - 100 GB    Magnetic     Operating System/User
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I remember first learning about vectors in the STL and after some time, I
I remember reading somewhere that you can provide your own icons without having them
assuming that I know nothing about everything and that I'm starting in programming TODAY
How long will a browser remember a a:visited link? Assuming the method isn't uniform
This may have been hidden somewhere in the docs, but I don't remember seeing
I'm trying to make a class Bar that extends a class Foo . The
Remember that away message on aim that said how: Aoccdrnig to a rscheearch at
I remember doing this years ago, but can't remember if it was with SWFObject
I remember watching a video a while back online that was a talk given
I remember there's a redirect function in jQuery. It was like: $(location).href('http://address.com') But what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.