linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* linux memory mgmt system question
@ 2008-11-20 14:15 Catalin CIONTU
  2008-11-21 16:29 ` Christoph Lameter
  2008-11-21 19:55 ` Tim Pepper
  0 siblings, 2 replies; 5+ messages in thread
From: Catalin CIONTU @ 2008-11-20 14:15 UTC (permalink / raw)
  To: linux-mm

> Hi,
> 
> 1. Firstly, we want to know if 'free' is the best
> tool that could give us the most accurate numbers with re to
> used/free memory and swap. If not, what would be that tool
> we could rely on?
> 2. Are there any exceptions that may "fool" free
> utility (inaccurate numbers would be returned), that we
> would need to be aware of? For example, could things like
> huge TLB pages being enabled have an impact on the numbers
> reported by free utility?
> 
> Could you please advise? Thanks a lot.
> 
> 
> Regards,
> catalin.


      

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux memory mgmt system question
  2008-11-20 14:15 linux memory mgmt system question Catalin CIONTU
@ 2008-11-21 16:29 ` Christoph Lameter
  2008-11-21 20:09   ` Catalin CIONTU
  2008-11-21 19:55 ` Tim Pepper
  1 sibling, 1 reply; 5+ messages in thread
From: Christoph Lameter @ 2008-11-21 16:29 UTC (permalink / raw)
  To: Catalin CIONTU; +Cc: linux-mm

The numbers returned by free are numbers that describe the state of the
memory for the OS. The OS can increase the amount of free memory at
any time by reclaiming memory from the disk cache, processes and other
operating system structures.

Why do you need these numbers?

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux memory mgmt system question
  2008-11-20 14:15 linux memory mgmt system question Catalin CIONTU
  2008-11-21 16:29 ` Christoph Lameter
@ 2008-11-21 19:55 ` Tim Pepper
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Pepper @ 2008-11-21 19:55 UTC (permalink / raw)
  To: cciontu; +Cc: linux-mm

On Thu, Nov 20, 2008 at 6:15 AM, Catalin CIONTU <cciontu@yahoo.com> wrote:
>> Hi,
>>
>> 1. Firstly, we want to know if 'free' is the best
>> tool that could give us the most accurate numbers with re to
>> used/free memory and swap. If not, what would be that tool
>> we could rely on?
>> 2. Are there any exceptions that may "fool" free
>> utility (inaccurate numbers would be returned), that we
>> would need to be aware of? For example, could things like
>> huge TLB pages being enabled have an impact on the numbers
>> reported by free utility?
>>
>> Could you please advise? Thanks a lot.

There is a lot of room for confusion and being fooled into wrong
conclusions in this space.  As per Christoph, it would be
interesting/helpful to know more about what you're trying to figure
out.

You might want to have a look at this wiki faq (and some of the other
pages on that wiki):
http://linux-mm.org/Low_On_Memory



Tim

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux memory mgmt system question
  2008-11-21 16:29 ` Christoph Lameter
@ 2008-11-21 20:09   ` Catalin CIONTU
  2008-11-21 20:41     ` Christoph Lameter
  0 siblings, 1 reply; 5+ messages in thread
From: Catalin CIONTU @ 2008-11-21 20:09 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: linux-mm

Hi,

Thanks for your reply. 

We need to provide these numbers for our customers, when we release reports of findings and assessments. The more accurate they are, with re to memory utilization, the better. They'll setup thresholds for their monitoring tools, based on our feedback.


Regards,
catalin.
--- On Fri, 11/21/08, Christoph Lameter <cl@linux-foundation.org> wrote:

> From: Christoph Lameter <cl@linux-foundation.org>
> Subject: Re: linux memory mgmt system question
> To: "Catalin CIONTU" <cciontu@yahoo.com>
> Cc: linux-mm@kvack.org
> Date: Friday, November 21, 2008, 6:29 PM
> The numbers returned by free are numbers that describe the
> state of the
> memory for the OS. The OS can increase the amount of free
> memory at
> any time by reclaiming memory from the disk cache,
> processes and other
> operating system structures.
> 
> Why do you need these numbers?


      

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux memory mgmt system question
  2008-11-21 20:09   ` Catalin CIONTU
@ 2008-11-21 20:41     ` Christoph Lameter
  0 siblings, 0 replies; 5+ messages in thread
From: Christoph Lameter @ 2008-11-21 20:41 UTC (permalink / raw)
  To: Catalin CIONTU; +Cc: linux-mm

On Fri, 21 Nov 2008, Catalin CIONTU wrote:

> We need to provide these numbers for our customers, when we release
> reports of findings and assessments. The more accurate they are, with re
> to memory utilization, the better. They'll setup thresholds for their
> monitoring tools, based on our feedback.

The VM manages thresholds for many of these counters. Interpretation of
what they mean may be difficult.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-11-21 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20 14:15 linux memory mgmt system question Catalin CIONTU
2008-11-21 16:29 ` Christoph Lameter
2008-11-21 20:09   ` Catalin CIONTU
2008-11-21 20:41     ` Christoph Lameter
2008-11-21 19:55 ` Tim Pepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox