-
jbk
Smithx10: unfortuantely, the way that aggrs work with mac for performance reasons, it's not a simple fix
-
Smithx10
maybe 1 day... link aggrs will support lldp :P
-
unixwitch
hello. is bhyve in illumos-gate now? i see the manpage is on illumos.org but i'm not sure branch those come from...
-
yuripv
yes, for a long time
-
jclulow
FYI: I updated Gerrit to 3.9.1 -- let me know if you see anything weird.
-
tsoome
is the RTI queue being processed?
-
Smithx10
Trying to statically compile a go binary, GOOS=illumos CGO_ENABLED=1 go build -ldflags "-linkmode 'external' -extldflags '-static'" -v . results in ld: fatal: library -lsocket: not found and a few others
-
jbk
maybe the '-static' bit?
-
jbk
AFAIK, you can't statically link any of the system libraries
-
Smithx10
:( Was trying to write a small tool to take out interfaces from aggregations and get the LLDP info and put them back.... was gonna grab the lldp info with
github.com/google/gopacket
-
Smithx10
all the CNs dont have libpcap, was hoping to just make it static*
-
richlowe
we don't provide static versions of any system library
-
ptribble
The linux instructions won't work, you can't create a static binary
-
richlowe
you should be able to statically link libpcap, but dynamically link libsocket
-
richlowe
but I can't tell you how to do that through the go soup unfortunately
-
ptribble
But you might try something like:
-
Smithx10
richlowe that should probably work
-
ptribble
go build -ldflags "-linkmode 'external' -extldflags '-Wl,-Bstatic -lpcap -Wl,-Bdynamic'"
-
ptribble
which should only pick up libpcap statically
-
Smithx10
ptribble: you are the man :)
-
danmcd
ping @andyf re fenix illumos#15998 ?
-
fenix
FEATURE 15998: Increase the rate and efficiency of vm_pageout (Closed)
-
fenix
-
danmcd
In the SmartOS version, there are several cv_signal() calls in usr/src/uts/common/vm/vm_page.c that got converted to cv_broadcast.
-
danmcd
(And they got hidden by the redefined-for-upstream WAKE_PAGEOUT_SCANNER() macro.)
-
danmcd
I'm curious, should those (as well as one in usr/src/uts/i86pc/vm/vm_machdep.c:3549) get upgraded to cv_broadcast?
-
rmustacc
Presumably they were changed in SmartOS because of the multiple scanning hands?
-
danmcd
But isn't 15998 introducing those same multiple scanning hands?
-
rmustacc
Hmm, maybe I confused those bits then. Sorry.
-
danmcd
It feels like either missing review feedback ("you don't need to cv_broadcast() there!") **OR** missing code changes.
-
danmcd
"missing review feedback" ==> something internal that should've been documented on gerrit.
-
Smithx10
@ptribble actually hmmm ld.so.1: foo: fatal: libpcap.so.0: open failed: No such file or directory it made the binary but when I went to run it on the other box still got libpcap not found
-
sommerfeld
On a related note to 15998, should fenix illumos#13567 be closed now?
-
fenix
FEATURE 15998: Increase the rate and efficiency of vm_pageout (Closed)
-
fenix
-
sommerfeld
wrong guess, fenix. how about 13567 ?
-
sommerfeld
-
fenix
→
BUG 13567: maxpgio is too low for modern systems (New)
-
sommerfeld
Smithx10: why not just install libpcap on that machine? (possibly in a non-standard location, with LD_LIBRARY_PATH to find it if need be)
-
ptribble
Smithx10: you can get the exact gcc command line it's issuing with
-
ptribble
go build -ldflags "-linkmode 'external' -extldflags '-lssp -Wl,-Bstatic -lpcap -Wl,-Bdynamic' -v"
-
Smithx10
-
ptribble
which might show if it's also pulling in libpcap a second time
-
ptribble
Ah. Let me look
-
gitomat
[illumos-gate] 16147 OpenZFS ZTS: normalize on use of `sync_pool` and `sync_all_pools` -- Allan Jude <allan⊙kc>
-
ptribble
Yep, there's the extra "-L" "/opt/local/lib" "-lpcap" so you need to make sure that it doesn't put that first "-lpcap" into the link line
-
danmcd
@sommerfeld we could, I suppose. @jclulow, since he filed the bug, is likely the authority of this.
-
Smithx10
-
ptribble
Smithx10: I guess it will put those LDFLAGS first, then the extra flags you specify with extldflags, so I can imagine removing -lpcap from there ought to work
-
sommerfeld
danmcd: on the cv_broadcast vs cv_signal thing, it may be more of a tuning issue than one of correctness. When memory is low, do you want to poke one scanner or all of them? (as an aside, it appears that the underling primitives will do FIFO wakeups among threads of the same priority so it should round-robin amongst all the scanner threads). Probably better to be consistent about it, though.
-
jclulow
richlowe, sommerfeld: I'm not sure about closing 13567, to be honest. I am not sure if we've addressed the uses of maxpgio outside of the pageout rate stuff?
-
jclulow
Or the async_list_size thing
-
jclulow
I've put a note in the ticket there
-
gitomat
[illumos-gate] 16148 zfs-tests: enospc_002_pos is failing -- Brian Behlendorf <behlendorf1⊙lg>
-
sommerfeld
jclulow: thanks for updating the bug.
-
jclulow
You're welcome!
-
Smithx10
@jbk so it looks like I am able to at least read the frames from ToR on the interfaces in the aggregations