From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru>
To: "ALT Linux Sisyphus discussion list" <sisyphus@altlinux.ru>
Subject: [sisyphus] Re: Утекает память с новым ядром
Date: Tue, 1 Feb 2005 16:16:38 +0300 (MSK)
Message-ID: <3434.145.249.13.3.1107263798.squirrel@mojo.myroom.ru> (raw)
In-Reply-To: <20050201131026.GC9522@osdn.org.ua>
<цитата от="Michael Shigorin">
> On Tue, Feb 01, 2005 at 04:03:25PM +0300, Konstantin A. Lepikhov wrote:
>> Это не утечка а новое поведение - все
>> данные хранятся в
>> оперативной памяти для ускорения
>> дисковых операций и меньшего
>> обращения к swap.
>
> Ох. То кэш в своп заталкивают, то
> наоборот -- своп изгоняют...
> Воистину неисповедимы тараканы пишущих
> VM :(
from FAQ на con.kolivas.org:
Mapped watermark??
This readjusts the way memory is evicted by lightly removing cached ram
once the ram just under full capacity, if less than the "mapped watermark"
percent of ram is mapped ram (ie applications). The normal system is to
aggresively start scanning ram once it is completely full. The benefits of
this are:
1. Allocating memory while ram is being lightly scanned is faster and
cheaper than when it is being heavily scanned.
2. There is usually some free ram which tends to speed up application
startup times.
3. Swapping is an unusual event instead of a common one if you have enough
ram for your workload.
4. It is rare for your applications to be swapped out by file cache pressure.
Disadvantage: Less file cache.
The mapped watermark is configurable so a server for example might be
happy to have a lower mapped percentage. The default is 66 and a server
might like 33
echo 33 > /proc/sys/vm/mapped
This removes the swappiness knob entirely and deprecates all my previous
vm hacks (autoregulated swappiness, hard swappiness, kiflush).
--
WBR et al.
next prev parent reply other threads:[~2005-02-01 13:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-01 9:09 [sisyphus] " Vitaly Lipatov
2005-02-01 11:11 ` Aleksey E Birukov
2005-02-01 11:53 ` Ilia Menchikh
2005-02-01 13:03 ` [sisyphus] " Konstantin A. Lepikhov
2005-02-01 13:10 ` Michael Shigorin
2005-02-01 13:16 ` Konstantin A. Lepikhov [this message]
2005-02-01 22:50 ` Vitaly Lipatov
2005-02-02 8:03 ` Konstantin A. Lepikhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3434.145.249.13.3.1107263798.squirrel@mojo.myroom.ru \
--to=lakostis@anti-leasure.ru \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git