bhyve: how to keep the host from starving the guest
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Jun 2023 10:44:03 UTC
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