02:47:47 if i want to use latest repo, in pkg's FreeBSD.conf i change url to have latest instead of quarterly. do i do the same for the kmods repo url? kmods_latest_... 02:55:27 doesn't seem like that works 02:56:00 kerneldove, It is documented in the "man pkg.conf" file. It's the first two examples at the bottom of the man page. 02:57:22 "it" isn't documented, if you mean what the valid values are 02:57:45 valid values for the base repo are quarterly (default) and latest. but it seems like only quarterly kmods is valid? 02:58:18 it's valid to have latest for base repo but quarterly for kmods repo? 02:58:52 The example starts with FreeBSD-kmods: { url: "pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_${VERSION_MINOR}", 02:58:58 ya 02:59:16 and? 02:59:51 And also url: "pkg+https://pkg.freebsd.org/${ABI}/latest", 03:00:18 did you even read what i wrote or just ignore it? 03:05:05 ivy there's a documentation opportunity: pkg.conf document valid values for the 2 repos which for base repo is latest and quarterly, and for kmods repo only quarterly is valid 03:05:10 fwiw *shrug* 03:07:06 I only provide the information that I have. I don't do miracles. Miracle Max is on break. 03:25:05 anyone have freebsd-update fetch fail pretty often on servers in europe? never ran into this before but till now i only ran from US servers 03:44:27 on dns requests it errors saying address family for hostname not supported 03:50:31 kerneldove: this isn't a fact, though 03:50:53 https://pkg.freebsd.org/FreeBSD:14:amd64/ -> you'll note that there are in-fact latest and quarterly versions of the kmod repos 03:51:14 main only has latest 03:51:24 ah hm maybe the connectivity issue i'm having is unrelated 03:52:29 if i used latest for base repo and quarterly for kmods repo does that bork my install kevans? 04:15:43 1 04:24:25 ya ofc, piece of shit webhost, their network config was fucked up and that made it look like "latest" kmod wasn't working/valid 04:24:40 still think the valid values should be documented in pkg.conf *shrug* 07:24:04 is there a timeline to remove bios support from freebsd and only support uefi? 11:59:17 Hi, I was searching for some packages such as discord and found https://cgit.freebsd.org/ports/tree/net-im/linux-discord, does linux-discord or any app that has linux-app work through the linux binary ccompatibility layer on freebsd? 12:18:44 sozuba: yes, the discord client leverages linux "stuff" to get it to work 12:19:08 understood. Thank you :) 12:19:16 voy4g3r2 : 12:19:18 Yeah. AFAIK packages like that expect the Linux compatibility layer to be enabled. sysrc linux_enable="YES" vs sysrc linux_enable="NO" and you can test yourself. 12:20:01 i haven't installed freebsd yet, so can't check that yet. I am looking at all the packages i regularly use. 12:20:08 thank you o0x1eef 12:20:09 Ah, I see :) 12:20:33 Hope to install freebsd as a daily driver. 12:20:42 Good idea :D 12:20:51 tried it long back, had heating issues, hoping things work this time 12:20:53 :) 12:21:06 What kind of hardware do you have? 12:22:41 In the worst case scenario you could just use things like Discord in the browser too. In my experience, BSD is usually about compromise. 12:23:17 I use a Lenovo E450 laptop 12:23:38 Intel(R) Core(TM) i5-4300U (4) @ 2.90 GHz 12:23:50 16 GB Ram and 7400 RPM hard disk 12:23:57 o0x1eef: 12:24:36 Ah okay, Lenovo are usually good. I ran FreeBSD on an ideapad from Lenovo but wouldn't recommend that particular model. It didn't even work properly on Linux though. Usually thinkpads are also a good fit. 12:27:38 I tried freebsd more than a year or two ago. The laptop emmitted a lot of heat compared to linux and so i kinda quit and moved back to linux, i wanted to try and see if things are better now. 12:28:10 yeah i did read that hardware, even on well known brands are sometimes a hit and miss for certain stuffs when it comes to freebsd, 12:30:02 Indeed. Well, I encourage you to try and if you run into issues you can always ask for help here. 12:30:20 yup, will do 12:30:23 thanks you :) 12:30:26 yw 13:04:39 sozuba: https://vermaden.wordpress.com/2018/11/28/the-power-to-serve-freebsd-power-management/ 13:05:02 power management on freebsd is a dance and this is a real good source of information.. when you get furhter along in your journey.. he does a lot of cool things and shares. 13:26:17 Thank you. I think i tried this one a while ago, but can't be sure. Will try agin this time if i face similar issues. Note: This is the bug i filed long back https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271938 and the related forum post - https://forums.freebsd.org/threads/excessive-heat-on-lenovo-thinkpad-e450-even-with-cpu-100-idle.89358 13:26:28 voy4g3r2 :^ 16:08:06 Any thoughts on why some system calls are suddenly faster on FreeBSD than Linux? I have some measurements here: https://forums.freebsd.org/threads/since-when-does-freebsd-have-faster-syscalls-than-linux.98957/ 16:08:31 I must have missed something, this didn't use to be the case. 16:10:03 were Linux's formerly faster? or just about the same? 16:10:06 most of those aren't syscalls 16:10:29 I referring to those calls that are syscalls. 16:11:08 even e.g. mutexes aren't syscalls every time, only if they have to block 16:12:11 I see getrusage at least. try disabling all mitigations on Linux. It could be that FreeBSD is missing some 16:12:44 a lot of mitigations for these recent CPU vulnerabilities involve doing something when crossing between kernel and userspace 16:14:26 Good point. Will do. 16:18:20 also, if you want to measure just the time to go to kernelspace and back, call getppid(). It's possibly the simplest syscall, it just gets an integer from a struct in the kernel and returns it. On Linux the libc is going to cache its result so only the first call is a syscall, you need your own syscall wrapper. On FreeBSD I have no idea 16:20:53 I find read() taking 75.9nsec total very strange, that's longer than it takes to go to the kernelspace and back on any CPU I've tested, the highest end such machine being the Ryzen 5 5600g 16:26:20 also, you're calling gettimeofday() to measure elapsed time. That's not the monotonic clock, your results can be influenced by NTP. You should call clock_gettime(CLOCK_MONOTONIC, ...) instead 16:26:32 Mitigations off in Linux speed up read(2) quite a bit. Numbers added to thread. 16:26:57 Thanks for the tip. 16:28:50 yeah, and the issue with that is that FreeBSD has its CPU vulnerability mitigations too, if you disable them it should also speed up. 16:30:45 * kevans notes that comment #12 re: vdso sounds wrong as worded 16:31:22 we certainly have the same functionality, which currently includes gettimeofday and clock_gettime 16:32:12 I wonder why gettimeofday is no longer fast in Linux-6.17-rc2. 16:33:03 it turned into a syscall for some reason, 0 sys time on 6.8, and >µs on 6.17 16:34:16 and about my read() comment: I screwed up, I mean that's SHORTER than I've ever seen 16:37:20 seems freebsd doesn't have something like `mitigations=off` to disable everything for testing 16:44:32 you should change setitime(ITIMER_REAL, ...) to setitimer(ITIMER_PROF, ...) too 16:53:36 I pushed the clock_gettime(CLOCK_MONOTONIC, ...) change. I am not so sure about ITIMER_PROF. Don't I have to restart system calls in that case? 16:55:55 ITIMER_REAL should interrupt syscalls too. With enough iterations, the last syscall in the loop getting interrupted doesn't make a difference in the results 16:57:27 Yes. I guess I should polish up that loop. 18:22:26 hehe, Cracauer is here. Good to see you, man. 18:22:58 *was here 19:42:11 flatdog: still holding out. 19:43:05 good to see/know 20:12:46 Today's WTF: when starting a new tab in kitty (ctrl-shift-t), everything seemed to work normally except zsh didn't load any of its config. su to root and run zsh there, everything works fine. My own user? Nope. Run sh and then zsh? Still no config. The problem turned out to be that kitty had been deinstalled, and this weirdness was the symptom. 21:20:42 is there a timeline to remove bios support from freebsd and only support uefi? 21:44:05 kerneldove: i am not aware of any plans to do that 21:48:36 ok ty ivy. and what did you think of my doc suggestion for pkg.conf? to document the valid values for the 2 repos, that both can be quarterly or latest, and whether or not they can differ. (1 be quarterly, other latest) 22:18:23 kerneldove: i don't have any opinion on that, i suggest opening an issue in the pkg project 23:26:17 vkarlsen: is it a login shell? 23:26:25 oh. what? 23:57:02 anyone know how i can insert a "(" into a vnc over ipmi thing to a server? 23:58:42 sometimes the virtual consoles have a virtual keyboard you can use. sometmies it's really picky about timing--like you have to mash shift and 9 very quick together 23:59:07 ofc virtual kb doesn't have paren on it 23:59:21 Does it support copy/pasting? 23:59:22 some let you make custom macros, which could just be a ( 23:59:29 that stuff rarely supports clipboard shit 23:59:32 ooi, what prevents you from just typing the character? 23:59:47 tried custom macro idea heh 23:59:53 im betting he's just getting a 9, right?