LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-18-2014, 05:42 AM   #1
INDy2k
LQ Newbie
 
Registered: Oct 2013
Posts: 19

Rep: Reputation: Disabled
free - g should i consider -/+ buffers/cache part only


Hi,
I need to setup new dev environments in my RHEL 5.7 server where each env need around 10GB RAM. My Server RAM size round 141 GB

bash-3.2$ free -g
total used free shared buffers cached
Mem: 141 141 0 0 2 47
-/+ buffers/cache: 90 50
Swap: 80 0 80

sould I consider only '-/+ buffers/cache' row which says I have 50 GB RAM free & good to go with another 5 new env ( 10 GB each).

Please advice.
 
Old 07-18-2014, 09:33 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Quote:
I need to setup new dev environments in my RHEL 5.7 server where each env need around 10GB RAM. My Server RAM size round 141 GB

bash-3.2$ free -g
total used free shared buffers cached
Mem: 141 141 0 0 2 47
-/+ buffers/cache: 90 50
Swap: 80 0 80

sould I consider only '-/+ buffers/cache' row which says I have 50 GB RAM free & good to go with another 5 new env ( 10 GB each).

Please advice.
Are you trying to say that your RHEL 5.7 server is acting as host and you want to setup VMs on it with 10 GB each? If that is the case from free -g output I can see that used up memory is showing as 141 G. Though 47 G is showing as cached which can be freed but here are the other things that you should consider / keep in mind:

1. Clearing the cache will anyway not give you 50 G so that you can set up environment with 10 G each.
2. Current system load, if system is already heavily loaded then it is good idea to give it some room to keep cached data for better performance.
3. Incase, you clear the cache and deploy say 4 VMs with 10 G each then there are high chances that system will be using swap excessively which will affect the performance.

Please use quotes next time when you are pasting any output / info from the system for better alignment and readability.

Last edited by T3RM1NVT0R; 07-18-2014 at 09:35 AM.
 
  


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
Difference between cache and buffers sluge Linux - Newbie 5 08-31-2012 02:04 PM
How to clear buffers/cache ? cola Linux - General 4 10-08-2011 10:29 AM
-/+ buffers/cache details mansoorulhaq Linux - General 1 03-26-2007 09:40 AM
Linux cache/buffers never increase DukeLeto Linux - General 1 01-01-2007 11:02 PM
Weird cache / buffers problem - they're tiny! mrtee Linux - Enterprise 0 12-15-2005 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:52 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