Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 06:44:03 -0400
From:      Aryeh Friedman <aryeh.friedman@gmail.com>
To:        FreeBSD virtualization <freebsd-virtualization@freebsd.org>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   bhyve: how to keep the host from starving the guest
Message-ID:  <CAGBxaXkcBuu70SjjW4ci-6Lhv24gqowf6T2Rj4Aig4sZLt-Tvg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I am a 12 core machine that I want allocate only 4 CPU's to the host
and 8 to a VM (the host is my desktop FreeBSD machine and the guest is
debian 11 used for playing around with learning AI model making).... I
have passed my GeForce 1030 (bottom of the line GPU for AI work it
seems) but since it appears that no one can get tensorflow, pytorch or
anything else that runs ANN's on a GPU to work on FreeBSD (I have
tracked down to the fact nvidia never ported CUDA to FreeBSD)... the
problem is sometimes during heavy work on the guest then the host
slows down and if the the host is doing heavy work (especially
resource intensive things like compiling lang/rust) that the host will
kill the guest if it runs out of available memory+swap (speaking of
that does wiring the memory at least prevent this?)

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGBxaXkcBuu70SjjW4ci-6Lhv24gqowf6T2Rj4Aig4sZLt-Tvg>