-
nimaje
hm, the website says it was released a month ago, I wonder why portscout didn't pick it up and notified the maintainer
-
nimaje
you should open a problem report to notify the maintainer of the new version
-
kezdryx
i dont really know how to do that
-
kezdryx
but i can learn
-
kezdryx
:)
-
nimaje
you need a account on
bugs.freebsd.org/bugzilla and then use the 'Report an update or defect to a port' link there, the summary should start with the port name so games/nethack36: in this case
-
VimDiesel
Title: FreeBSD Bugzilla Main Page
-
nimaje
as a fast but not so useful alternative (as the rest of the project can't really see it) you can email the maintainer directly (and if the maintainer has no time currently nobody else can pick it up as nobody knows)
-
kezdryx
it wont let me type in the component or version box on bugzilla
-
nimaje
you don't need to change them, they are already correct
-
kezdryx
ok
-
nimaje
(they are about the ports tree, not the individual port)
-
kezdryx
there we go, all sent
-
jarebear6expepjo
anyone with py3 able to make a quick venv and see if they can install the cryptography package? I've been chasing issues with it and just want to make sure I am not the only one
-
jarebear6expepjo
-
jauntyd
Hello. I am trying to upgrade a port I maintain (www/hiawatha). When I see the Makefile as it currently is, I see there is no exact filename for MASTER_SITES and the ports tree pulls down the old version. How do I tell the ports tree to pull down the more recent version of the source code? Am I thinking about this all wrong? I am also going off of:
docs.freebsd.org/en/books/porters-handbook/upgrading/#preamble
-
VimDiesel
Title: Chapter 11. Upgrading a Port | FreeBSD Documentation Portal
-
ngortheone
hey jauntyd, this question has better chances of being answered in #freebsd-ports channel
-
ngortheone
(you can also try #bsdports on efnet)
-
jauntyd
ty
-
Erhard
/j #fog
-
Erhard
oops
-
elgrande
I suddenly miss 2 devices under /dev/sndstat and have no idea where to start :(
-
elgrande
any idea where to start?
-
ghoti
So, the port net/wireguard is a metaport which installs wireguard-kmod, whose descr says is "new, unvetted, possibly buggy," etc. Should I be worried and used the "go" version instead?
-
kevans
ghoti: no
-
kevans
the scare warnings should probably go away, we deemed it ok enough to go into base
-
otis
ghoti: the current wireguard code has been thoroughly scrutinized and reviewed.
-
Letiute
I have installed freebsd on one disk. Now i want to use raid0 to add another disk. So now my OS will be on 2 disks via raid0. Can I add the second disk in freebsd or I have to reinstall the OS again? note that the OS is disk encrypted via GELI I think. The other disk should be encrypted as well.
-
nimaje
Letiute: what filesystem do you use? if it is zfs it is easy to add drives to a pool, with ufs no idea
-
Letiute
zfs
-
Letiute
nimaje will it be raid0 after adding drive and can I configure raid0 like that?
-
Letiute
nimaje thre?
-
Letiute
nimaje I am worried about freebsd and zfs community support. Not much users as compared to linux
-
nimaje
you want to setup encryption for your disk and then add it see
docs.freebsd.org/en/books/handbook/zfs/#zfs-zpool-attach (you probably want to read the whole page not just that section)
-
VimDiesel
Title: Chapter 21. The Z File System (ZFS) | FreeBSD Documentation Portal
-
Letiute
nimaje the disk is already encrypted . I chose it during installation
-
Letiute
now I am adding a new disk.
-
Letiute
thats the thing I want to confirm
-
nimaje
yeah, the new disk you want to add, the other one is already in your pool
-
Letiute
will the new disk be GELI encrypted?
-
Letiute
don't think so, I have to do it myself. OR reinstall freebsd, choose raid0 at installation. IF I do so, will install process encrypt BOTH disks via GELI?
-
Letiute
that was the only question
-
nimaje
you have to setup the encryption yourself (installer would encrypt all disk if you do a encrypted setup with multiple disks)
-
Letiute
I gues resinstalling and choosing "striping" with two disks would be quicker than i do it myself AND BOTH disks will be encrypted with GELI. correct?
-
Letiute
-
VimDiesel
Title: Chapter 2. Installing FreeBSD | FreeBSD Documentation Portal
-
Letiute
nimaje if I do while installation process, both disks will encrypt. Correct?
-
nimaje
if you put both in the stripe there and choose to encrypt disks then both will be encrypted
-
Letiute
I see. that would sum up. thanks!
-
Letiute
nimaje better for me to just reinstall...
-
Letiute
When I add disk to simple pools for storage, the data is written on random places ie some files will go on one drive, others on other. If I loose one drive, that would mean I might loose some random/unknown data? Not talking about raid this time.
-
nimaje
not sure if zfs can rescue any data if a part of a stripe fails
-
Letiute
it cant
-
Letiute
I think
-
Letiute
what level of zstd compression is unsane for OS and database? zstd-15 is ok?
-
Letiute
nimaje but I was not talking about raid/strip this time as said in last line of parah
-
Letiute
what will happen i nnormal pool?
-
elgrande
is there any know-working solution on 13-RC2 for listening to music (either natively or in linuxolator)?
-
nimaje
a pool is a stripe of vdevs, where vdevs can also be single disks, so in your setup you would have a stripe of two single disk vdevs, so if a disk fails the corresponding vdev fails, not sure if zfs can recover from that situation
-
nimaje
elgrande: any music player? what problems do you have with listening to music?
-
elgrande
spotify and apple music neither work anymore in linux brave nor in freebsd firefox nor in freebsd chromium. testing linux chrome now.
-
elgrande
cannot call chrome
-
dumbbell
elgrande: I'm using Deezer and Qobuz several hours a day and it works just fine with native Firefox.
-
dumbbell
elgrande: Can you give more details on what doesn't work?
-
elgrande
I am not allowed to get a third abo
-
elgrande
My abo is not recognized, I am logged in, but can only listen to the 30 seconds version
-
dumbbell
elgrande: Like Spotify show an error saying it can't play? Or it starts to load the stream, but the seek bar stays at 00:00? Or it plays the stream but you hear nothing?
-
elgrande
and chrome is totally broken on ubuntu
-
elgrande
dumbbell nothing happens when I press play
-
dumbbell
elgrande: Can you play a video and hear the sound on YouTube for instance?
-
elgrande
I can hear sound on native apple music, too
-
elgrande
but only 30 seconds
-
elgrande
can I rollback to 13-1 somehow?
-
elgrande
maybe it helps
-
dumbbell
elgrande: Did you try YouTube?
-
Letiute
Hi
-
Letiute
the pool name set by freebsd is zroot I think. I had another drive named ssd1. How can I use it? `zpool import ssd1;` ? If I do, it says cannot import 'ssd1': pool was previously in use from another system Last accessed by xubuntu (hostid=53eb6008) at Thu Mar 16 10:57:50 2023. The pool can be imported, use 'zpool import -f' to import the pool.
-
Letiute
Is this safe?
-
Letiute
will this mess the OS or I create a new pool?
-
debdrup
You need to export your pool from the system it was last used on.
-
Letiute
debdrup am.. ok that system is 'gone'...
-
Letiute
debdrup what do i do now?
-
debdrup
Then you don't have much option but to use -f; it _should_ be alright, if the pool was created recently.
-
Letiute
debdrup ok, so if it hadn't been created recently on linux, I would have been in trouble?
-
Letiute
debdrup also, shouldn't I create a new pool?
-
debdrup
Not necessarily.
-
debdrup
Why do you think you should create a new one?
-
Letiute
importing it in root bool is ok?
-
Letiute
importing it in root p*ool is ok?
-
debdrup
I don't think you understand how ZFS' pooled storage works.
-
Letiute
I agree with you. this is my second day and a lot of reading and paranoid behaviour is exppected :)
-
Letiute
Is zstd-19 the highest compression?
-
debdrup
A pool can consist of an arbitrary number of disks (well, there is a limit, but it's pretty ridiculously high), in various configurations.
-
Letiute
debdrup understood
-
Letiute
zpool is one pool and zroot is some primary drive label. right?
-
debdrup
No, zstd goes arbitrarily high up to zstd-1000 - but at that point you're wasting so much cputime, it's probably not worth it.
-
debdrup
No.
-
debdrup
zpool is the name of the pool of drives.
-
Letiute
debdrup not even for backups where storage capacity is primary concern?
-
Letiute
yes and zroot is the drive?
-
debdrup
no.
-
Letiute
debdrup the command says " 'compression' must be one of 'on | off | lzjb | gzip | gzip-[1-9] | zle | lz4 | zstd | zstd-[1-19] | zstd-fast | zstd-fast-[1-10,20,30,40,50,60,70,80,90,100,500,1000]'
-
Letiute
" notice that zstd-[1-19] VS zstd-fast-[1-10,20,30,40,50,60,70,80,90,100,500,1000]'
-
debdrup
Right, sure - the ridiculous levels are locked behind zstd-fast.
-
debdrup
Oh right, those are negative levels.
-
Letiute
so zstd-1-19 is higher compression?
-
Letiute
in a nutshell zstd19 is the highest or zstd-fast-1000 is?
-
debdrup
zstd-19 is the highest compression, but at that level you can end up in a situation where one backup can't complete in the time it takes before a second one starts.
-
Letiute
ok
-
Letiute
debdrup i cannot find a list of compression ratio for each
-
debdrup
I think you need to buy a book on ZFS and read it.
-
» Letiute reads handbook
-
Letiute
but cannot find the benchmar for1-19
-
debdrup
You won't find a benchmark. There are too many variables.
-
Letiute
ok what level might 19 give?
-
Letiute
rough idea?
-
Letiute
and what might 3give
-
debdrup
Does your CPU have SSE2 or not? How well does your data compress?
-
debdrup
Nobody can tell you, if they're being honest.
-
Letiute
its textual mostly
-
debdrup
I can make up a number, but it won't be right.
-
Letiute
I know
-
Letiute
differs with data type
-
Letiute
just wanted textual data idea
-
debdrup
You're not gonna get it from me.
-
Letiute
ok :)
-
Letiute
no issues
-
Letiute
I am setting it to 19 for backup
-
Letiute
and 7 for database + os
-
antranigv
kevans do we have a fork() function in our flua?
-
Letiute
one concern is that zfs won't recompress old files if I change algorithm. How can I achieve that. BTRFS had defrag doing this automatically
-
debdrup
Letiute: it can't.
-
debdrup
ZFS would need block pointer rewrite, and that's not happening.
-
Letiute
debdrup not even if I use `mv` on same disk?
-
debdrup
Block pointer rewrite also breaks the implicit promise of copy-on-write, which is to never rewrite already-written data.
-
debdrup
I have no idea what sort of situation you're talking about where what you're saying makes sense.
-
debdrup
Why move things around on a disk? It achieves nothing.
-
Letiute
ok
-
debdrup
Also, it doesn't matter what BTRFS has. ZFS isn't BTRFS.
-
debdrup
You need to absolve yourself of this notion that just because X can do something, Y should be able to do it too.
-
Letiute
so rsync /old/ /new/ ; rm -rf /path/to/old
-
VVD
you can use something like this: cp -a /current /new && rm -rf /current && mv /new /current
-
debdrup
Okay, just stop.
-
Letiute
debdrup understood
-
debdrup
You've been asking the exact same questions in two different channels, and you're getting different answers. So that tells me you're going to not remember half of what you've been told, and then you'll blame someone else when things inevitably go wrong.
-
Letiute
thats your wrong positively made assumption. Also, I am getting different perspectives in each channel
-
Letiute
VVD I SEE
-
debdrup
Have some respect for the people whose time are being taken up by helping you, and go study how ZFS works instead of just asking endless questions that won't help you understand anything about the underlying concepts.
-
Letiute
VVD I see
-
Letiute
debdrup I just respect your opinion to which I differ
-
Letiute
but I agree with the notion.
-
Letiute
How to make these settings , mountpoints and compression ration permanent
-
Letiute
after reboots
-
debdrup
You set them.
-
_xor
kevans: Around? I noticed you're the maintainer fdor the Arduino ports.
-
Letiute
debdrup and the OS will remember the values or the pool/drive itself willr emember it in metadata/info?
-
debdrup
Letiute: go read a book on ZFS.
-
Letiute
-
debdrup
Yes, that's a known set of data; namely the FreeBSD source code.
-
debdrup
Unless the data you're storing is the FreeBSD source code, it won't tell you anything.
-
Letiute
I said "text" earlier but I just link fyi
-
Letiute
code = texzt
-
debdrup
No, source code compresses better than text.
-
Letiute
I wonder how
-
debdrup
Because of how compression works.
-
Letiute
code has more reused chars?
-
Letiute
thats why?
-
debdrup
It looks for patterns in data, code has more patterns.
-
VVD
a lot of users say "text" but mean "docx/odt", but they are zip
-
debdrup
The open document formats use DEFLATE?
-
debdrup
As in, by default?
-
Letiute
VVD Does the OS will remember the values of compression, mountpoing etc or the pool/drive itself will remember it in metadata/info? Unable to find it in a "book"
-
debdrup
Welp, you clearly don't read what you're told.
-
Letiute
what did I missed?
-
debdrup
[1678965281] <debdrup> You set them.
-
VVD
debdrup, compression method: deflated
-
VVD
compression sub-type (deflation): normal
-
debdrup
VVD: Huh, interesting.
-
VVD
zipinfo -v random.ods
-
debdrup
Wait, so can you pass random.ods through tar? :P
-
debdrup
libarchive will decompress any compressed file I've thrown at it.
-
VVD
tar - no, it's zip archive
-
Letiute
debdrup my question is (elaborating) that when I "set" them, "where" is that setting saved? in OS setting, drive meta, /FS . where?
-
Letiute
I read "1678965281] <debdrup> You set them." the first time
-
VVD
zfs set are dataset options, not OS options
-
Letiute
VVD thanks for the simple asnwer
-
Letiute
answer
-
debdrup
Letiute: it's metadata.
-
Letiute
debdrup thanksf or the simple answer
-
VVD
zpool set are pool options
-
Letiute
ok
-
debdrup
All of this is covered on the actual books that cover ZFS.
-
VVD
sometimes 1st steps are hardest
-
debdrup
Doesn't mean you have to make it harder for yourself.
-
Letiute
debdrup people come to irc, forrums etc to discuss insecurities, opinions etc. books have their place. Else irc would shutdown. and yes; what VVD said. Also, by no means this comment covers my incompetence to read more in less time.
-
Letiute
and no means it is not respecting others time
-
» Letiute closes the topic from his side
-
debdrup
Letiute: irc isn't a doctors visit, you don't need to solicit a second opinion.
-
debdrup
If you want to test things, you set up a temporary pool, and try your hardest to break it.
-
debdrup
Worse-case, you trigger some bug that you can report, and it gets fixed.
-
Lovis_IX
Letiute: may I suggest you to read :
mwl.io/nonfiction/os#fmzfs
-
VimDiesel
Title: Operating Systems – Michael W Lucas
-
» Letiute closes the topic from his side
-
debdrup
When I started using ZFS in 2008, I'd spent a few prior weeks testing all manner of things, deliberately trying to break them. I didn't succeed, so I felt fairly confident in the data resiliency claims of ZFS and have used it ever since.
-
Demosthenex
debdrup: i just beat the crap out of my new server, repeated os install, pop drives, rebuild, pop drives, try to reformat or trash, satisfied, reinstall
-
debdrup
Demosthenex: that's a more risky way of accomplishing the same
-
Letiute
had a lot of hard time fixing mic issue. I have two options it seems. one is builtin speaker/mic /mixer5. speaker working fine. another /mixer8 is external usb mic. How to change to that? the += command does not work... gtk-mixer all volums up
-
Letiute
-
VimDiesel
Title: Mozilla Community Pastebin/xhyo2TX8 (Plain Text)
-
Demosthenex
Letiute: look at virtual_oss
-
Demosthenex
i use that as a virtual device and hot swap between mics (ie: usb and local)
-
Letiute
Demosthenex doing; thanks!
-
Letiute
Demosthenex don't see anythign
imgur.com/mItcz5e.png
-
Demosthenex
-
VimDiesel
Title: dpaste/XbRLJ (Plain Text)
-
Letiute
Demosthenex sysrc -a | grep oss prints nothing
-
Letiute
Demosthenex should I do virtual_oss_cmd /dev/dsp.ctl -R /dev/mixer8 -P /dev/mixer8 ?
-
Letiute
mixer8 is my mic I guess
-
elgrande
dumbbell yt music works with add blocker, thanks
-
dumbbell
elgrande: Then I would clear cookies for Spotify/Apple Music and reconnect. Look if ffmpeg is up-to-date too, native Firefox depends on it.
-
Demosthenex
Letiute: try mixertui, and get a list of your devs there
-
drobban
what am I missing
bsd.to/Mm9L
-
VimDiesel
Title: dpaste/Mm9L (Plain Text)
-
drobban
vbox related
-
drobban
a solved.
-
Letiute
unable to select pcm8 USB audio for F4 [Capture]. If I do, nothing is shown
imgur.com/5AsPKd8.png
-
Letiute
it is somehow not assigning recording device as pcm8 /mixer8
-
Letiute
Demosthenex ^
-
Letiute
instead it is showing playback for it
-
Letiute
not using playback but showing
-
Letiute
that should not be the case
-
phryk
does kqueues EVFILT_VNODE work to be notified of changes to files/dirs in a nullfs mount within a jail?
-
Letiute
Demosthenex can I have pavucontrol in freebsd?
-
Letiute
that worked with same hardware on llinux
-
phryk
Letiute: yes. i think it has its own package.
-
Letiute
dont see in search
-
Letiute
ok got it
-
phryk
i see pavucontrol as well as pavucontrol-qt
-
Letiute
rejoining
-
elgrande
wb
-
meena
phryk: re kqueues and EVFILT_VNODE: my naïve guess would be: probably.
-
Demosthenex
i have no idea
-
Letiute
pavucontrol did it. but I was not able to get it working on chrome. works on firefox.
-
Letiute
any ideas why?
-
Letiute
also, cannot make volume more than 100%
-
Letiute
chrome can't even see any mic except default option (which is incorrect/not working)
-
Letiute
-
VimDiesel
Title: 245251 – www/chromium: Doesn't allow to choose a microphone
-
Demosthenex
Letiute: so firefox and chrome i think pick the first audio device
-
Demosthenex
which is why i use dsp (no number) with virtual_oss
-
Demosthenex
it's first selected
-
Letiute
Demosthenex no, firefox shows full list of devices
-
Demosthenex
freebsd audio is a bit different from linux
-
Letiute
not chrome
-
Demosthenex
and once i got it setup, i've never had to change it again
-
Letiute
Demosthenex what commadn should I use then?
-
Letiute
virtual_oss_cmd /dev/dsp.ctl -R /dev/mixer8 -P /dev/mixer8 ?
-
Letiute
this will make it default?
-
kevans
_xor: arduino, you say? *runs away*
-
Demosthenex
Letiute: you have to setup the virtual_oss service first
-
Demosthenex
virtual_oss_cmd is for changing the service while it's running
-
Letiute
Demosthenex what commands do I need to set it up?
-
phryk
meena: heh, guess i'm just gonna have to try then^^
-
meena
phryk: usually quicker and easier than waiting for a qualified answer
-
meena
but once we do know, and it seems to run against our intuition, we can open a bug, or fix up the docs
-
phryk
meena: not in my case, tho. i have very little C experience and want to do it from D, with which i have even less experience. Plus I don't even know yet when I'll get to work on this :'D
-
paulf
which D? dtrace D or walter bright dlang?
-
meena
C is very easy, once you accept that it's impossible to get right. or even close to sensible
-
phryk
dlang.
-
phryk
I want a compiled language that's more sensible than C and C++, but i want to be able to use C APIs, because that's just the standard. D is the only language that ticks all those boxes.
-
paulf
wait for cppfront :-)
-
Demosthenex
Letiute: the sysrc variables i put in the dpaste link are what i used
-
phryk
paulf: that sounds like one of those "let's just add an abstraction layer on top" kinda deals. i think i'll pass on that.^^
-
meena
Zig for C, Rust for C++, D if you have infinite time to contribute yourself into a black hole
-
Letiute
Demosthenex sysrc -a | grep oss shows nothing
-
Demosthenex
-
VimDiesel
Title: dpaste/XmQxv (Python)
-
paulf
phryk that's waht C++ was originally
-
phryk
meena: I *am* kinda planning on writing my own GUI toolkit :'D
-
phryk
paulf: yeah, and look how that turned out :D
-
Demosthenex
Letiute: if you do sysrc -a | grep oss and have nothing, you haven't customized it. i gave you my settings for reference
-
paulf
it's not over yet, by a long way
-
Demosthenex
speaking of gui toolkits, does the freebsd installer use dialog or something else?
-
Demosthenex
Letiute: the second paste is my puppet config which sets things for sound
-
elgrande
looks like dialog, but I am only sure for ports
-
meena
-
VimDiesel
Title: dialog(1)
-
Demosthenex
fun. damn, i keep wanting a TUI library for common lisp that isn't an ncurses wrapper :P
-
meena
hrm, now that i think about, iirc, bapt replaced dialog with something else, but i don't remember if that's done, actually, and what the name is
-
yuripv
with bsddialog? :)
-
meena
yeah, which has no man page
-
meena
oh, it does
-
meena
it's mit bsdialog, it's actually bsddialog
-
meena
I guess somebody didn't like the implications that they're producing BS
-
Letiute
Demosthenex unable to follow what exactly needs to be done here
-
Demosthenex
Letiute: install virtual_oss. configure and start the service. then administer it with virtual_oss_cmd.
-
yuripv
"bsddialog was written by Alfonso Sabato Siciliano <asiciliano⊙Fo>.", so i guess it has nothing to do with BS (being bad)
-
meena
yuripv: maybe monolog would have been a cool name? it's not too late. 14.0 has not been released yet
-
yuripv
that would get the system stuck talking to itself then? :)
-
meena
gosh that would be cool, if it had an easily scriptable backend
-
meena
so you feed it a seed file and watch it install itself
-
meena
but i feel like we have different options for those scenarios already
-
unixman_home
Greetings all. What NIC + driver combo would I need on 13.1 to get NBASE-T working on FreeBSD with my ISP's new 2.5 Gbit connection? Searching for FreeBSD + NBASE-T on the web and searching NBASE-T in the forums is not getting me any answers. I don't want to waste money buying something that won't work. TIA!
-
unixman_home
FTR, I am planning to build a new router box from scratch for this.
-
Demosthenex
unixman_home: great nick. what's NBASE-T anyway
-
Demosthenex
ah, not quite 10G and on copper, got it.
-
Demosthenex
i'd suggest starting with card models ;]
-
unixman_home
Yeah, it is also known as multi-rate. Basically rates between 1 Gbit and 10 Gbit.
-
Demosthenex
pick a card first, then confirm support
-
unixman_home
I looked at
ark.intel.com/content/www/us/en/ark…hernet-network-adapter-x710t2l.html but do not want to spend that much before I know it will work for multi-rate / NBASE-T with FreeBSD 13.1. Pretty sure those use the ixl driver, but I have not gotten firm information that the driver supports multi-rate successfully. I can't just toss money at the problem with trial and error.
-
VimDiesel
Title: Intel Ethernet Network Adapter X710T2L Product Specifications
-
unixman_home
I was hoping someone here had experience getting NBASE-T working and would recommend a NIC.
-
nmz-
seems like last 2 versions of firefox make firefox not create new net connections and even close some. making it unusable
-
Demosthenex
unixman_home: might be better to post on the forum, asking about the ixl driver
-
Demosthenex
given how specific that question is
-
unixman_home
Yeah, Demosthenex, I am planning to ask on the forum as well. But wanted to check here first. Thanks.
-
CrtxReavr
I'm sticking with Google Fiber's 1 Gbit service, until they ditch the requirement to use their router for 2 Gbit.
-
CrtxReavr
'Course. . . the 1 Gbit is stupid fast for a home connection.
-
rtyler
I've been digging into a test failure for a piece of software, and I think the problem comes down to posix_fallocate(2) fails on FreeBSD/ZFS, but I cannot find much discussion about that on the internet at large
-
» rtyler is rather surprised
-
debdrup
elgrande: ports uses dialog4ports, appropriately enough
-
debdrup
unixman_home: are you sure whatever's at the other end implements NBaseT properly? A lot of the teething problems of NBaseT seems to relate to improper implementations.
-
debdrup
nmz-: I can't say I've been experiencing that; have you tried with a brand new profile (created with firefox -P)?
-
acommonman
Hi. I understand the difference between pkg and using ports, but my question does the same source / binary ways exist to update maintain the core system? Like, is there a source based way of using the system instad of freebsd-update if I am on -RELEASE? Don't have a solid reason except tuning the system with march=native
-
angry_vincent
acommonman: Yes.
-
debdrup
acommonman: read build(7)
-
acommonman
Ok Thanks
-
acommonman
debdrup, that's it
-
acommonman
thank you
-
debdrup
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
acommonman
thanks
-
debdrup
acommonman: do note that march=native doesn't do anything, since nothing in the FreeBSD base system (with the exception of OpenZFS, which does it irrespective of what the build system says) takes advantage of SSE and MMX.
-
debdrup
This is deliberate because the vast majority of data, both in terms of frequency and size, are sets of data that aren't very big - so because there's a latency associated with using all SIMD instructions like SSE and MMX, it can take _longer_ to execute short bursts when using SIMD instructions.
-
acommonman
debdrup, I see. Well, apart from march=native Gentoo also use
wiki.gentoo.org/wiki/CPU_FLAGS_X86 .. They generate it with a python script cpuid2cpuflags which can be put in make.conf. No such CPU instruction set declaring options for FreeBSD to take advantage of SSE / MMX and newer sets?
-
VimDiesel
Title: CPU_FLAGS_X86 - Gentoo Wiki
-
debdrup
FreeBSD isn't Gentoo.
-
acommonman
debdrup, I know it isn't. I meant is there a similar option to force it?
-
debdrup
acommonman: there's nothing in the base system that takes advantage of it.
-
acommonman
Ok Got it
-
debdrup
-
VimDiesel
Title: "Performance Matters" by Emery Berger - YouTube
-
acommonman
Thanks
-
angry_vincent
acommonman: though, you can set CPUTYPE= yourcpu to maybe gain something
-
debdrup
acommonman: no, it won't gain anything.
-
debdrup
That's the entire point of what I just said.
-
acommonman
I understand
-
angry_vincent
he can try and judge for himself. There is such possibility to set cpu optimized variable
-
debdrup
angry_vincent: that's why I linked to the presentation above.
-
debdrup
It's not a matter of "judge for yourself"; statistics is an actual field of science where we have the tools to figure out if A´ is faster than A, with the correlary that if we don't control for the act of optimization, we don't know if A or A´ is faster despite the fact that A´ may appear faster.
-
angry_vincent
-
VimDiesel
Title: bsd.cpu.mk « mk « share - src - FreeBSD source tree
-
angry_vincent
acommonman: if you still want to try
-
angry_vincent
acommonman: i have set CPUTYPE= sandybridge for my cpu
-
angry_vincent
acommonman: in /etc/make.conf
-
debdrup
CPUTYPE doesn't build code that suddenly includes SIMD instructions.
-
meena
debdrup: that talk looks class
-
debdrup
meena: there's also a follow-up that's called "performance really matters"
-
debdrup
In reality, the binaries produced by FreeBSD target the Pentium Pro micro-architecture, according to
cgit.freebsd.org/src/blame/contrib/…Driver/ToolChains/Arch/X86.cpp#n115 - but even if you change that, it doesn't suddenly produce machine-code that includes SIMD instructions.
-
VimDiesel
Title: X86.cpp « Arch « ToolChains « Driver « lib « clang « llvm-project « contrib - src - FreeBSD source tree
-
acommonman
debdrup, got it. But the ports are a different matter right? Can they benefit from CPU instructions?
-
debdrup
acommonman: that depends on their build infrastructure, which ports have no control over.
-
debdrup
The third party software's build infrastructure, I mean.
-
acommonman
Oh ok
-
unixman_home
debdrup, I have no way to test the NBASE-T implementation yet as I don't have a system that can take advantage of it. Once I have hardware that I know is supposed to work, then I can bug my tech guys at the ISP if it does not. That said, one of my cow-orkers has a MicroTik router build that he showed me is working at 2.5 Gbit with the local ISP.
-
debdrup
unixman_home: most of the implementation problems I've heard of have been from NICs in computers to switches on a local network (which, incidentally, is also, seemingly,the biggest use-case, since it lets people get more bandwidth without upgrading cables)
-
yuripv
unixman_home: i have various aquantia (or how it's really spelled) working on gigabyte motherboards with a driver from ports, not that i could really "recommend" it, didn't do any real bandwidth testing
-
unixman_home
s/MicroTik/MikroTik/ up there.
-
debdrup
yuripv: have that port been updated to support the newer NICs?
-
unixman_home
I will be going direct from the cable modem to my router. Any switches will be after the router. As long as the router gets full rate, I will be happy.
-
yuripv
not sure, both my nics (5gb and 10gb ones) worked with the version from an year ago
-
debdrup
Aquantia/aqtion-freebsd c664598 was committed after the last update, so it looks like no.
-
VimDiesel
Title: adds aqc107 with AQ_DEVICE_ID_0001 · Aquantia/aqtion-freebsd@c664598 · GitHub
-
debdrup
last update to the port, I mean
-
unixman_home
Planning to get a switch that can take a 10Gbit SFP to put between the router and the LAN. Overkill for now, but ISP is talking about eventually providing 10Gbit to the home, so I am planning ahead.
-
debdrup
unixman_home: Is the router some sort of DOCSIS thing?
-
unixman_home
Yeah, it is DOCSIS cable modems.
-
debdrup
Yeah, NBaseT for DOCSIS modems has come up a lot in a thread on a forum I'm on.
-
unixman_home
FTR, this is not my current ISP. I will be adding the other ISP and will be paying for two connections until I get this working.
-
debdrup
They're apparently all the exact same Broadcom chipset, but reportedly don't mix well with Intel NICs.
-
unixman_home
They just got their service out to my neighborhood here in the sticks.
-
unixman_home
Sounds like "fun" debdrup. :D
-
debdrup
I don't know about you, but I tend to view "We're Intel who dual-licenses code as both BSD and GPL" with a bit more respect than "We're Broadcom and are going to buy up every competitor and stop releasing software updates to push customers onto newer products"..
-
unixman_home
Same. Especially the BSD license part.
-
» unixman_home > back_to_work
-
acommonman
Are versions and release channel of packages in ports / pkg same across presently supported bsd versions? Like if I am using FreeBSD 12.x-RELEASE / 13.x-RELEASE and 14.X-CURRENT is the ports or pkg (both quarterly or latest same?
-
acommonman
Sorry if the question is noobies. I am still trying to understand how FreeBSD is different than Linux
-
acommonman
***noobish
-
meena
acommonman: checkout the table here for instance
freshports.org/devel/dbus
-
VimDiesel
Title: FreshPorts -- devel/dbus: Message bus system for inter-application communication
-
acommonman
meena, thanks. let me check
-
acommonman
meena, thanks
-
acommonman
got it
-
acommonman
that explains
-
acommonman
Just love how FreeBSD handles the separation of the system and the ports/ pkgs
-
ek
acommonman: Absolutely.
-
acommonman
I mean its something that is a total mess in a lot of LTS linux distros like Debian / Redhat / SUSE
-
debdrup
One thing I appreciate even more than that is that if you just use programs like they are as they're installed, the config gets removed - but if the config gets changed, it gets left behind when the software is removed.
-
debdrup
This lets you install software, configure it, deinstall it, and use what's left to create a custom image that installs exactly as you want it.
-
acommonman
Ahh. That's interesting
-
last1
is there any fast way to setenv a variable with ! without escaping all of them ?
-
last1
I tried quotes, double quotes, it still hangs on !
-
last1
aka setenv SSL_CIPHER 'ALL:HIGH:!aNULL:!eNULL:!kECDH:!aDH:!RC4:!SSLv2:!DH:!3DES:!CAMELLIA:!MD5:!PSK:!SRP:!KRB5:@STRENGTH'
-
» jarebear6expepjo stares at his dotfiles...
-
jarebear6expepjo
have you tried \!PSK ... ? last1
-
meena
that's escaping
-
jarebear6expepjo
oh right
-
antranigv
Friends, I'm looking for a unix program that can run a time-sharing machine, where users can do `chat` and chat with each other. Like IRC, but locally. like talkd, but with multiple people. any suggestions?
-
mason
antranigv: icb?
-
mason
antranigv: You could always just run a local IRC client too. I've done that.
-
antranigv
huh, that sounds good too
-
ek
antranigv: Or use wall/write.
-
mason
Local IRC server*
-
antranigv
ek yeah we do use that, I just wanted one for everyone together
-
mason
-
mason
there are several in ports
-
ek
antranigv: Well, 'wall' will write to every connected user. It's isn't the prettiest thing but it works.
-
antranigv
There's an application by sdf.org called com, which is perfect, but I can't find its source.
-
antranigv
maybe all I need is a local irc server and a script called `chat` where connects automatically
-
mason
That'd work.
-
mason
Dump everyone into one channel.
-
rtyler
antranigv: building a BBS? :)
-
antranigv
rtyler yes!
-
antranigv
rtyler well, a hackerspace, but I want these younglings to see Unix-y things
-
antranigv
I just made `ssh jail⊙ha` where, depending on the SSH Key, it will `jexec` into a different jail :D
-
antranigv
so everyone does `ssh jail@hackerspace`, but I get into my jail, and you get into yours!
-
rtyler
cute
-
ek
Lol.
-
jarebear6expepjo
.metals
-
jarebear6expepjo
copper to la luna
-
bsdbandit
has anyone got suspend and resume to work running freebsd on a laptop
-
bsdbandit
?
-
bsdbandit
i can supend the laptop withouth an issue but when trying to wake up my laptop i always have to reboot this is happening on my lenvo x1 extreme
-
bsdbandit
gen3
-
V_PauAmma_V
-
VimDiesel
Title: Laptops - FreeBSD Wiki