-
stefanobsdcafe
-
jb1277976
nice stefanobsdcafe.. here i am using freebsd for personal reasons and everyone got professinal stuff. i feel stupid lol
-
sfox
I'm using it because I can't stand package politics with the 'gnome teams' and redhat having way to much influence of that whole ecosystem
-
sfox
nobody assumes freebsd to have systemd which is nice and the ports tree is made by people who actually just want to use software, not push other people to use or not use their software
-
sfox
even if it's not $CURRENT_THING
-
sfox
also linux audio is horrible
-
sfox
i wish freebsd's packetfilter was a good as openbsd's though
-
sfox
and freebsd takes months sometimes years to fix bugs where openbsd and linux only take weeks
-
jb1277976
hmm
-
jb1277976
sfox: why do you day it takes freebsd years ?
-
jb1277976
say*
-
sfox
huh?
-
jb1277976
01:25 < sfox> and freebsd takes months sometimes years to fix bugs where openbsd and linux only take weeks
-
sfox
because some of the bugs i'm tracking in the bugtracker
-
jb1277976
oh ok
-
jb1277976
i wonder why
-
jb1277976
priorities probably
-
remiliascarlet
Linux often maintains known bugs, because the rule is to never break userspace, and fixing many of the known bugs in the kernel causes userspace to break.
-
remiliascarlet
The consequence of having the kernel made in total isolation from every other component.
-
sfox
one of
-
sfox
funding
-
sfox
and in openbsd's case.. obcession
-
remiliascarlet
OpenBSD is the opposite of that. They will break just about anything in name of security.
-
sfox
probably
-
jb1277976
remiliascarlet: i never understood how can the kernel work with all the gnu tools if its isolated like that ?
-
sfox
but at the same time, you have to remember only 1% of the linux foundation's funding actually goes towards funding linux development
-
remiliascarlet
jb1277976: Which is why there's no such thing as consistency in the Linux space.
-
sfox
this is why linux audio is still screwed
-
jb1277976
got it
-
jb1277976
hence 1k distros probably lol
-
jb1277976
meaning there are peobably 1 thousand distros available
-
jb1277976
probably*
-
remiliascarlet
The point of Linux is to have it like a Lego set, which you put together with whichever parts you want, which as a concept is a really nice thing, but also results in having teams of developers with absolutely nothing in common with one other, and they don't even know each other, put together an full OS.
-
Alver
(Linux audio is just fine.)
-
nerozero
hello, is there a way to monitor a progress of a freebsd-update install command ?
-
nerozero
its just sitting and doing silently something for > 6 hous
-
nerozero
*hours
-
nerozero
yes I can see something from top and truss but .... having something more convenient is better
-
luke_jobless_sb
kfv: what happened?
-
luke_jobless_sb
kfv: what happened?
-
debdrup
Alver: for certain values of fine including not fine
-
Alver
debdrup: I've been running Linux on desktop/laptop since the late nineties. I can remember a two or three cases where sound needed some mending. None of those cases are in the last... I dunno. Ten years or so.
-
Alver
As with everything Linux, it's easy to break if you want to.
-
HER
nerozero: thats weird...
-
nerozero
HER, ?
-
dstolfa
Alver: in my experience, linux audio is usable but i wouldn't call it "fine". merging channels can be a massive pain and equalizer software that does all the things that you can do on windows and mac just doesn't exist
-
aquamo4k
nerozero: you can pass --debug to freebsd-update to maybe see more about what is going on, it's a shell script which calls other things so maybe it's a network problem or other issue
-
nerozero
I found a better way to see almost exactly the progress percentage, step 1: truss -p <pid of freebsd-update install child process> 2>&1 | grep fstat
-
nerozero
copy the file which is listed in fstat
-
nerozero
then open vim $(find /var/db/freebsd-update/ -iname "*install")/INDEX-NEW
-
nerozero
search for the filename
-
nerozero
then look at vim % of the lines - this almost exactly represents the progress
-
aquamo4k
so, it was making progress? just slow network?
-
nerozero
aquamo4k, 6hours, bsd13.3 -> 14.1
-
nerozero
done
-
nerozero
file things ...
-
debdrup
Alver: less than a week ago I saw someone complaining about it breaking
-
Alver
debdrup: If I look around for 5 minutes, I can find a dozen people complaining about literally any piece of technology in existance. :°)
-
Alver
But yes, I do suppose that if you have higher requirements than sound working on various outputs, it can get messy
-
Alver
I wouldn't want to try low-latency mixing stuff in Linux. I mean, it might just work, but... god knows.
-
Alver
I can switch sound on my laptop from builtin to bluetooth speaker or headphones to USB DAC back and forth without issues, but I only do "output" stuff.
-
Alver
To men, "equalizer" is an expensive term for "modifying the original sound to make up for crappy output devices". :°)
-
Alver
s/men/me/
-
cullum
is it my imagination, or does anyone else have an issue with /bin/sh where if you tab complete "too fast," it deletes 2 characters?
-
Tenkawa
let me try
-
Tenkawa
working ok here on 15-current on aarch64
-
cullum
i cant reproudce everytime. usually its when i open a fresh xterm and try to do `cd /usr/lo<TAB>`. maybe one out of every 30 times, rather than tab-completing, `cd /usr/loca` becomes `cd /u/lo` or similar
-
Tenkawa
do you use any special term emulator or $TERM?
-
cullum
no. I have seen it on plain xterm and kde Konsole so i suspect it is something with /bin/sh and not the terminal emulator
-
cullum
i never noticed with csh
-
cullum
it only happens when i type extremely quickly. i wonder if its something about tab completing while the prompt is still printing
-
Tenkawa
interesting indeed.. I have noticed character issues with ssh connections if I don't use bash... but I have seen odd things like that in Linux as well
-
Tenkawa
not on direct terminal logins though
-
cullum
i will not complain though, as i much prefer bourne shell :) Just wish /bin/sh had a `history` builtin
-
Tenkawa
heh indeed
-
ivy
has anyone tried the 9pfs client in 15.0 yet?
-
Tenkawa
ivy: not I... working on a RK3588 unit atm...
-
ivy
well, i tried it... seems to work so far. we'll see if it randomly panics or something
-
ivy
if it works this is a huge feature for bhyve vms
-
Tenkawa
Nod.. I just got my Rock5 running successfully now so now I have another arm64 machine to work on..
-
ivy
sadly no arm64 bhyve here as GICv2 isn't support (yet?)
-
Tenkawa
bummer
-
Tenkawa
I have nothing but arm64 and risc-v here..
-
Tenkawa
That's why you hear me talk about nothing else
-
ivy
my desktop is arm64, but i haven't found any affordable option to replace our fileserver yet
-
Tenkawa
I have one token x86-64 I guess but its an old gaming laptop
-
Mexis
Is this channel ok for social?
-
Tenkawa
Mexis: according to the topic yes..
-
Mexis
Sorry, yea
-
Tenkawa
np at all to me... I like the atmosphere since I've been back.. I was gone for a decade or more...
-
Tenkawa
(probably closr to 2)
-
ivy
there's also #freebsd-social if you want to talk about a lot of off topic stuff but a bit is probably fine here
-
ivy
hmmm, need to find some linux isos to download to test my new 9pfs-based qbittorrent vm
-
Mexis
Tenkawa: What do you do for work?
-
Tenkawa
Mexis: retired
-
Tenkawa
I worked in sysadmin,dba, network admin and coding my entire career though
-
Tenkawa
Now I just volunteer to keep the skills current and help out
-
Tenkawa
(and of course have fun)
-
Mexis
Yea right, your like a wize wizard
-
Mexis
wise*
-
johnjaye
Tenkawa: i will add you to my wizard list if i have a question
-
Tenkawa
Heh.. not as much wise as just been through a lot lol
-
johnjaye
but considering i know nothing about db or db admin. probably it wouldn't be hard there
-
johnjaye
did you learn everything through experience or books or tutorials?
-
Tenkawa
johnjaye: experience
-
Tenkawa
I went to school to for psychology
-
Tenkawa
s/to//
-
johnjaye
i guess it's different if you have a sql or mariadb thing to work on
-
johnjaye
as opposed to just reading about it
-
Tenkawa
indeed
-
Tenkawa
(in my opinion)
-
Tenkawa
I learn better by hands on training though
-
debdrup
Alver: sure, but pcm(4) has worked in FreeBSD since 1993.
-
debdrup
In that time it's been rewritten completely, been extended with many new features, been made fully OSSv4-compatible, and is still being worked on to this day.
-
Mexis
How long does it take to become a fbsd contributer
-
debdrup
Multi-channel audio with volume-per-channel and virtual channels, bit-perfect and low-latency support and high-quality resampling were all added post-newpcm rewrite.
-
johnjaye
Mexis: depends on what kind. if you want to manage a port i think you have to go to the #freebsd-ports channel and ask
-
ivy
Mexis: literally no time at all, just submit some patches
-
Mexis
drivers
-
dstolfa
Mexis: as long as it takes to write and contribute a patch i guess :). if by "contributor" you meant having commit access, that varies
-
dstolfa
but you don't need commit access to contribute patches
-
ivy
out of active, wired, buffer, cache, laundry, inactive, and free, what memory metrics can i sum to get a result which is equal to the total memory in the system? i tried summing everything and the result was greated than total memory, after removing buffer, it looks better
-
debdrup
Mexis: there's no real timeline; if your goal is to contribute to FreeBSD, then do that. If you contribute enough that the work of the committer is significant enough, they can "punish" you (in the sense of "no good dead goes unpunished") with a commit bit
-
debdrup
ivy: I have ~/.bin/mem that I can upload somewhere, which might answer that question - hold on.
-
dstolfa
keep in mind that having a commit bit comes with responsibilities. if you're constrained by time or whatever else, it's perfectly fine to just contribute patches without that
-
ivy
i'm assuming 'buffer' must be a subset of 'cache'
-
debdrup
-
ivy
or maybe the other way around
-
mzar
contributor without commit bit is still a contributor
-
debdrup
it was originally freebsd-memory.pl
-
debdrup
Mexis: focusing on becoming a committer seems to me to be missing the forest for the trees, as it were.
-
debdrup
Find something that looks like it needs doing, and start contributing patches.
-
ivy
debdrup: i'm not sure this is right as the first section doesn't sum to total memory for me - it's not including cache/buffer?
-
debdrup
ivy: well, hw.physmem is the physical amount of memory in the system, is that what you're looking for?
-
debdrup
That's the OID from sysctl(8) as reported by the kernel.
-
ivy
debdrup: what i'm after is the specific metrics i can sum that, once summer, will equal hw.physmem
-
ivy
s/summer/summed
-
debdrup
ivy: I don't believe there's such a metric, because of the gap
-
ivy
which by experimentation seems to be active+wired+cache+laundry+inactive but i don't really understand why those specific values work and why buffer can't be included
-
debdrup
what do you mean buffer?
-
debdrup
also, you're forgetting free there
-
ivy
yes, add free to that list
-
ivy
debdrup: buffer and cache are exposed by prometheus node_exporter, i'm not sure specifically where it gets them from
-
debdrup
ivy: that seems like a thing that the source code should be able to answer?
-
ivy
ah, the 'total' metric here is not hw.physmem, it's available memory minus any gaps
-
debdrup
right, and there's always a memory gap - although i'll be damned if i can remember what it's for
-
ivy
debdrup: the script gives me some values, what i'm wondering is *why* these are the correct values
-
debdrup
It's a pity markmail is gone, that might've had some answers.
-
ivy
unrelated...
-
ivy
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
-
ivy
73908 root 1 135 0 13M 3520K CPU7 7 44.4H 100.00% bc
-
ivy
did the bc ^D bug get replaced by another bug?
-
debdrup
damn, bc's being kept busy :D
-
ivy
drat can't seem to reproduce this, i should have straced it before killing it
-
ivy
although that system is running an old build so maybe it's the same bug
-
debdrup
-
ivy
no, that doesn't explain why including both cache and buffer adds up to more than total memory, and neither does the linked wiki page
-
debdrup
looking at this, i'm not especially sure that the values they're using are ones they should be using, either
-
debdrup
i tend to trust the script by rse@ more
-
debdrup
also, i still don't understand why you need a derived value when the system will outright tell you how much memory it has in total
-
ivy
because i want a graph that includes total and free memory, and if the values i'm graphing don't add up to the total memory, something must be wrong
-
ivy
e.g., that could lead to the system reporting more memory is in use than is available (nonsense) or reporting some memory is free when there's really no free memory
-
debdrup
where did you get this "buffer" and "cache" from?
-
ivy
-
debdrup
yeah, it doesn't explain itself very well
-
debdrup
there's a unified buffer cache in freebsd, but that's not what it's talking about
-
debdrup
the buffer_bytes parameter is part of the wired amount, as outlined on the wiki page
-
ivy
ah, i was about to say, my guess is vfs memory is probably already accounted in wired
-
debdrup
cgit.freebsd.org/src/commit/?id=8950c0148b2 vfs.bufspace is apparently a count of the cached pages, so i don't know how relevant for the total amount that is, since it's already accounted for
-
debdrup
dg@ and dyson@ are the people behind the unified buffer cache mentione previously, and implemented here:
cgit.freebsd.org/src/commit/?id=0d94caffcad
-
debdrup
i'm also not gonna assume prometheus adds things up correctly based on all those values in order to actually achieve a total
-
debdrup
so maybe find out where the actual addition is being done
-
debdrup
otherwise, the easier solution seems to me to be get the node exporter the ability to read the hw.physmem OID, because a derived value trying to sum up all of the things collected is gonna be wrong no matter how you go about it
-
debdrup
even if you somehow weed out all the things that're doubled up if you add them all together, there's still the memory gap
-
debdrup
you'll note the script by rse@ doesn't attempt to explain it
-
debdrup
it trusts the system to know how much memory it has
-
debdrup
"the missile knows where it is, because it knows where it isn't"..
-
ivy
i feel like i'm not explaining the problem well :-) it already gets total memory from vm.stats.vm.v_page_count which is fine. the problem is that when graphing various users of memory, the 'used' values need to add up to the 'total' value, otherwise that's a sign that values don't make sense. (which is fine, that works, i just didn't understand why cache couldn't be included)
-
ivy
for example, without this sanity check, it would not have been clear that 'cached' should not be included as that accounts the same memory twice
-
debdrup
ivy: you do realize that you're never going to be able to account for individual users memory either, because of shared memory
-
ivy
no, by 'users of memory' i mean active, wired, etc
-
debdrup
the 'used' is never going to add up to the 'total', because of the memory gap
-
debdrup
the 'cache' is a compatability shim at this point:
cgit.freebsd.org/src/tree/sys/vm/vm_meter.c#n405
-
debdrup
so the node exporter probably shouldn't be using that
-
debdrup
-
debdrup
cgit.freebsd.org/src/commit/?id=7667839a7ec here's the removal of the code, so you can get an idea of what it used to do
-
debdrup
so as usual the answer "what does this do" or "why is this the way it is" is in the VCS
-
luke_jobless_sb
I am cleaning up. I look around packages to remove. How can I have a list of dependent packages?