From: Lukas Hejtmanek <xhejtman@ics.muni.cz>
To: Jan Kara <jack@suse.cz>
Cc: linux-kernel@vger.kernel.org, kamezawa.hiroyu@jp.fujitsu.com
Subject: Re: swapping in 2.6.24-rc5-git3
Date: Tue, 18 Dec 2007 11:58:50 +0100 [thread overview]
Message-ID: <20071218105850.GA4249@ics.muni.cz> (raw)
In-Reply-To: <20071217171532.GK6979@atrey.karlin.mff.cuni.cz>
On Mon, Dec 17, 2007 at 06:15:32PM +0100, Jan Kara wrote:
> I think yes. 0 swappiness doesn't mean "no swapping at all". From the
> code in shrink_active_list() it seems that it just decreases likeliness
> of removing pages of mmaped files (i.e., also executables loaded in memory).
So, I tried to add some prints.
I have mapped ratio about 78 while scp-ing the file. Distress suddenly raises
from 0 to 100. At this poing, all the processes are swapped out.
I guess it happens if scp is faster than the local disk which happens if
I scp-ing over GE from desktop (with fast disk - and reading) to laptop (slow
disk - and writing).
This is my settings.
/proc/sys/vm/*
block_dump:0
dirty_background_ratio:10
dirty_expire_centisecs:2999
dirty_ratio:40
dirty_writeback_centisecs:499
drop_caches:0
laptop_mode:0
legacy_va_layout:0
lowmem_reserve_ratio:256 256 32
max_map_count:65536
min_free_kbytes:4006
nr_pdflush_threads:2
oom_kill_allocating_task:0
overcommit_memory:0
overcommit_ratio:50
page-cluster:3
panic_on_oom:0
percpu_pagelist_fraction:0
stat_interval:1
swappiness:0
vfs_cache_pressure:100
--
Lukáš Hejtmánek
next prev parent reply other threads:[~2007-12-18 10:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-17 13:17 swapping in 2.6.24-rc5-git3 Lukas Hejtmanek
2007-12-17 17:15 ` Jan Kara
2007-12-17 20:43 ` Lukas Hejtmanek
2007-12-18 10:58 ` Lukas Hejtmanek [this message]
2007-12-18 1:38 ` KAMEZAWA Hiroyuki
2007-12-18 1:44 ` KAMEZAWA Hiroyuki
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=20071218105850.GA4249@ics.muni.cz \
--to=xhejtman@ics.muni.cz \
--cc=jack@suse.cz \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.