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

  • Home
  • SEARCH
  • 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 8141977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:40:58+00:00 2026-06-06T12:40:58+00:00

Is there a way to alter the cache write policy while working with the

  • 0

Is there a way to alter the cache write policy while working with the Intel compiler. I discovered that the Intel Core i7 processor 1st-level cache is a write back cache.

My question is: Is there any possible way to tweak the compiler into changing the cache policy from write back to write through?

  • 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-06T12:40:59+00:00Added an answer on June 6, 2026 at 12:40 pm

    From reading Understanding the Linux Kernel, I’m led to believe this is possible, although I’ve never done it myself. Quoting:

    The CD flag of the cr0 processor register is used to enable or disable
    the cache circuitry. The NW flag, in the same register, specifies
    whether the write-through or the write-back strategy is used for the
    caches.

    It is also possible to control cache policy on a per-page basis, by setting flags in the page table. I suspect that the Intel compiler will have a feature to specify the behaviour of individual memory allocations; I’ve certainly seen this on Fortran compilers.

    How much of this applies specifically to the i7, I don’t know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to alter/create tables in built in air database, other then
Is there a way to alter the standard background and text colors in cocoa
Is there any way to massively alter primary keys(uid) to all tables with no
Is there any way, given a function passed as a parameter, to alter its
Is there a way to force a flush (purge) of the varnish cache on
Is there a way in which after i update my branch to the revision
Is there a way to manipulate Domain object after the validation is completed in
is there any way to obtain the table prefix after connect to the database
Is there a way to get an whitespace after the colon in a JSON
Is there a way to NOT delete files after an uninstall?

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.