From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zdenek Kabelac Subject: Re: mirrored device with thousand of mappingtableentries Date: Mon, 28 Feb 2011 14:38:46 +0100 Message-ID: <4D6BA566.1050305@redhat.com> References: <20110228114801.GZ3626@agk-dp.fab.redhat.com> <20110228121149.GA3626@agk-dp.fab.redhat.com> <20110228131028.GB3626@agk-dp.fab.redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids Dne 28.2.2011 14:13, Eli Malul napsal(a): > > OK, I will try that and check the implications of that, thanks!! > > But, do you know why having 10,000 extents is causing this overwhelming > memory usage? > If you really need that many devices - be also sure you have disabled this kernel config option: CONFIG_BLK_DEV_INTEGRITY For some reason it consumes massive amount of memory. Other than that - you should count with 64KB per device usually. Zdenek