LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-28-2015, 09:20 PM   #31
xerces8
LQ Newbie
 
Registered: Dec 2015
Posts: 2

Rep: Reputation: Disabled

Just a note: the MTRR method works fine (system is 100 times slower, I did not check any details, is there a good tool to detect caches?) on both 32 and 64 bit systems.

First run:
Code:
cat /proc/mtrr
to get a list of regions. The one or few segments that add up to the size of RAM are the correct ones to disable (on my system there were 00: 2GB, 01: 1GB and 02: 1GB).

Then run for each segment:
Code:
 echo disable=00 > /proc/mtrr
(replace 00 with the segment number)
 
Old 01-04-2016, 02:30 AM   #32
ulmo
LQ Newbie
 
Registered: Jul 2004
Distribution: debian
Posts: 28

Original Poster
Blog Entries: 5

Rep: Reputation: 2
Thanks for posting your solution, xerces8. Unfortunately, I don't know of any tool to detect the presence of caches.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
drop_caches doesn't drop all caches 10110111 Linux - Software 1 11-14-2010 11:09 AM
LXer: This week at LWN: LCE: Memory part 2: CPU caches LXer Syndicated Linux News 0 10-11-2007 12:30 PM
AMD vs Intel (FSB, and Caches) colinstu General 3 08-14-2007 11:52 AM
Disabling CPUID - kernel panic! RedHat 6.2 & AMD CPU rhinds1369 Red Hat 8 11-20-2005 12:44 PM
Update others arp caches rickthemick Linux - Networking 2 12-14-2004 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration