From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e3.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m1DFF0Es021885 for ; Wed, 13 Feb 2008 10:15:00 -0500 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m1DFErdn716876 for ; Wed, 13 Feb 2008 10:14:53 -0500 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m1DFEq6d017116 for ; Wed, 13 Feb 2008 08:14:53 -0700 From: Balbir Singh Date: Wed, 13 Feb 2008 20:42:01 +0530 Message-Id: <20080213151201.7529.53642.sendpatchset@localhost.localdomain> Subject: [RFC] [PATCH 0/4] Add soft limits to the memory controller Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org Cc: Nick Piggin , Paul Menage , Hugh Dickins , YAMAMOTO Takashi , Herbert Poetzl , Peter Zijlstra , Lee Schermerhorn , "Eric W. Biederman" , David Rientjes , Pavel Emelianov , Balbir Singh , Rik Van Riel , Andrew Morton , KAMEZAWA Hiroyuki List-ID: This patchset implements the basic changes required to implement soft limits in the memory controller. A soft limit is a variation of the currently supported hard limit feature. A memory cgroup can exceed it's soft limit provided there is no contention for memory. These patches were tested under KVM and on a PowerPC box, by running a programs in parallel, and checking their behaviour for various soft limit values. These patches were developed on top of 2.6.24-mm1. Comments, suggestions, criticism are all welcome! TODOs: 1. Currently there is no ordering of memory cgroups over their limit. We use a simple linked list to maintain a list of groups over their limit. In the future, we might want to create a heap of objects ordered by the amount by which they exceed soft limit. 2. Distribute the excessive (non-contended) resources between groups in the ratio of their soft limits series ------ memory-controller-res_counters-soft-limit-setup.patch memory-controller-add-soft-limit-interface.patch memory-controller-reclaim-on-contention.patch memory-controller-add-soft-limit-documentation.patch -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org