Daniel Swarbrick
Daniel Swarbrick
@maxime1907 Something is _really_ fishy if your scrapes are taking 20s with the ARP netlink collector enabled. Neither your number of ARP entries nor your number of interfaces would be...
And just to play devil's advocate, it's not unheard of for drivers to cause long delays in netlink sockets: https://unix.stackexchange.com/questions/584401/what-could-cause-af-netlink-socket-transactions-to-take-many-seconds Since this issue is the first that I've heard of...
@maxime1907 Thanks for providing the strace output. That really clarified what is going on behind the scenes. I don't know if that output was just a single scrape, or whether...
Thanks, but since the smartmon.sh script is essentially superseded by the smartmon.py, and will likely be removed at some point in future, can you please add this to smartmon.py also?
OpenShift supports setting specific DSCP for a pod's egress traffic: https://cloud.redhat.com/blog/using-qos-dscp-in-openshift-container-platform Perhaps standard k8s does also? Requiring the application to set TOS / DSCP may not work out that well,...
@hobbytp https://man7.org/linux/man-pages/man7/socket.7.html ``` SO_PRIORITY Set the protocol-defined priority for all packets to be sent on this socket. Linux uses this value to order the networking queues: packets with a higher...
@hobbytp In that case... https://man7.org/linux/man-pages/man7/ip.7.html ``` IP_TOS (since Linux 1.0) Set or receive the Type-Of-Service (TOS) field that is sent with every IP packet originating from this socket. It is...
I did some testing with [SetTOS](https://pkg.go.dev/golang.org/x/net/ipv4#Conn.SetTOS), and it looks like it successfully sets any desired TOS value, including high values like DSCP EF. Captured traffic confirms that the TOS value...
We can leave this issue open for a while to see if anybody registers interest, but AFAIK this hardware is nowhere near as common as the MegaRAID family of controllers....
This looks to me like more of a job for [chroot](https://man7.org/linux/man-pages/man1/chroot.1.html).