-
tpefreedom1
hello
-
angry_vincent
Hi.
-
LxGHTNxNG
blerp
-
Lovis_IX
hello there. Sorry skered I guess no.
-
dirtwash
morning, i got an old 11.3 server up that suddenly shows high load 12+ on an 8core cpu. But I can't see why...process load is minimal, disks are OK, I see no errors whatsoever in dmesg. Any ideas how to investigate this? Im not too used to freebsd. Thanks
-
dirtwash
systat reports high interrupt load hm
-
dirtwash
can someone help me interpret this vmstat result?
pastebin.com/raw/n21DYSAc does it look like ix0 is the cause of this? ix1 has high count too thoguh
-
meena
dirtwash: do you got two ix(4) interfaces. and you have setup queueing on them?
-
meka
meena, how do you setup queueing? I have same interfaces as dirtwash but I don't have the same problem (14-CURRENT here)
-
meena
meka: pf seems to be the only way to add support to it
-
meena
and so maybe it's just blocklistd's queues?
-
meka
Wait, I thought you're talking about multiqueue card and activating it's queues
-
debdrup
interrupt count is usually a function of the traffic that an interface is receiving, if it's doing high-rate traffic handling it's usually a good idea to switch to polling
-
meena
huh? how do you do that?
-
meena
meka: I didn't know that was a thing
-
» meena doesn't know much about real hardware
-
meka
meena, I don't know much, either, I just know that enabling ATLQ in the kernel forces all ethernet drivers to switch to single queue, so I thought you know something I don't (which is not hard)
-
debdrup
ALTQ/dummynet is about shaping traffic.
-
meena
10:50 <meena> huh? how do you do that? ➡️ ifconfig ix0 polling
-
debdrup
For example, if you're doing VoIP + lots of HTTP(S), you want to reserve a (relatively small) amount of bandwidth for the VoIP, because it's very sensitive to latency (and delta latency) - so you configure network queues such that VoIP is highly classified whereas HTTP(S) is classified as bulk traffic.
-
debdrup
meena: no, you need device polling enabled in the kernel, otherwise it won't do anything.
-
meena
oy, why isn't that in GENERIC yet?
-
debdrup
Because it's not universally a benefit.
-
debdrup
There's no point in using polling if you aren't doing near-linerate routing.
-
debdrup
It's ultimately about reducing invulntary context switches at high load.
-
meena
aye
-
meena
-
VimDiesel
Title: 270528 – more swap is getting used
-
bsdbandit
good morning
-
debdrup
meena: if by strange you mean useless, sure
-
debdrup
docs.freebsd.org/en/articles/problem-reports hasn't been followed, and there's no real evidence of there being a bug
-
VimDiesel
Title: Writing FreeBSD Problem Reports | FreeBSD Documentation Portal
-
debdrup
by no evidence of there being a bug, i mean there's no control that it's being compared against
-
meena
that was my first comment
-
paulf
a crappily written bug report
-
paulf
"some stuff happened"
-
paulf
does at least mention releng/13
-
debdrup
i'm not sure what relevance the branch has
-
debdrup
besides which, there's no such thing as releng/13
-
paulf
well eliminates 11 12 and 14 at least
-
debdrup
not really
-
debdrup
there's no control, so you can't eliminate anything
-
debdrup
for all we know from the bug report, the user is comparing against linux or windows
-
meena
the two Operating Systems:
oxide.computer FreeBSD and Ubuntu
-
VimDiesel
Title: Oxide Computer Company
-
debdrup
don't oxide target illumos?
-
meena
🤷🏻♀️
-
debdrup
i will say, i do love their rack scale designs that they've been talking about
-
debdrup
rectifier in the middle, every machine is powered through direct current bus bars
-
debdrup
they borrowed the concept from the hyperscalers, because the hyperscalers don't make their designs available to anyone else
-
debdrup
(also it's part of opencompute, so anyone's free to copy the idea as far as i understand it, it's just that nobody has)
-
meena
"borrowed"?
-
debdrup
-
debdrup
i mean, opencompute probably didn't invent it either, to be honest
-
debdrup
the idea of bus bars providing dc power isn't exactly new
-
debdrup
but ocp is the first implementation of it i know of on a modern hardware platform
-
debdrup
anyway, it's a neat idea in terms of not wasting power, we'll see how the rest of it plays out
-
meena
debdrup: now you just need to get applications to suck less power…
-
debdrup
meena: rctl, see cputime. ;)
-
» meena needs to try something…
-
meena
set_loginclass(random()); + rcctl on that…
-
yuripv
passing random pointer?
-
meena
yuripv: a random string, something that doesn't exist in /etc/login.conf
-
meena
if you pass a non existing class name to limits( 1) it says: (paraphrasing here, cuz I'm away from the computer again) this class doesn't exist, I'll go with default
-
meena
what's rctl(8)'s underlying syscalls?
-
yuripv
truss it! :D
-
yuripv
apropos -s2 rctl
-
debdrup
src/sys/kern/kern_racct.c is probably a good place to start
-
meena
yuripv: i've read
github.com/freebsd/freebsd-src/blob/main/usr.bin/rctl/rctl.c and it's just rctl_add_rule(2) but according to the docs it only adds the rule to the database…
-
VimDiesel
Title: freebsd-src/rctl.c at main · freebsd/freebsd-src · GitHub
-
» debdrup remembers when rctl used to be called hierarchical resource limits
-
debdrup
probably good that it got renamed, because that's a handful to type and remember
-
debdrup
-
VimDiesel
Title: Hierarchical_Resource_Limits - FreeBSD Wiki
-
meena
hrl sounds more fun to say than rctl tho
-
debdrup
yes, yes it is
-
» meena 's first language has a bunch of words with "r" as the emphasized letter: krv, vrt,
-
yuripv
-
VimDiesel
Title: $ grep -oE 'rctl_[a-z_]+' usr.bin/rctl/rctl.c | sort -urctl_add_rulerctl_get - Pastebin.com
-
yuripv
so i'm not sure what you meant previously; also see the apropos command above :)
-
debdrup
i wonder why that manual page doesn't have an alias for rctl(2) which is .Xr'd in rctl(4) and rctl(8)..
-
meena
-
VimDiesel
Title: rctl(4)
-
gzar
anybody care to help setting up the steam client? it reports 'authorization required but no authorization protocol specified' and also 'cannot open display:' i've follow the instruction and am running `steam' after the `steam-install' command on the `steam' dedicated account. I've setup a password for it, is that why it wont work?
-
debdrup
meena: right, that's what I was saying;
cgit.freebsd.org/src/tree/lib/libc/sys/Makefile.inc#n455 needs a link to rctl.2
-
VimDiesel
Title: Makefile.inc « sys « libc « lib - src - FreeBSD source tree
-
debdrup
and then rctl(4) and rctl(8) needs to have cross-references to it with .Xr rctl 2
-
meena
ah
-
meena
I misread you: i thought you meant: rctl(4) and rctl(8) reference rctl(2), but there's no such alias
-
debdrup
fair
-
debdrup
no harm no foul
-
ridcully_
-
VimDiesel
Title: x11 - How to enable xhost access from second user when display:0 is on first user? - Unix & Linux Stack Exchange
-
meena
where is the rctl database?
-
gzar
very likely not, thanks, will check this out
-
debdrup
meena: it's an in-memory thing that gets read from rctl.conf(5), iirc
-
debdrup
not an on-disk thing like what's found in /var/db/
-
debdrup
if the word dataset didn't have connotations from zfs, that might be a better word for it
-
debdrup
it's not a database in the relational sense, more in the array sense
-
debdrup
database as in organized collection of structured data, i guess is the way to say it properly?
-
debdrup
i'm not saying racct/rctl uses arrays, obviously, since i haven't looked at it in probably a decade?
-
gzar
thanks ridcully_ , that did the trick
-
drobban
ridcully_: read your answer and started scrolling after someone with steam issues =D
-
meena
debdrup: I want thinking /var/db, but more like /etc/pwd.db and their like
-
gzar
oh well, it seems like steam wont start either way
-
gzar
seems to be stuck in some 'assertion failure' loop or something
-
meena
gzar: what's dtruss say?
-
gzar
i dont have dtruss
-
meena
gzar: then install dtrace-toolkit
-
meena
-
VimDiesel
Title: 270546 – nullfs prevents zfs from freeing space
-
_xor
Aside from putting it inside of a jail, are there other options to limit a process to a specific network interface? (assume the process doesn't support configuration for that)
-
_xor
I was looking at the rctl man page, but didn't see a resource listed for netif.
-
_xor
In my case, the issue is that I use an app that utilizes UDP broadcast. My machine has a primary interface (re0) and a bridge0 interface (for jails, etc). Problem is that the app is is broadcasting on all interfaces, which is causing it to screw up due to duplicate broadcasts (one going out on re0, and another going out on bridge0).
-
_xor
I could use pf to block it, but I don't want to restrict the ability of bridged jails to be able to broadcast if necessary. Ideally it would be done via some host mechanism so that said process only sees re0, while everything else by default can see bridge0.
-
_xor
Oh, just hit me, can devfs.rules + devd accomplish this?
-
vlm
_xor: maybe you could use vlans to get seperate layer 2 multicast? Or maybe there some equivalent to virtual ethernet in freebsd that you could bind the process to? not very good with networking just thought id put out some thoughts
-
vlm
ohh udp multicast so not layer 2 multicast then sorry
-
meena
hope do you set something at
-
meena
-
VimDiesel
Title: Re: Periodic rant about SCHED_ULE
-
meena
how…
-
meena
let's try this again: how do you set a process / process group (service) to be RT?
-
rtprio
real time priority?
-
rtprio
man 1 rtprio
-
rtprio
i.have been waiting years for this question
-
ketas
rtprio waited for yeara to become useful
-
_xor
lol
-
ketas
_xor: you're also waiting for your turn, isn't it?
-
meena
rtprio: thanks!
-
meena
rtprio: I'm surprised it's in section 1
-
meena
it's/you're
-
linsux
i installed fbsd but there is no boot loader
-
meena
linsux: FreeBSD has a thing called loader(8) and it generally has a menu, unless the timeout is set to 0
-
meena
does it boot?