From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 17 15:39:01 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F6D106564A for ; Wed, 17 Nov 2010 15:39:01 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 548398FC19 for ; Wed, 17 Nov 2010 15:39:00 +0000 (UTC) Received: by pxi1 with SMTP id 1so557474pxi.13 for ; Wed, 17 Nov 2010 07:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=e204mNvBvBXd5Y+7m1kHh5x+whPjXNSKfYW9tYHBmLE=; b=CoEd6iW+taj38ZwxOCNh1u2C92Ndv0Ofh2MZvErQDwI655tQxkISyJVUUH+Khyk3zq zAlfW/GOfNENu5BjnxLmlFv174QoxmcDFDTvPI0TpClPCD6c7zgxJ4+htuPHsfqyEL0C +fdfFbQNhqL0gTzIvSdTAtjBoJCKpS4vbvdMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LkgcbKF3/VEabmLqygYu3PjcpyslAdeIpGnQjlb3if9TKJrbscRSZu9LICVwMIa1IA SMgiwRqmeNzcCo21tidJ5LCNnYmoEtLbqjkiPbbHZ4CT4X79zRtoWRNNsl4e5CW+ZtwL ld8xf3fp85luj/RHnRaOJONkRWR4VveiIP0og= MIME-Version: 1.0 Received: by 10.142.171.20 with SMTP id t20mr7125940wfe.242.1290006855334; Wed, 17 Nov 2010 07:14:15 -0800 (PST) Received: by 10.142.245.11 with HTTP; Wed, 17 Nov 2010 07:14:15 -0800 (PST) In-Reply-To: <20101117131438.I24596@maildrop.int.zabbadoz.net> References: <201011170627.28025.thierry.herbelot@free.fr> <20101117055208.S24596@maildrop.int.zabbadoz.net> <201011171345.06789.zec@icir.org> <20101117131438.I24596@maildrop.int.zabbadoz.net> Date: Wed, 17 Nov 2010 09:14:15 -0600 Message-ID: From: Brandon Gooch To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD virtualization mailing list Subject: Re: VIMAGE: Freed UMA keg was not empty X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 15:39:01 -0000 On Wed, Nov 17, 2010 at 7:17 AM, Bjoern A. Zeeb wrote: > On Wed, 17 Nov 2010, Marko Zec wrote: > >> Actually, we never seriously discussed or revisited the issue with >> separate >> UMA pools for each vnet instance. >> >> My original motivation when O introduced separate UMA pools was primaril= y >> in >> making it easier to spot resource leaks, and to prove the correctness of >> the >> whole VIMAGE / VNET thing. =A0Having more or less achieved those goals, >> perhaps >> the time has come to move on. =A0Having said that, and given that the >> current >> VIMAGE resource allocation model is far from being optimal (a lot of >> memory >> sits reserved but 99% unused, and cannot be reclaimed later on vnet >> teardown), perhaps it's time that we reconsider using unified UMA pools. > > I think there is a misunderstanding here; =A0it can be reclaimed by the > time we have the teardown properly sorted out and it will immediately > help normal non-VIMAGE systems under memory pressure as well. > The problem is that, at least for TCP (and UDP in one special case as > I found after lots of testing), we are no there yet. > > After that, when it comes to resource usage, I am still wondering how > trasz' resource limits will plug into that. =A0By the time we can see > those coming together we should be able to decide whether to go left > or right. > I've been running into this memory exhaustion as well, having a need to stop and start my VIMAGE jails frequently. I'm confident that the proper solution will be worked out, but I wonder what sort of time-frame we may be looking at -- is VIMAGE expected to be production by 9.0-RELEASE? Also, does anyone know the current status of trasz's work (which I believe is to be completed December of this year)? I hope it's still on schedule :) -Brandon