[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <37371333672160@webcorp7.yandex-team.ru>
Date: Fri, 06 Apr 2012 04:29:20 +0400
From: Alexey Ivanov <rbtz@...dex-team.ru>
To: linux-kernel@...r.kernel.org
Subject: mapped pagecache pages vs unmapped pages
In progress of migration from FreeBSD to Linux and we found some strange behavior: periodically running tasks (like rsync/p2p deployment) evict mapped pages from memory.
>From my little research I've found following lkml thread:
https://lkml.org/lkml/2008/6/11/278
And more precisely this commit: https://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4f98a2fee8acdb4ac84545df98cccecfd130f8db
which along with splitting LRU into "anon" and "file" removed support of reclaim_mapped.
Is there a knob to prioritize mapped memory over unmapped (without modifying all apps to use O_DIRECT/fadvise/madvise or mlocking our data in memory) or at least some way to change proportion of Active(file)/Inactive(file)?
--
Sincerely,
Alexey Ivanov
--
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