-
kerneldove
if my vm host has 64 cores, and i give 8 cores to 10 vms that are running simultaneously (obviously assigning more cores than physically exist) then what happens? does bhyve refuse to start vms when they've all been assigned or do they just start sharing what capacity does exist?
-
LXGHTNXNG
I would imagine you'd have CPU contention and they'd start behaving just as behave other processes under CPU contention
-
kerneldove
efficiency would go down due to cpu time being wasted on contention battles i guess?
-
kerneldove
so i have windows 11 iot guest vm installed on fresh freebsd 14.4 + bhyve-vm. i gave it 16 cpu cores as guides say to: cpu=16, cpu_sockets=1, cpu_cores=16, cpu_threads=1, and it's very very sluggish. even idle with nothing running it uses 20-50% of the cpu. on the host side, running sudo top, i see it using 800% WCPU, and keeping host at 85% idle
-
kerneldove
or so (dell r430 with 64 cores across dual xeon) anyone have any clue?
-
kerneldove
i mean i know it's windows but still, this doesn't seem right
-
skered
kerneldove: If they're all running at 100% at the time then you would have issues.
-
skered
Over subscribing CPUs in a vm env is pretty common only because you're going to 100% all the time.
-
LXGHTNXNG
Polarity?
-
kerneldove
skered you mean NOT going to use 100% all the time?
-
skered
yea not
-
kerneldove
skered is it safe to oversubscribe cores as long as idle never reaches a sustained 0%?
-
CrtxReavr
I'm surprised that #FreeBSD is almost 30% of #Linux's size here on LiberaChat.
-
[tj]
you think we should kick 350 people to balance out the size?
-
» scoobybejesus volunteers to be one of the people who stays in this chan
-
CrtxReavr
Only if you're kicking them for #linux, but but I think you'd need to kick a lot more than 350.
-
CrtxReavr
s/for/from
-
joepublic
If someone knows how to convince benchmarks/kdiskmark to work I would love to hear it. All I get from it is "Benchmark Failed / No such file or directory" when pressing the button to test.
-
joepublic
fwiw I am running it with `sudo kdiskmark` to sidestep the need for permissions escalation.
-
skered
linuxer:
-
iRobbery
joepublic: it seems its icons its missing /usr/local/share/icons
-
iRobbery
and a ton of them
-
joepublic
Interesting. I'll have to chase that down and devise a solution I guess.
-
joepublic
Thanks.
-
iRobbery
though i doubt that's it, truss -o check.log kdiskmark
-
iRobbery
see what it wants to open in check.log
-
iRobbery
output a bunch of .. lets call it 'things'
-
iRobbery
there are probably better apps for, i still typically just dd or bonnie++ if i feel like staring at more numbers
-
polarian
after extensive testing for always on vpn on freebsd
-
polarian
I have concluded it will need coding :p
-
polarian
the best I got is all traffic but local traffic via wg
-
polarian
the issue is the routing table will always route local traffic first as /64 is smaller than /0, and /24 is smaller than /0
-
polarian
without said rules though, the phy cant route to the router, and static addressing isnt an option if you are using lots of public networks
-
polarian
a kernel option would likely be needed which would force all traffic via wireguard if enabled
-
polarian
if its not the wireguard endpoint, then ignore the routing table and go via wg
-
polarian
idk :p
-
polarian
Android has it implemented well
-
polarian
I need to work on captive portal detection script
-
rtprio
detect_204, if you will
-
mason
iRobbery: I need to bail, but I want to revisit your jail/nat stuff sometime. I've set up similar here and it's deeply pleasing. Switching from ipfw to pf was critical to it being simple and happy.
-
nimaje
polarian: how about using fibs for that? I think creating your wg interface with fib 1 tunnelfib 0 having your normal routing on fib 0 and set your default fib to 1 should work
-
polarian
I havent played with fibs :)
-
polarian
in fact I know nothing about it
-
polarian
u got some docs for it
-
polarian
ahhh
-
polarian
that would work well
-
polarian
just read a little bit of the setfib manual page
-
polarian
and then processes which need to bypass the vpn (like a captive portal check) can be switched to fib0
-
mason
polarian: Random thing I did a while back - needed different default routes for different services:
bpa.st/WKLA
-
mason
bbl
-
polarian
will look into it thx