From owner-freebsd-virtualization@FreeBSD.ORG Sat May 2 18:52:47 2009 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC472106566C for ; Sat, 2 May 2009 18:52:47 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 27E848FC08 for ; Sat, 2 May 2009 18:52:46 +0000 (UTC) (envelope-from olivier@gid0.org) Received: by fxm6 with SMTP id 6so2833228fxm.43 for ; Sat, 02 May 2009 11:52:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.108.140 with SMTP id f12mr609206fap.69.1241289034483; Sat, 02 May 2009 11:30:34 -0700 (PDT) In-Reply-To: <49FC812B.2070305@elischer.org> References: <49FC812B.2070305@elischer.org> Date: Sat, 2 May 2009 20:30:34 +0200 Message-ID: <367b2c980905021130i76012f91i7cce93edd55cacad@mail.gmail.com> From: Olivier SMEDTS To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: virtualization@freebsd.org Subject: Re: VIMAGE status 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: Sat, 02 May 2009 18:52:47 -0000 2009/5/2 Julian Elischer : > The VIMAGE code is nearly all in the the kernel. > > One is now able to make VIMAGE kernels (add options VIMAGE) > though they don't actually allow you to make multiple > vimages instances yet.. > > The VIMAGE option enables all the low level changes needed > throughout the kernel. > > The VIMAGE_GLOBALS option basically sets thing sback to how they were > before. > > Having neither (the default) gives a kernel that is a kind of hybrid. > > The Hybrid state is what will go forward as 'NON-VIMAGE' mode > and the VIMAGE_GLOBALS mode will probably go away in time as > it complicates the code. > > The aim of this mail is to ask people to try add the VIMAGE option > to their regular kernels and try use them as you woudl normally. > You will not yet be able to use any new VIMAGE features but we > should be fully compatible with previous kernels. Here is a warning I have when building kernel with options VIMAGE and INET6= : cc -c -O2 -pipe -march=3Dnative -fno-strict-aliasing -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/work/src/sys -I/work/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D1000 -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /work/src/sys/netinet6/mld6.c cc1: warnings being treated as errors /work/src/sys/netinet6/mld6.c: In function 'vnet_mld_idetach': /work/src/sys/netinet6/mld6.c:3145: warning: unused variable 'vnet_inet6' *** Error code 1 > > Please report any concerns to the freebsd-virtualization@ mailing list. > > THEORETICALLY you should not see any changes in behaviour, however we hav= e > the following issues: > > * SCTP is not fully converted yet. add 'nooptions SCTP' for now if you > =A0are not using it yet. > > * An NFS (crash) issue was reported. This MAY have been fixed... > > > Theory tells us that all three kernel options should behave about the sam= e > but if you do try this, and have any benchmarking facilities, > it would be incredibly useful if you could let us know if you see any > performance changes between the three. > > > thanks, > > Julian (currently running a VIMAGE kernel myself) > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."