Kernel swappiness και απόδοση

V13 v13 at priest.com
Sat Feb 17 14:14:48 EET 2007


On Saturday 17 February 2007 14:16, Θοδωρής Λύτρας wrote:
> Anyway, αυτό το overcommit_memory τι είναι? (Και γενικά, που μπορώ να
> διαβάσω πέντε πράγματα -όσο πιο απλά γίνεται- για τα διάφορα kernel
> options?)

Apo to Documentation/sysctl/vm.txt:
----------
overcommit_memory:

This value contains a flag that enables memory overcommitment.

When this flag is 0, the kernel attempts to estimate the amount
of free memory left when userspace requests more memory.

When this flag is 1, the kernel pretends there is always enough
memory until it actually runs out.

When this flag is 2, the kernel uses a "never overcommit"
policy that attempts to prevent any overcommit of memory.  

This feature can be very useful because there are a lot of
programs that malloc() huge amounts of memory "just-in-case"
and don't use much of it.

The default value is 0.

See Documentation/vm/overcommit-accounting and
security/commoncap.c::cap_vm_enough_memory() for more information.
----------


>
> Είναι λίγο βαθιά αυτά τα νερά για μένα...
>
> Θοδωρής
>
> --
> "Beauty is transitory"
> "Beauty survives"
> 	- Mr. Spock & Capt. Kirk, "That which survives", stardate unknown
> by Theodore Lytras <aspirin at myrealbox.com>




More information about the Linux-greek-users mailing list