-
wiedi
has anyone come across this device before? pci1d6a,1 (pciex1d6a,4c0) [Aquantia Corp. AQtion AQC113 NBase-T/IEEE 802.3an Ethernet Controller [Antigua 10G]]
-
wiedi
seems they were bought by marvell but there are freebsd driver sources available
github.com/Aquantia/aqtion-freebsd
-
otis
yes, even in-tree in 16-CURRENT
-
otis
a friend of mine had aquantia in his home pc-router, with freebsd.
-
wiedi
ah nice! Here there are two of those in a "ugreen NASsync dxp8800+". For now I've just plugged in a supported pcie card, otherwise the device seems to run well with illumos :D
-
paulf
away from my illmos box atm, does /usr/bin/env support -S?
-
nomad
omnios manpage doesn't mention it. Got a test?
-
paulf
anything should do /usr/bin/env -S true
-
jbk
-S appears to be a GNUism
-
jbk
/usr/gnu/bin/env might work
-
paulf
Originally from FreeBSB I believe, but adopted by GNU
-
nomad
It does not work with /usr/bin/env but does work with /usr/gnu/bin/env on OmniOS 151054
-
paulf
OK thanks
-
jbk
by any chance has anyone tried to use lightningcss via npm on illumos?
-
jbk
it seems to be some sort of unholy chimera of node and rust
-
richlowe
jperkin: I think your mpidr changes aren't needed now, can you close the PR if you agree?
-
richlowe
andyf: unrelated in fact but not spirit to your make/spawn work. I have wanted, since sommerfeld showed me, to introduce Makefile.subdirs and use make -Cw in it so that make can 'exec' without a shell, and avoid `cd $(@); pwd; $(MAKE) $(TARGET)` (which has to be shelled out, because ';' is one of the magic characters)
-
richlowe
it is almost certainly not _actually_ heavy though
-
andyf
The conversion of `dmake` to use posix_spawn shaved 4% off a full gate build (11% off system time) on my AMD Rome. That's more than I expected as it's not that spawn heavy, I assumed.
-
richlowe
oh wow
-
andyf
Switching to posix-spawn-in-kernel on top of that didn't make much difference for that workload.
-
danmcd
After this week's smartos-live release goes through the testing grind I'd like to run my "build all four combos" tests where each one has any changes in this space you have. Since SmartOS uses in-tree dmake, maybe the dmake-only changes don't even need a machine reboot?
-
richlowe
andyf: how does gcc spawn children? there's a fair number of processes below the compiler frontend too
-
richlowe
if you're actually hunting seconds in builds
-
andyf
danmcd - they do not, you just need to replace /ust/bin/make (dmake is a symlink to it)
-
andyf
richlowe I'm not really hunting seconds, it's a side quest from the posix_spawn stuff.
-
andyf
but gcc is worth a look.
-
andyf
-
fenix
→ CODE REVIEW 4805: 18161 dmake(1) could use posix_spawn() to run commands (NEW) |
illumos.org/issues/18161
-
danmcd
Hmmm....
-
andyf
It's always fun matching the style of some of the older code :)
-
richlowe
I would not be against, in the worst cases (like I tried with libm, but got tangled in reviews...) an automated stylistic pass as a separate commit
-
richlowe
if you wanted to clang-format, or uncrustify, into something more illumos-y
-
richlowe
and while me not being against it isn't so important, core weren't against it when I tried...
-
jperkin
richlowe: done, thanks
-
jperkin
andyf: I'd love posix_spawn everywhere, made a clear difference when I patched mksh and bmake on macOS for pkgsrc builds
-
jbk
from a _quick_ glance, it appears gcc uses vfork() + execv[p]()
-
jbk
uugh..
-
jbk
why does it still default to 4.4.4
-
andyf
jperkin - the main win for dmake was the switch from fork() to vfork(), since it's still using the libc posix_spawn.
-
jbk
ok.. so it did
-
andyf
jbk - probably not too bad; at least it's vfork!
-
andyf
but if anything's very multi-threaded, the kernel stuff will help when it's ready (and a switch to posix_spawn to make use of it).
-
jbk
it looks like it might use it in at least 15
-
jbk
though there's some other voodoo going on