-
nacelle
it still is
-
rtprio
maybe i misread the thread about pppoe
-
rwp
debdrup, I did gently relocate that user to a more appropriate channel.
-
meena
Anyone here got infiniband hardware on FreeBSD? — I'd love to see an ifconfig -a over that stuff
-
meena
-
VimDiesel
Title: freebsd-infiniband⊙Fo
-
meena
by the end of this project, I'm going to be subscribed to every single FreeBSD mailing list
-
meena
-
VimDiesel
Title: Soliciting infiniband ifconfig output
-
shlTlord
/win/win 3
-
Demosthenex
hrm, i'm speccing out a dell t330 to run freebsd 13. was the zfs mirrored boot disks still problematic?
-
debdrup
Demosthenex: what are you on about?
-
idwer
Demosthenex: I never ran into problems, and my installation is based on what I believe was 12.something-R : wdym?
-
Demosthenex
i recall reading about a bug in the 13 installer where it didn't setup booting on the second drive
-
debdrup
Probably best to check the bug report, then.
-
idwer
afaik the installer keeps logs on when and how it runs gpart
-
paulf
yes it's all logged
-
paulf
my old wokrstation BIOS is too old for my 4G disks so I need to boot from the 1st 1G or so
-
Demosthenex
i'm looking in my history to find it, it was unique to 13.
-
Demosthenex
my leeenurx server just died, ssd with OS was a SPOF. looking forward to having redundant os disks with freebsd
-
paulf
I wanted a mirrored zroot so I adapted the log to make a mirror of the size I needed
-
gogofc_
You can have mirror zfs disks in FreeBSD and on Ubuntu also if you do root on ZFS install, but FreeBSD is of course better in many ways.
-
gogofc_
Can you recover anything from the Disk with dd etc?
-
gogofc_
sorry I mixes these two sentences as if they were from the same user :)
-
dvl
I just had to do this, and figured I should mention it: If you're on the console and you can't work because of all the messages flowing past: Print Screen will get you to the next virtual terminal, which should be message free.
-
dkeav
alt-f# ??
-
Demosthenex
gogofc_: mirroring on linux isn't officially supported by any major distro, and is often prone to breakage during package updates. yes, you can tinkertoy cobble it together, but it's unreliable.
-
Demosthenex
on my AIX systems having a mirrored OS disk pair is the norm, and it's NEVER an outage to replace/move/repair your OS mirror. but linux has never had a good answer.
-
Demosthenex
i think from my reading freebsd can do it with a zfs mirror and then one command per disk to update the boot block after an update
-
Demosthenex
exactly the same as aix ;]
-
dkeav
linux can do it with mdm configured mirror iirc
-
dkeav
mdadm to --fail and --remove the disk, swap the drive and mdadm --add
-
dkeav
but its been a few years since i've done it
-
Demosthenex
dkeav: and it doesn't maintain the boot sectors. and /boot on raid isn't supported across package upgrade. again, you can do it. but it's fragile and unsupported
-
Demosthenex
hell, redhat officially says they don't even support moving the OS drive across media. they say do a full reinstall.
-
dkeav
yea but that's redhat
-
dkeav
:D
-
dkeav
didn't they switch to btrfs
-
idwer
that's a RHEL-specific trait imho
-
idwer
..former job just used Debian (which we could support inhouse)
-
Demosthenex
idwer: yeah i'm picky about "supported" features because in an enterprise environment with uptime prioritized, there's no time for me to experiment and i'd be held liable for any problem. so you only use supported featuers
-
dkeav
no one ever got fired for paying for support
-
idwer
lies :P
-
idwer
a budget has to go _somewhere_
-
dkeav
oh yea, you totally get fired for blowing your budget
-
dkeav
just not for what you blew your budget on
-
dkeav
unless it was that weekend in vegas expenses, that will get ya for sures
-
dkeav
>.>
-
debdrup
dvx: huh, I din't realize Print Screen cycled TTYs.
-
yuripv
and with ctrl it's supposed to call the debugger
-
nmz
I don't even know what package this bug is from... tmux? entr?
-
nmz
basically when using entr, lsof reports cwd as the correct path, but when you tmux bind-key c neww -c "#{pane_current_path}" it... uses HOME instead?
-
troubled
ltns :)
-
troubled
quick question, but are you able to take out a dedup that is applied to a speciifc dataset only but send/recv'ing that dataset, or does it require a full pool wipe?
-
troubled
trying to isolate a new env that has gitea in it that is abysmal compared to linux (10x). Eliminated a bunch of variables, but the bsd just falls short and the only other thing I could think of was a dedup test
-
troubled
open to suggestions :)
-
meena
troubled: what do you mean with it's abysmal? what are the symptoms?
-
troubled
meena: 100 requests per second from a linux gitea, 10 rps from bsd. yet zpool iostat shows basically zero reads happening, and disk io seems just find otherwise
-
troubled
figuring it's some go related stuff happening that is choking on api calls or doing some blocked lookups etc. Tried pull it out of jail and put on the host for some tests, but no difference.
-
troubled
not so much that I am leaning towards dedup, but wouldn't mind removing it as a variable just because
-
meena
I don't think dedup will have a huge benefit for a git server
-
troubled
no doubt. found that the gitea should be using hard link'd clones anyway
-
troubled
was more a test originally, to avoid potentially 10 million cloned repo'd from spam type issues
-
meena
that's a serious application level problem, that you need to tackle at the root, not at the tail
-
meena
you close / secure sign up, and still listen out for people complaining about spam
-
troubled
no doubt
-
troubled
was also a test to see what kind of deupd stats we get when we reset and import the repos again. was only 1.5x so far, so barely worth anything, and the git gc's and packing will further reduce benefits
-
troubled
thus why I am asking about the removal choices for dedup :)
-
meena
troubled: there's good chance that go isn't performing great, so let's remove dedup as a possible cause, and then look at how gitea is doing (I predict, roughly as bad as so far)
-
meena
and then look at *what* it's doing, with detrace-toolkit
-
troubled
I was gonna run truss and blast through the wall of calls to look for something specific, but thats' rather crude. I don't know dtrace unfortunately
-
meena
troubled: dtrace-toolkit is a package with lots of useful Dtrace scripts. such as dtruss, which is an excellent start
-
meena
troubled: what about the database? are the Linux version and the FreeBSD version of gitea using the same database instance? type? etc
-
troubled
meena: it's pgsql in a jail on same host, all running on a cloned lo1 with an rfc1918
-
troubled
pf was in effect, but with it disabled, and stuff on host, there was little change
-
meena
I understood some of those words
-
troubled
we removed the nginx proxy from the equation and went direct to gitea, no change
-
meena
cloned lo1 == no vnet?
-
troubled
nah, didn't want the jails to really have their own, but we mulled it over. can always switch to it later
-
troubled
meena: so you have any luck with that dtrace toolkit?
-
troubled
I'd love to have gotta into it, but it's honestly quicker for us to just spin the setup up in linux and go on with things than it is to learn dtrace and spend weeks guessing why gitea is slow
-
troubled
it's a vm so I can keep it around and point the lb at it for tests etc, so is low priority. more a post-mortem at this point
-
meena
troubled: pkg install dtrace-toolkit
-
meena
run: dtruss -c -f -p gitea-pid
-
meena
that will give you an idea what's happening
-
meena
timing might be more important than counts, tho
-
meena
I honestly think that's pretty much how every debugging session starts
-
meena
I have needed to write my own dtrace stuff maybe once in ten years
-
meena
because usually, that's also where the debugging often ends
-
troubled
cool, gimmie a sec
-
meena
"oh look at that syscall being issued seven thousand times per second, I wonder whats that about" or: "oh, look at that call taking five seconds, I wonder what's that about"
-
meena
bugs, unfortunately, are hardly ever nor sophisticated than this
-
troubled
for sure. They mention a debug/trace built into the app, but just been swamped with a bazillion other tasks atm. gets hard to justify more time on some stuff when a workable solution that only takes a few hours is in sight
-
meena
aye.
-
meena
this could be a five minute job, where you run dtruss, and then open a bug
-
troubled
okay, getting a pid on gitea itself could be tricky since its spawned via daemon tools like thing
-
pertho
troubled: are there /dev devices you need to expose in the jail for gitea to work well?
-
meena
pertho: nice one!
-
troubled
possible, tbh im not sure what it might be trying. I figured something jail related, but we tried it all on the host too, no diff
-
meena
dtruss should give us a clue
-
troubled
meena: will the ppid of the spawning ddaemon work?
-
meena
also, ps should give you what you're looking for
-
troubled
i tried truss before but it would kill the gitea when I would ctrl-c off the process, and was too disruptive
-
troubled
a quick run :) clock_gettime 17366
-
troubled
-
VimDiesel
Title: dtrace1 - Pastebin.com
-
troubled
let me get a better one, sec
-
meena
truss and dtruss aren't even almost on the same level
-
troubled
pastebin.com/eyh6mnF5 there is a run of it doing some of the stuff that times out the gateway (PR from a 2016 branch that is massive)
-
VimDiesel
Title: dtrace-gitea - Pastebin.com
-
troubled
Not really sure if that caught the children processes though
-
troubled
it does invoke a lot of cli git, which I assume is all the dup2?
-
troubled
or execve I guess eh
-
meena
looks like some library dependency somewhere forgot to consider the fact that we have a poll API on FreeBSD, and is defaulting to nanosleep
-
» troubled blows the dust off of his limited api calls knowledge
-
troubled
so nanosleep is not a normal thing this?
-
meena
do you really think it's normal to call clock_gettime in however many seconds you ran dtruss for?
-
troubled
it did stand out, but I also have zero bearing on what "normal" is for a cpu that is capable of literally billions of operations a second :)
-
troubled
I also don't know if that is catching the child processes that it forks where we get a gateway timeout waiting on a git diff between current and 2016 branch (we use as a stress test)
-
troubled
the linux system takes 17 seconds to diff, the bsd one tests 50+ seconds and some times hits the 1 minute timeout we currently have set
-
meena
this is very typically pathological behaviour of an application (or usually one of its dependencies) that doesn't know about the poll API of a specific platform
-
troubled
meena: as in epoll?
-
meena
troubled: I think there's a ebnf toolkit for Linux, and if you run that against the Linux gitea, you won't see this many clock_gettime calls. probably one of two orders of magnitude less
-
meena
eBPF
-
meena
-
VimDiesel
Title: Issues · go-gitea/gitea · GitHub
-
troubled
well I believe the guy we have building the gitea app has a custom branch for it all, so he might have some insight into it. I will relay this info
-
meena
or he fucked it up :P
-
troubled
well I don't know about that. he is working with the devs on this
-
troubled
I was tackling the environment, but he's in a sleeping timezone right now :)
-
troubled
so far, you can feel the mess:
developer.blender.org
-
VimDiesel
Title: Home
-
troubled
-
VimDiesel
Title: Blender Projects
-
meena
why are ye building out yourself, instead of just using a package?
-
troubled
phab is going to gitea, so thats been backed and put on archive.blender.org
-
troubled
there's a bunch of complaints and requests from the devs I guess is the gist
-
» meena wonders which way FreeBSD's phab will go
-
troubled
so they are doing a bunch of features and customizations to keep the workflow and stuff like they want it
-
troubled
code.blender.org/2023/02/gitea-test-drive has some of the locust tests we ran though. linux absolutely destroyed it
-
VimDiesel
Title: Gitea Test Drive — Developer Blog
-
troubled
I tried add a second vm hdd as a zfs mirror to help maybe speed up reads, tried iothrad scsi single devices, tried increase the ram, the cpu, enabled numa, even enabled the memached, but nothing helped us get past maybe 12 rps
-
troubled
atm its going through pfsense/HAProxy/snort with carp HA to a proxmox backed ceph ssd pool with 3/2 to the vm
-
troubled
I just can't squeeze any more out of it though :/
-
meena
I'm telling you, it's broken
-
troubled
aye, about what we figure
-
troubled
but i'd rather freebsd than linux
-
troubled
the ceph isn't going to win any races, but man
-
meena
yeah, then trace the error to the broken library or build option , and get it fixed
-
troubled
is on a pair of 10g nexus in vpc, so nothing fancy. but she's sturdy
-
troubled
oh I passed along the info, trust me :)
-
meena
hey, hey, hey, HEY!
-
troubled
the amound of time we sunk into the bsd setup and the salt states etc...
-
meena
-
VimDiesel
Title: Soliciting infiniband ifconfig output
-
meena
in case you got any of that lying around
-
troubled
I don't have anything infiniband handy sadly
-
troubled
we have the xeon phi sitting idle with 100g infiniband, but it's no running. i decommissioned it ages ago
-
meena
aye
-
troubled
my remote counterpart found it though, so he might have it plugged in still. it's a dell 6300p or something iirc, so its limited use. Knights landing
-
troubled
like raspberry pi on steroids :D
-
» meena doesn't know anything about hardware
-
nacelle
I didnt know they made inifiniband up to that speed, makes sense
-
meena
i have a talent for exposing bugs. in software, that's not too bad, but hardware can catch fire or explode, so I'm not allowed to touch that
-
nacelle
(i'm very familiar with it at 56gbps)
-
meena
nacelle: I saw 100g in the mellanox docs
-
meena
ifconfig -m dev0
-
meena
all i want is one damn ifconfig -a tho
-
nacelle
meena: I see it now, I just wasnt aware (I have little use for ib, I have ib/ethernet nics and use them in ethernet mode)
-
troubled
well if get no response and we have some spare time, perhaps I could pursuade my coworked to fire up bsd on one for you, but no promises of their time
-
meena
nacelle: ib has very very very low latency. can you still show me an ifconfig -a?
-
troubled
meena: that is your email btw?
-
troubled
meena: check your inbox ;)
-
troubled
well it's been a long day for me, time to enter lurk mode. Thanks as usual! o/
-
debdrup
-
VimDiesel
Title: src - FreeBSD source tree
-
endrift
I hope you don't like random I/O
-
debdrup
tape archives, a format known for its sequential nature, probably won't have much random I/O
-
meena
endrift: what has random i/o ever done for us?
-
debdrup
meena: both PauAmma and you keep forgetting the first part
-
endrift
debdrup: it remains to be seen how many people try to use this and end up confused about why their random I/O is so slow though
-
debdrup
"Who needs X? What has it X ever done for us anyway?"
-
endrift
I've seen people do really "why are you even doing this, that's not what it's meant for" things in the past
-
debdrup
endrift: it's read-only.
-
endrift
I would hope so
-
endrift
but yeah I suppose that helps
-
debdrup
Did you read the commit?
-
endrift
I skimmed part of it
-
endrift
I'm not saying it's a bad thing, I just don't trust users
-
debdrup
The very first hunk of the diff contains the manual page, which mentions it being read-only.
-
meena
debdrup: ill try to remember that for next time
-
debdrup
meena: you better! (but if you don't, i almost certainly will have forgotten too, so who cares)
-
Kit_Leopold
Hello! I've been reading the freebsd HandBook for a few days now, so far I like everything, although I don't understand much. Today I tried to boot into LiveCD, I managed to check the sound and my video card was detected in the list of devices. Please tell me, when using LiveCD, the files I created are saved somewhere or is all information stored in RAM and lost when the computer is turned off?
-
debdrup
Kit_Leopold: the liveCD is read-only by default and if you're using a CD/DVD you can't write to the disk as the image is "fully authored" (closed, cannot be written to anymore unless it's a rewritable that's has its table of contents overwritten).
-
debdrup
Even if you use a writable medium like a USB flash device or something similar, it's still read-only by default - and changes made won't affect the installation media unless you go out of your way to attempt that (which you really shouldn't)
-
endrift
the changes you made are probably in a memory-backed tmpfs
-
V_PauAmma_V
Unless you really, really have to. (Yes, it happens sometimes. Speaking from personal experience.)
-
endrift
I...can't say I've ever done that
-
debdrup
I've done it too, but I broke things the first time I tried. :P
-
Kit_Leopold
debdrup: Thank you. Sorry for my stupidity. Does this mean that I can use the pkg package manager on the LiveCD to explore the operating system more deeply and any changes I make will not be saved after the computer is turned off?
-
debdrup
Kit_Leopold: not without making it read-write, and even then I'm not sure it'd work out very well.
-
debdrup
..although I say that, but it's been so long since I've used the LiveCD environment, that I think it dates back way before bsdinstall (the current installer).
-
debdrup
So it's entirely possible I'm talking out of my derriere.
-
Kit_Leopold
Thank you for your answers and help.
-
meena
I think helloSystem has a semi writable LiveCD thing
-
V_PauAmma_V
NomadBSD is geared toward running from a USB stick, with persistent data stored there.
-
rwp
debdrup, Note that helloSystem is based on FreeBSD not Linux. I didn't realize that at first either.
-
debdrup
rwp: I'm aware.
-
rwp
First I have heard of it.