-
tozhu
danmcd: ping
-
danmcd
Hang on...
-
danmcd
We have a long-lived open bug on "libc ignores fadvise" but that's it.
-
Agnar
I'm currently trying to PXE boot a bhyve VM, the boot file is grubx64.efi, it also downloaded a linux kernel (11M) and now a livefs image (90M) via tftp - which is terrible slow. looking on the host system running a pretty recent OpenIndiana I see that VM being 100% in systemcalls in mpstat, single thread...
-
Agnar
transfer rate is around 10kb/s
-
Agnar
(on a 10GB LAN)
-
Agnar
and I did some speed tests from another server by just using a binary get via tftp on the exact same files, the get finishes in a few seconds
-
Agnar
so it's obviously something grubx64.efi doing with bhyve
-
Agnar
hey wacki!
-
wacki
Hi Agnar!
-
Agnar
and I already map my vnic to bhyve with -s 6:0,virtio-net-viona,bootstrappub0, so it should be fast
-
jclulow
Agnar: TFTP is unfortunately extremely inefficient
-
jclulow
the way the emulated NIC works you usually end up having to do something expensive like a system call
-
jclulow
but out of the VM
-
Agnar
jclulow: ok, so this is an expected behaviour
-
jclulow
I wouldn't say it's expected per se
-
jclulow
Just that I'm not surprised it isn't fantastic
-
Agnar
hehe
-
jclulow
If it's really only 10KiB/s
-
Agnar
ok, gotcha
-
jclulow
That's pretty bad haha
-
Agnar
yeah, dlstat on the vnic shows 50kb/s every 5 seconds
-
jclulow
10 * 1024 = 10240 bytes, divide by 1500 MTU (let's assume) is ~6.82 frames / sec
-
jclulow
that's, what, 146msec between frames
-
jclulow
If I were a betting man I'd say it's not using interrupts
-
jclulow
but just spinning busy looping polling for frames
-
jclulow
which at least probably explains the high CPU
-
jclulow
But this is all obviously guesswork
-
jclulow
I would probably get a packet trace of the TFTP session and look at it to see what it's doing
-
Agnar
and yepp, I just wondered since oxide demo'd openshift on their rack and I wondered if they also used UPI installation with PXE for it, or the assisted installer of openshift from disk images
-
jclulow
I think we would generally try to do the latter, with the images
-
jclulow
PXE booting makes sense for hardware but if you have a better way to get install media onto your systems, physical or virtual, you should do that instead
-
Agnar
jclulow: it's not better, as it is not hands-off
-
jclulow
It can't be made hands-off?
-
jclulow
Through some automation?
-
Agnar
the PXE way is hands-off
-
Agnar
jclulow: nah, stupid web assistent ;)
-
jclulow
heh
-
jclulow
Well I'm not that close to the openshift stuff
-
Agnar
jclulow: be happy, I get paid for training it ;)
-
jclulow
ha
-
jclulow
My proximity is intentional :P
-
Agnar
hehehe
-
jclulow
I ported a Spotify client to OmniOS on the weekend to avoid needing to use a Linux machine, if that's any indication :P
-
Agnar
but I do run an OpenShift already in bhyve on OI and people always freak out when I tell them I run their containers in pods on openshift in bhyve in containers on illumos ;)
-
jclulow
haha
-
Agnar
which runs very well when installed
-
Agnar
and the X4-2 just eats around 210W, which is also very good for what it runs
-
jclulow
Yeah not bad
-
Agnar
can't afford an oxide rack...(yet ;))
-
Agnar
(will look at ebay in 10y ;)
-
Agnar
oh and by the way...are you a bit familiar with the pptadm and ppt driver for bhyve? I tried to pass through a fc hba into a vm, but ppt always matches all cards. the limited docs say I could specify a path in ppt_matches but that doesn't seem to work...
-
Agnar
ha, told grub to load the kernel from http ;)
-
Agnar
79MB/s ;)
-
tsoome_
grub2 tftp blocksize is 1024, thats part of the reason. and the value is built in, so you can not change it from config file.
-
tsoome_
loader defaults to 1428, fallback on error to 512 and max value is 9008.
-
gitomat
[illumos-gate] 16581 nvme cannot hold locks when calling into blkdev -- Robert Mustacchi <rm⊙fo>
-
gitomat
[illumos-gate] 15929 d_qactive is a red herring -- Robert Mustacchi <rm⊙fo>
-
Agnar
tsoome: yeah, I saw that in snoop...grub is terrible...
-
patrick2
I have a nice LCD panel SunRay 3 or 3i ; does anyone have tips on installing it on OmniOS or a LX or OpenSolaris based zone ?
-
otis
sunray need sunray software (and also firmware)
-
otis
SUNWsrs
-
patrick2
is that open source or will I have to search for it?
-
ptribble
We (more specifically Agnar) had a SunRay booted off illumos on our stand at FOSDEM a few years back
-
ptribble
-
patrick2
thank you
-
patrick2
if it works out, I can get a few more, clean, for cheap
-
patrick2
so could have 1 homelab server and put everything on it, then put SunRays all over the house
-
patrick2
less hassle/duplication of stuff getting installed