-
r0ni
fbsd still says p3 on uname after installing p4...
-
cpet
if it doesnt require anything kernel
-
cpet
it will remain
-
cpet
byt freebsd-version will show p4
-
r0ni
ahh i get it. would the kern say p4 if i had built it from source or does even that say p3 still?
-
cpet
if freebsd-version says p4 youre good to go
-
cpet
stop worrying and go play scorn
-
r0ni
not worried, just OCD and it annoys the shit out of me
-
cpet
dont know what OCD means
-
r0ni
go play scorn then ;)
-
cpet
did not like the game ;/
-
r0ni
i've not even heard of it, so you're one up on me
-
cpet
indie horror game
-
r0ni
oh boy, have to build rust again... guess I'll check in on portmaster later lol
-
cpet
pkg why compile
-
r0ni
cuz i run ports, tbh i don't even know what pulled rust into the mix. don't need it that i'm aware of, i just let it do what it says it needs to do
-
cpet
gotta customize eh?
-
r0ni
ports is 90% the reason why i'm using freebsd
-
r0ni
i do have custom installs for postfix, dovecot, etc
-
cpet
have 2TB of space. worry about 5 MB worth of deps
-
rtprio
r0ni: did you reboot after installing the kernel? and where does it say p3?
-
cpet
he mentioned uname
-
jmnbtslsQE
if a virtio device reports 512 byte sectors in diskinfo, gpart, etc, but zpool creates with ashift=12, should i trust zfs or force ashift to be 9?
-
cpet
isnt 512 still the default
-
jmnbtslsQE
cpet: not sure, but i'm second guessing myself because this existing pool has ashift=12 but now new pools have ashift=9 as expected..maybe the existing pool was somehow created with 12
-
jmnbtslsQE
just going to go with 512-byte then for the new pool
-
cpet
well once you install with 512 cant upgrade to 4k
-
cpet
depending on the device it may help or degrade
-
jmnbtslsQE
yeh it's a virtual disk though so never going to change i assume. not sure what the host intends or what the actual underlying size is but if it's reported at 512 then seems the best
-
cpet
but if this is a desktop doesnt really matter if this is a server then yeah but only if you have a ssd or nve drive
-
jmnbtslsQE
wonder if there is a good way to test performance of random read/write from within the install cd before i install and get along with the setup
-
cpet
do you have ports ?
-
jmnbtslsQE
i suppose i can set that up creating a temporary system on disk just for this purpose
-
jmnbtslsQE
is there a port?
-
cpet
theres bonnie and bonnie++
-
jmnbtslsQE
nice..will try thanks
-
vortexx
jmnbtslsQE: if it's for windows server I'd recommend 4096 block size, you'll run into all kinds of issues with databases otherwise
-
cpet
I honestly dont know the difference in 512 and 4096 I just install GPT and it defaults to 4k
-
jmnbtslsQE
OK, well it's just for this freebsd VPS, i'm inside the VPS though, i'm not the provider, so just gauging based on what i see inside. haven't asked the host yet but i will test performance with the tools with both 512 and 4096 to see
-
jmnbtslsQE
vortexx: ^
-
cpet
UEFI + GPT defaults to 4k
-
jmnbtslsQE
OK
-
cpet
I would just reinstall if its new and use the web base VNC
-
jmnbtslsQE
the underlying virtio disk is reporting 512 i guess so hence supecting that the host intends 512 (e..g maybue throttles on the basis of iops for 512 byte blocks)
-
cpet
had a provider default to UFS rather ZFAS despite the server having 24gb of rams
-
cpet
so :)
-
jmnbtslsQE
yeh this is a new node so just testing it out before i actually install my zpool
-
rtprio
good idea
-
cpet
zfs is more of a ram issue
-
rtprio
eh.... no it isn't
-
cpet
if the VPS has small ram not reallt recomended without tuning the hell out of it
-
cpet
pretty much it is if you arent using say hammer which doesnt hog all the rams
-
rtprio
with 24gb i think there's plenty of ram
-
cpet
this is my personal ded server I really doubt his VPS has 24gb of ram
-
jmnbtslsQE
so far i just set arcmax and use ufs on zpool for certain pieces of data that are operated on intensely, and it seems fine, the performance of another node on this host was pretty bad but i think it may be because they throttle iops (not intended to b ea fast disk) and possibly bvecause i used 4096 instead of 512
-
cpet
welcome to the woprld of VPS
-
rtprio
elliot@phil:~$ sysctl -a hw.physmem
-
rtprio
hw.physmem: 34321428480
-
cpet
you share IO cpu
-
jmnbtslsQE
heh this one has 1GB memory
-
jmnbtslsQE
cpet: well never had this issue on other hosts at least to this extent
-
cpet
hw.physmem: 16427266048
-
cpet
every host is different
-
jmnbtslsQE
indeed
-
cpet
in my personal opinion andf again my personal opinion anything from the US is garbage for what you pay
-
cpet
i pay 46/m for a full ded server with 24gb of ram and 2 x 512 SSD and 1TB HD
-
cpet
nor running zfs with 1gb is frowned upon
-
jmnbtslsQE
europe isn't better is it?
-
cpet
but you can tune it
-
cpet
this server is in germany
-
jmnbtslsQE
ah i see
-
jmnbtslsQE
it's definietly a lower price than what you would find in the US i agree
-
cpet
-
VimDiesel
Title: ZFSTuningGuide - FreeBSD Wiki
-
cpet
may need to play with that
-
cpet
but you can make zfs run decent with 1gb
-
cpet
desktop has 32GB ded server has 24GB and server has 16GB so I have some play
-
cpet
you dont :)
-
jmnbtslsQE
ye hi've read that a few times, honestly i think the issues i had with the other node here was throttling + possibly wrong sector, or at least in any case, it's specific tot his provider not my config
-
cpet
dont think they throttle you just share
-
cpet
if another is compiling world
-
cpet
you will feel it
-
cpet
this is why you look at bare metal discount server
-
cpet
-
VimDiesel
Title: Discount Dedicated Servers | Contabo
-
cpet
chepa isnt the way to go when it comes to serving
-
jmnbtslsQE
it's a good question i'm not too familiar with virtualised environments but the disk can be quite slow, to the extent that i wonder what this underlying storage actually is - maybe not even a directly connected spinning disk. pretty much always the same performance over 12 months
-
cpet
again you are sharing IO with x people on the same server
-
cpet
even if they mention SSD or NVE having 20 VM ..
-
jmnbtslsQE
it's designed to be a large non-fast disk which is one clue to me that it's throttled specifically or something similar
-
cpet
well depends on what you will use it for
-
cpet
a small site or a enterpsie site
-
jmnbtslsQE
not doing much serious with this but i do want to put poudriere on it
-
cpet
I was lucky enough to get this server in a discount
-
jmnbtslsQE
so going to put poudriere ina jail and do RCTL
-
cpet
do you have a reason to compile by hand or just benching IO
-
jmnbtslsQE
cpet: that you one linked is theone you mentioned before?
-
cpet
yeah
-
jmnbtslsQE
typically compilking so i can choose options
-
jmnbtslsQE
ah nice
-
cpet
I dont use anything from the US all my services are from EU
-
jmnbtslsQE
well, don't need any extra now but if i do i will take a look at that
-
cpet
you get way more for the buck
-
cpet
well think about that as freebsd doesnt like to grow it's FW
-
cpet
it works but doesnt like it
-
jmnbtslsQE
FW ?
-
cpet
FS
-
jmnbtslsQE
OK
-
cpet
what exactly are you using this for ?
-
jmnbtslsQE
miscellaneous
-
jmnbtslsQE
most of the important things are on the bare metal servers in the safehouse(s)
-
cpet
if thats the case why do issue with 512 or 4k ?
-
jmnbtslsQE
well, i'd like to put this to use since i've paid upfront, and if i have a chance to fix the performance issue i experienced, worth checking the sector size. can't run poudriere on it if it's performing the way it was
-
jmnbtslsQE
160 hours building rust then it timed out because i forgot to raise the timeout beyond 10 days.. heh
-
jmnbtslsQE
no need to build rust spefifically but it's a dependency
-
cpet
pkg install rust
-
cpet
why the hell do you need to compile it ?
-
cpet
especially on a 1gb VPS ?
-
jmnbtslsQE
have not set up poudriere's use of repo-installed pkg
-
jmnbtslsQE
is that possible?
-
jmnbtslsQE
i guesss, just need to tell it to skip it
-
jmnbtslsQE
but there is also the possibility of the freebsd repo not being in-sync with my system, same ABI, etc. forgot how that works
-
cpet
again why do you needf poudriere for rust ?
-
jmnbtslsQE
i think it only matters if my minor version is not the latest, right?
-
cpet
nuking the hell out of this
-
jmnbtslsQE
rust is just the dependency
-
cpet
then you can just instal it and worry about the actual program
-
jmnbtslsQE
i've always been cautious about mixing repo-installed pkg and ports-built
-
cpet
pourdiere is a build system as far as I know it cant fetch and install pkg
-
cpet
it build once then uses the cache to make it quicker
-
cpet
if you dont install portd with options doesnt matter
-
cpet
just a waste of time if you dont need too
-
jmnbtslsQE
yeh i do use options, that's the main reason
-
r0ni
rtprio: yes uname still says p3 as the kernel has no update(s)
-
cpet
well you do you then
-
jmnbtslsQE
OK
-
rtprio
r0ni: you have to reboot after installing your new kernel
-
cpet
r0ni, freebsd-update if it says p4 youre good
-
r0ni
yes, i'm aware that one needs to reboot and yes its also at p4... just a kernel thing I find annoying
-
cpet
if you dont need to update the kernel why update it just to see the pX
-
Oleg1
why was the graphical logo removed from the efi loader? it's been replaced by the ascii logo.
-
cpet
been replace with a perdy logo
-
Oleg1
the text-based logo was replaced by a graphical logo a long time ago. so, why did they decide to go back to the text-based logo?
-
cpet
version
-
Oleg1
today's version of freebsd-current
-
cpet
freebsd detect the system and uses either UEFI or syscons
-
Oleg1
what?
-
cpet
older systems will likely use syscons which is ascii while the uefi uses the newer BMP/PCX
-
Oleg1
I just said that the text-based logo is a part of the efi loader.
-
cpet
ok
-
cpet
you also fail to provide actual issues configs and other files
-
cpet
so ...
-
Oleg1
is there a tunable that I can put into loader.conf to enable the graphical logo?
-
cpet
should be auto based on what the system detects
-
Oleg1
According to this:
forums.freebsd.org/threads/boot-menu-logos.81216 , the uefi loader always displays the graphical logo, so, why does my efi loader display the ascii-style logo?
-
VimDiesel
Title: Boot Menu Logos | The FreeBSD Forums
-
cpet
booting in legacy mode
-
Oleg1
can someone please explain this mystery to me?.. if my system uses the uefi mode, why does the boot loader display the ascii logo, instead of the graphical one?
-
cpet
any reason why you dont post configs ?
-
Oleg1
cpet: I have zfs_load=YES in my loader.conf
-
cpet
conole isnt the same as a FS
-
Oleg1
maybe there is something in my uefi bios settings that prevents the orb graphical logo from showing up.
-
Oleg1
cpet: I have only one one line in loader.conf. why would it prevent the graphical logo from showing up?
-
Oleg1
I guess I'll reboot and take a look at my uefi bios settings
-
Oleg1
this is so strange
-
Sircle
How can I change key mappings e.g change left alt with ctrl. Change /swap capslock and Esc key?
-
DynamiteDan
icky
-
DynamiteDan
ok
-
DynamiteDan
bootcamp is tricky
-
DynamiteDan
and windows 11 can't be installed
-
Sircle
Anyone who was "ever" able to crash Linux AND a freebsd OS?
-
hackkitten
haven't killed a FreeBSD install yet, but have murdered lots of Linux installations
-
hackkitten
mostly due to the package managers, though
-
Sircle
ayecee which os has least crash ration? I heard freebsd is "hard" to crash even intentionally by mere system load but crashing linux with intentional heavy load is just implicit to happen? true?
-
Sircle
hackkitten ^
-
Sircle
hackkitten do I make an sense/
-
satanist
what do you mean by crash unable to use the os, kernelpanik or need to manual repair the instalation?
-
hackkitten
FreeBSD in my view has an advantage because it's a singular distribution, not just another variation of packages tossed around a kernel variation
-
hackkitten
means less chance of those sneaky kernel space bugs
-
satanist
now thinking about it, I was able to crash linux and freebsd (under all my definitions)
-
Sircle
I need an OS which does not freeze regardless of load. It can decide to performe limit as per hardware capacity but it can "not" freeze
-
Sircle
or an OS close to above said
-
hackkitten
get an IBM Power mainframe with their UNIX variant
-
hackkitten
costs a bit, but it's virtually bulletproof
-
hackkitten
plus you get to hotswap CPUs
-
Sircle
hackkitten ok which os?
-
hackkitten
z/OS, for z-architecture
-
hackkitten
:D
-
hackkitten
-
VimDiesel
Title: IBM Z - Wikipedia
-
hackkitten
the alternative is to use fall-over services within the same network
-
debdrup
Use rctl(8) to throttle things.
-
debdrup
Or just use cpuset(8) to reserve at least one core for only FreeBSD to use.
-
debdrup
That's effectively what mainframes do.
-
jafarlihi
Is there backup of old FreeBSD Perforce data somewhere?
-
jafarlihi
Stuff that used to be in perforce.freebsd.org:1666
-
debdrup
Maybe on ftp-archive.freebsd.org ?
-
debdrup
I'm pretty sure I've seen it _somewhere_
-
debdrup
What, in particular, are you looking for?
-
Felgorn
is freebsd performant on a laptop/desktop or should i go with linux?
-
Felgorn
if i want performance
-
rtprio
performance of what? try it and compare for yourself
-
rtprio
no one here is going to stay, "sure folgers, linux has better performance if you're playing tuxracer"
-
Felgorn
rtprio for things like multithreading etc
-
Felgorn
you mean to say performance is subjective or we can't know?
-
Felgorn
for example they say the network stack of freebsd is much more performant, is this subjective also?
-
rwp
I have not benchmarked either performance or power but I would guess that performance would be very similar on both FreeBSD and Linux. But I think Linux has more power saving features. Linux is definitely better for WiFi.
-
dkeav
would performance even matter when talking about laptop hardware, they tend to be inherently inferior to a proper workstation
-
dkeav
the point there is mobility not performance
-
DrNick42
IMO it's all pretty meaningless unless you're testing a certain use case on both freebsd and linux on the same hardware. saying "performance on laptops is better on x" doesn't really make much sense
-
nacelle
a one year old laptop OCcan cream a ten year old workstation.
-
nacelle
s/OC//
-
nacelle
the comparison is basically subjective and asking for finite resolution where there's none to be found from any of us. only trying the various environments with the intended tasks will the real answer become apparent, I think.
-
dkeav
aside from say nixos with a declarative/reproduceable environment, giving up boot environments is not enough to sway towards linux, performance be damned
-
KungFuJesus
-
KungFuJesus
on smb_node.c
-
tsoome
wrong channel but thanks!
-
antranigv
test
-
antranigv
ok, it works
-
antranigv
hi all
-
V_PauAmma_V
'lo.
-
rtyler
I have a new 13.1 install with ZFS, and it looks like ZFS is going off of the device numbers, which change when I connect additional drives, causing the machine not to boot. I'm trying to figure out the appropriate way to configure this zpool so that it will always boot properly
-
rtyler
For whatever reason, when I add or remove disks from the PCI-X sata controller, they show up as ada0,1,2,etc and offset everything from the builtin controller by that much >_<
-
rtyler
Basically this problem but I don't see a satisfactory solution here:
forums.freebsd.org/threads/how-find-numeric-id-of-drive-zfs.62475
-
VimDiesel
Title: ZFS - How find numeric id of drive zfs? | The FreeBSD Forums
-
antranigv
so what's the official place that developers hang out these days? is it the discord server? is it an IRC chat? do we have any of that documented?
-
la_mettrie
some of those more specific dev channels mentioned on the freebsd IRC channel list are fairly active
-
Molnija
rtyler: pci-x?
-
Molnija
like, the old high-bandwidth pci?
-
rtyler
PCI-E I think I mean, can never keep those straight
-
Molnija
express (newer) vs extended (older), totally not confoofing
-
Molnija
pcie is rarely written with a dash
-
Erhard
The trademark is PCIe
-
Erhard
Or PCI Express
-
rtprio
rtyler: what kind of pool? i would suggest putting zfs boot blocks on all drives so it doesn't matter the order
-
rtyler
There are efi and gpt boot partitions on all the drives, the problem is that if I attach or detach drives to the other controller, that throws the boot because it then thinks that this other device is part of the pool when it's not
-
rtyler
Basically I installed, I had two drives that were not part of that pool, the show up as ada0, ada1. If I remove those drives, the four in my zpool have their numbers decremented by two, and then there are problems booting correctly
-
rtprio
can you not set one of the correct drives in the bios? or still zfs gets confused?
-
rtyler
What do you mean by setting them?
-
rtprio
twsed them as the boot device
-
rtprio
set them as the boot device
-
tmp_
Am I getting this right that when you run `zpool status` the members show up as ada2 and ada3 (or some partition thereof)?
-
rtyler
they're already set as the boot device, the machine will boot but then will fail out to single user mode because it gets confused about the status of the zpool if the numbers of these drives aren't exact, meaning two drives have to always exist on the other controller taking up ada0 and ada1:
-
rtyler
-
VimDiesel
Title: zpool status ยท GitHub
-
tmp_
Okay, that's inline with what I thought. I made a similar setup work by switching the members to diskid/DISK-<ident>p<#>
-
rtprio
oh, that's a good idea
-
tmp_
I got the idents by running: geom disk list | grep -E '(Name|ident): '
-
rtyler
what command were you using to adjust the pool? did you just detach them and then reattach with their disk ID?
-
rtprio
and you should be able to zpool replace the drives one at a time
-
tmp_
I don't know how to change that in place, so (with raidz1) I removed the spare, then re-added it using the diskid/DISK notation.
-
tmp_
s/spare/sparable one/
-
tmp_
Resilver, then repeat the process.