Skip to contentSkip to conversation

linux memory mgmt system question

DISCUSSION Catalin CIONTU 3 participants 5 messages Nov 20, 2008 – Nov 21, 2008 Memory management

lore
Share & tools
lore
#0 lore raw
Quoted 12 lines

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?

Quoted 5 lines

Could you please advise? Thanks a lot.

Regards,
catalin.

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

#1 lore raw

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#2 lore raw

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.

Quoted 13 lines · Christoph Lameter

From: Christoph Lameter <[email protected]>
Subject: Re: linux memory mgmt system question
To: "Catalin CIONTU" <[email protected]>
Cc: [email protected]
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.

Quoted 1 line

Why do you need these numbers?

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

#3 lore raw
Quoted 4 lines · Catalin CIONTU

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

#4 lore raw
In reply to Catalin CIONTU
Quoted 12 lines · Catalin CIONTU
Quoted 12 lines

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?

Quoted 1 line
Quoted 1 line

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>