-
jbk
richlowe: anything specific?
-
jbk
we build our fork w/ libressl
-
jbk
but i'm not sure offhand what was involved (e.g. just ignore/nuke bits we don't use that delve into openssl internals)
-
jbk
though we also do have a number of patches applied as well
-
jbk
well they exist.. i'm not sure looking at them that they'd be relevant at all
-
sjorge
pmooney: one of my 2 nodes is broadwel
-
sjorge
E5-2680 v4
-
igork
hi all, i see we have removed 'bus_mps' from pcie_impl.h and some code, but i see comments with it at many places . will be better to remove all references about 'bus_mps'
-
andyf
Sounds good, no objection here.
-
danmcd
For those following along outside the joined/left spam... Here's t he Broadwell MSR info for pmooney
-
danmcd
0x48c: 0xf0106334141
-
danmcd
(Same as my Haswell sample(s).
-
Smithx10
is there any go lib for listening to illumos system events?
-
jbk
i don't think so
-
jbk
but be careful
-
Smithx10
./just-got-very-scared
-
Smithx10
-
Smithx10
Was hoping to create a counter for when physical interfaces change their link state
-
jbk
IIRC the sysevent client library starts a door server to recieve events
-
Smithx10
not sure if that's already available in kstat
-
jbk
and if you fork() at the wrong time
-
jbk
you hit a deadlock, and your process is unkillable
-
jbk
(it's a really thorny problem, so it's easier to work around it)
-
Smithx10
ahhh ok, will go a different way lol
-
jbk
if you fork a helper before attaching to sysevents, that works around it
-
copec
This is interesting, makes me want to setup a lab to test the optimization case with illumos
youtu.be/36qZYL5RlgY
-
tsoome_
jbk if you have time, could you check over
code.illumos.org/c/illumos-gate/+/2437? :)
-
fenix
→ CODE REVIEW 2437: 15067 linker set should be declared WEAK (NEW) |
illumos.org/issues/15067
-
tsoome_
thanks!
-
pmooney
tsoome_: thanks for updating the tests on that linker-set work
-
pmooney
it'll be nice to have that covered into the future
-
tsoome_
thanks for pointing to them, it is easy to forget about...
-
pmooney
I've been trying to make it a habit of adding tests for new stuff
-
pmooney
even if they are short or have incomplete coverage
-
pmooney
something is better than nothing
-
tsoome_
tests which are using test-runner also benefit from tagging now, I have found it extremely useful with zfs tests
-
jclulow
Smithx10: You could just configured syseventd tbh
-
jclulow
see also syseventadm(8)
-
Smithx10
jclulow: ahhh ok
-
jclulow
I believe you can just run any program in response to a particular sysevent
-
Smithx10
I'm really just interested in knowing how many times a physical link state changes
-
Smithx10
Think sysevent is the right facility for that?
-
Smithx10
I know that dmesg will log it, and maybe it would be better to just grok that ?
-
jbk
that would probably be better
-
jclulow
So, I would poll a kstat first
-
jclulow
if there is one
-
jclulow
And if there is not, that seems like a good RFE
-
jclulow
but syseventadm seems very reasonable otherwise
-
jclulow
It's pretty much what it's there for
-
jclulow
so you can do a thing in response to a system thing
-
gitomat
[illumos-gate] 14957 pcieadm overloads header1.iobasehi -- Robert Mustacchi <rm⊙fo>
-
rzezeski
`kstat -p ::mac:link_up`
-
jbk
if someone sends us an ICMP destination uncreachable message, do we actually do anything (e.g. route black hole)?
-
danmcd
We percolate ENETUNREACH up to appropriate sockets if the inner packet has enough for us to match upon.
-
danmcd
We may also rate-limit those because face it, some jackass could just spam you with 'em.
-
jbk
but that wouldn't impact _new_ sockets to the same IP, right?
-
danmcd
Once traffic moves, and subject to the aforementioned rate-limiting.
-
danmcd
(You'll have to get a fresh ICMP_DST_UNREACH for those new sockets.)
-
Smithx10
rzezeski: Thanks, but polling that every 15 seconds really doesn't help with measuring if its flapping
-
Smithx10
Think I might just inspect the kernel log for messages from within the prometheus scrape interval and bump the counts
-
rmustacc
If you're going to scrape at least scrape the ireport log so you can see the structured info.
-
Smithx10
rmustacc: ireport log ? not sure what that is
-
jbk
i suppose you could rig something up with dtrace as well -- just whenever mac_link_update() (or whatever it's called.. don't have it in front of me) is called..
-
rzezeski
I mean, we could also add a kstat to count up/down events
-
jbk
that too :)
-
Smithx10
rzezeski: that would be the <3
-
rzezeski
and honestly, that seems like a reasonable thing to add as kstats are useful for knowing that some type of behavior has been happening without the need to log/dtrace the entire time
-
rzezeski
like "oh wow my link has flapped 7777 times since boot, that seems wrong"
-
Smithx10
we hacked together something, to find it happening throughout our fleet, but wanted to get it into grafana, currently we just use the cmon plugins (
github.com/TritonDataCenter/triton-…cmon-agent/tree/master/docs#plugins). The Grok makes more sense for the scrape interval because I dont want to add another daemon... But a kstat would make this simpler
-
Smithx10
network folk / dc team gets a nice email now
-
rzezeski
Smithx10: okay well unless rmustacc knows of something that exists for this or has some objection I think it's worth adding an illumos issue, should be easy enough for any of us to pick up (lol anytime I say something is easy it turns out cursed)
-
yuripv
seeing the following when building bhyve-tests:
pastebin.com/FqzZiXw7, is it just me?
-
yuripv
hmm, pushed on Oct 2, must be something local; could it be related to binutils being 2.25?
-
richlowe
sounds possible