LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-30-2012, 03:38 AM   #1
blockdump
LQ Newbie
 
Registered: Jan 2012
Location: vienna
Distribution: Redhat, Oracle Enterprise Linux, Fedora
Posts: 10

Rep: Reputation: Disabled
/proc/meminfo interpret values of Buffers Cached


Even if I found lots of sites and forums where these values have been discussed, I'm still not quite sure about in meaning of Buffers and Cached. Most sites refer to these values as:

Buffers: The amount of physical RAM used for file buffers.
Cached: The amount of physical RAM used as cache memory.

What is the actual meaning of "file buffers" ? Is the the cache for "cached read IOs" ?
Means "cache memory" also cache of swapped pages ?

Can I assume if the system gets under memory space pressure it will free memory from these caches ?

I'm dealing with Oracle Databases on Linux Servers. So some of my systems have about 16-32 GB RAM.

So If I see values like these, does this mean the system has about 13GB cache which could potentially freed ?

$ free
total used free shared buffers cached
Mem: 16436916 16027568 409348 0 1147152 13692012
-/+ buffers/cache: 1188404 15248512
Swap: 20479992 128 20479864

best regards
 
Old 03-30-2012, 04:08 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Sorta ... as always "it depends". In the Oracle case, it depends on SGA.
Have a look at this. Explains things from an Oracle perspective.

Last edited by syg00; 03-30-2012 at 04:37 AM.
 
Old 03-30-2012, 04:32 AM   #3
blockdump
LQ Newbie
 
Registered: Jan 2012
Location: vienna
Distribution: Redhat, Oracle Enterprise Linux, Fedora
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi,

thanks for the reply but it seems the link is broken.

Actually I just want to understand the relevance of this parameters ( eg if the system in undersized in terms of memory )
Besides I could not find a hint about this parameters if hugepages are in use.
Oracle database usually use large amounts of shared memory. Is there a difference in regarding these parameters ?

best regards
 
Old 03-30-2012, 04:41 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Sorry - extraneous right parenthesis. Try it now.

You *just* want to understand memory ...
lol - when you figure it out, come tell the rest of us.

Hugepages influence (to some extent) depend on kernel level - and machine architecture. So it (still) "depends" ...
There's probably no "right" answer.
 
Old 03-30-2012, 05:32 AM   #5
blockdump
LQ Newbie
 
Registered: Jan 2012
Location: vienna
Distribution: Redhat, Oracle Enterprise Linux, Fedora
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for the Link, covers lots of details ...

best regards to Australia
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/proc/meminfo VS /proc/kcore Fill Linux - Newbie 2 08-04-2011 04:13 AM
/proc/meminfo vkmgeek Linux - General 6 03-20-2008 12:12 AM
/proc/meminfo hiding some memory? elpy Linux - Hardware 3 07-28-2007 10:26 AM
buffers and cached groing up to total!? tovis Programming 2 01-26-2007 06:24 AM
Define fields in /proc/meminfo ilnli Linux - General 1 05-17-2005 01:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:26 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
Open Source Consulting | Domain Registration