How much memory is really free?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: kernelnewbies@xxxxxxxxxxxx
- Subject: How much memory is really free?
- From: Xiangfei Jia <xjianz@xxxxxxxxx>
- Date: Wed, 27 Jul 2005 14:44:14 +1200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=E5ejxPDvORV0YP720K0SK7EKKstFeYtuGWgy7qbSeksBUo8setsq6qFHUotbV7+ghq9LjBH1WvJeLuBlahF2vpNIM3/+n39azc8gA9DUhhv54uaU96PyAvgoHdxd9l5t/Xbcd7HpdCGdtvk7LMWWB74ywbid27H12eMZSNy3owQ=
- Reply-to: Xiangfei Jia <xjianz@xxxxxxxxx>
- Sender: kernelnewbies-bounce@xxxxxxxxxxxx
I know that some part of memory is free, but they are used in caches to
optimise the performance when the system needs to allocate more memory.
And, dentry caches and disk buffer_head are used to minimise disk
access. SO, give the current mem info from "cat /proc/meminfo", how
sould I calculate how much memory is really free creently in the system?
> cat /proc/meminfo
MemTotal: 1017848 kB
MemFree: 10380 kB
Buffers: 37480 kB
Cached: 149868 kB
Can I just assume that 70% of un-used memory (un-used=mem_total -
buffers - cached) is free, without actually causing the system to
swapping?
Thanks in advance!
Fei
[Index of Archives]
[Newbies FAQ]
[Linux Kernel Mentors]
[Linux Kernel Development]
[IETF Annouce]
[Git]
[Networking]
[Security]
[Bugtraq]
[Yosemite]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux SCSI]
[Linux ACPI]