[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071218105850.GA4249@ics.muni.cz>
Date: Tue, 18 Dec 2007 11:58:50 +0100
From: Lukas Hejtmanek <xhejtman@....muni.cz>
To: Jan Kara <jack@...e.cz>
Cc: linux-kernel@...r.kernel.org, kamezawa.hiroyu@...fujitsu.com
Subject: Re: swapping in 2.6.24-rc5-git3
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists