LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2013, 05:20 PM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 115

Rep: Reputation: 15
linux cache question


Hi all,
Ok so I know linux caches all available RAM for faster data access, my question is where is the cache? is it basically the RAM and linux just converts it to cache and calls it cache? and is this process totally different then linux disk cache?

I've googled around but I still havent grasp the concept. Maybe I'm thinking too much into it but I really want to understand.

Thanks.
 
Old 08-25-2013, 05:36 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,793

Rep: Reputation: 292Reputation: 292Reputation: 292
"my question is where is the cache"

The cache is memory that is physically located in the CPU. The cache memory can be accessed much faster than main memory which must be accessed across the memory bus. The hardware controls the cache and the kernel has nothing to do with it. The design of the cache system varies from one computer type to another. The hardware uses the memory cache to speed up main memory accesses.

"is this process totally different then linux disk cache?"

Yes. The Linux disk cache is created from main memory (but not all of main memory) by the kernel and it is administered by the kernel to speed up disk access.

------------------------
Steve Stites

Last edited by jailbait; 08-25-2013 at 05:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Question about page cache rainman1985_2010 Programming 16 05-16-2013 11:16 AM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 01:02 PM
apt-cache question Rav3n Debian 11 07-17-2004 07:05 PM
Tivo/Linux/Win box 160GB 8mb cache..weird question..2nd HD m2bored Linux - Hardware 2 07-23-2003 12:22 PM


All times are GMT -5. The time now is 12:03 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration