Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 2013 13:25:39 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Peter Jeremy <peter@rulingia.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Mixing amd64 kernel with i386 world
Message-ID:  <30CAFBF9-4119-4E3D-A5B0-4520E35F1601@FreeBSD.org>
In-Reply-To: <20130928103758.GC27231@server.rulingia.com>
References:  <20130928103758.GC27231@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3EF7EB08-9956-427A-A572-2DD3BAD153E3
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On Sep 28, 2013, at 12:37, Peter Jeremy <peter@rulingia.com> wrote:
> I have a system with 4GB RAM and hence need to use an amd64 kernel to use
> all the RAM (I can only access 3GB RAM with an i386 kernel).  OTOH, amd64
> processes are significantly (50-100%) larger than equivalent i386 processes
> and none none of the applications I'll be running on the system need to be
> 64-bit.
> 
> This implies that the optimal approach is an amd64 kernel with i386
> userland (I'm ignoring PAE as a useable approach).  I've successfully
> run i386 jails on amd64 systems so I know this mostly works.  I also
> know that there are some gotchas:
> - kdump needs to match the kernel
> - anything accessing /dev/mem or /dev/kmem (which implies anything that
>  uses libkvm) probably needs to match the kernel.
> 
> Has anyone investigated this approach?

I have only run i386 jails on amd64, just like you.  Though for the use
case you are describing, the really optimal approach would be to have
real x32 support.  Unfortunately, that is quite a lot of work... :)

-Dimitry


--Apple-Mail=_3EF7EB08-9956-427A-A572-2DD3BAD153E3
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)

iEYEARECAAYFAlJGvLgACgkQsF6jCi4glqPkOQCfc5USkKfbfI38xL9oNLMpy+cN
ko0AoLh/IZpYCL2Y85NmLfKihFORz2bM
=gXK/
-----END PGP SIGNATURE-----

--Apple-Mail=_3EF7EB08-9956-427A-A572-2DD3BAD153E3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30CAFBF9-4119-4E3D-A5B0-4520E35F1601>