FreeBSD: гораздо лучше GNU/Linux

FreeBSD GNU/Linux . ! . 100% Unix , FreeBSD GNU/Linux, 20+ .

FreeBSD BSD : NetBSD, OpenBSD, DragonflyBSD. - , FreeBSD, . FreeBSD NetBSD ( ), OpenBSD ( ), DragonflyBSD ( ), Solaris (DTrace, Jail-, ZFS), .

, FreeBSD , , . GNU/Linux , , , , , .


FreeBSDGNU/Linux
BSD , . Zstd , , syslog- . - , libxo, . .
GNU , , copyright holder-, . Linux , Hurd FreeBSD. (?) , , , , . GNU . Linux.

- , , . , / , . : , .

- distribution maintainer-, , - , . maintainer- ( , , , , ..) .

, Ubuntu, , GRUB , IPv6, . MTU Ubuntu (!?). .

GNU/Linux, GNOME, NetworkManager - , . netcat IPv6 ( telnet, socat), .
BSD . - , . EXPERIMENTAL .
Linux - , , , , , , . btrfs production ready, ( Facebook — ), .

- . POSIX file locks, , Linux.
, . , fstat, gstat, ifmcstat, iostat, ipfstat, kldstat, lockstat, netstat, nfsstat, plockstat, pmcstat, procstat, pstat, sockstat, vmstat . - ? acpiconf, atmconfig, bsdconfig, ifconfig, kldconfig, mdconfig, pciconf, usbconfig, sysctl, sysrc. , , .

Framework : rc , ifconfig .

FreeBSD firewall-: ipf, ipfw, pf — /, firewall-. ipfw IPv4, IPv6, TCP/UDP/SCTP, ICMP*, Ethernet, traffic shaper/scheduler, NAT, NAT64, NPTv6, IPsec, stateless/stateful firewall .

, , sysctl.
IP , ifconfig ip. , route ip. TUN/TAP , tunctl ip. bridge , brctl ip. bond, ifenslave ip. IPsec SA, setkey ip. iwconfig, ip. , iptunnel, ip. MAC, nameif, ip.

ip , ? STP bridge brctl, . , , . FreeBSD ifconfig.

Framework- : shell-based Debian, NetworkManager, systemd . - .

iptables, ipchains? Ethernet ebtables, IPv6 ip6tables, ARP arptables. , , iptables — , / ufw.

? . deprecated nftables. deprecated bpfilter . firewalld.

sysctl /sys, .

fdisk, parted, gdisk, sfdisk, gparted. MBR/GPT , , / , 100%/full? . FreeBSD gpart , , , , / .
12+ ZFS .
ZFS-on-Linux, , production-ready, . ARC Linux-, , , , . Linux ARC- RAM/2 — . TRIM , ZFS SSD.
man- , , , FreeBSD Handbook. , Unix, . ? man intro, intro . OpenBSD man-, handbook-, .
GNU/Linux , , . ( !) — stackexchange.com -. , . , , .
/ GNU/Linux ( /, ), — WhatsApp, 2M+ TCP . 60% ( ) Netflix, FreeBSD. — , FreeBSD. - Quake3-for-Linux FreeBSD 10-15% FPS.
GNU/Linux - , , .
.
, / OOM killer - («», ) SSH . user-space - : earlyoom, oomd, low-memory-monitor, nohang.
. — , - — . : , CUPS - GIMP?
, , - : - . — . : vim-full vim-minimal, , maintainer-.
, . , , GNU/Linux .
, , desktop- .
IPsec ESP , TFC, ESN — 10Gbps+ . Security Policies .
ESPv3 ESN TFC , , strongSwan, identities Security Policies. .

GNU/Linux


FreeBSDGNU/Linux
Production-ready ZFS 12+ .

UFS2 . UFS2, FreeBSD , ext3/ext4 .
production ready ZFS . TRIM .

ext4 10 UFS2 Linux inode allocation. , ext4 . ivi.ru ( , , ) ext4 .

ext4 16 TiB 4K .

ReiserFS , , .

GNU/Linux XFS, 90- SGI IRIX.
GEOM ( ) . : CACHE — ; CONCAT — JBOD; ELI — ; JOURNAL — ( ); LABEL — labeling; MIRROR — ; MULTIPATH — I/O multipath; NOP — , , ; RAID, RAID3; SCHED — I/O; SHSEC — ; STRIPE — striping. RAID3 , stripe- . ( target initiator) iSCSI iSER.
dm , , RAID-. iSCSI , .

, Linux losetup, .
netgraph / . L2TP, ATM, PPP, Bluetooth, PPTP, HDLC pipe- , firewall-, tee, .…
.
/ DTrace ( Solaris).
SystemTap, . DTrace real-time. SystemTap — .
jail 2000- . VIMAGE. rctl.
LXC, , 10 .
capsicum — capability and sandbox framework, . OpenBSD framework . FreeBSD , .
Linux . , ( GNU) , , .
2000- kqueue . API I/O , , , AIO.
Linux, FreeBSD, , - , epoll.

dnotify, inotifyepoll . kqueue.
2016- FreeBSD ZFS Boot Environment, Solaris.
- 2019-.
ZFS, NFSv4 ACL, POSIX ACL.
( ext3/ext4) NFSv4 ACL.
OSS4 - API. Resampling, , , , , bit-perfect .

sndio OpenBSD resampling, , ( , ), , , , MIDI ( ), near real-time .

- OSS, ALSA ( ). ALSA, , PulseAudio, . . JACK ( OSS4). PipeWire PulseAudio.
IPv6 IPsec ( IKE/ISAKMP) 1998 OpenBSD, FreeBSD.
IPsec .
2000- Yarrow PRNG /dev/random Fortuna.
Linux Fortuna, ChaCha20 PRNG, Yarrow, .
CARP ( OpenBSD), VRRP, .
ucarp .
2015- GELI .
dm-integrity .
IPv6-only .
IPv4-/ IPv6-only .
, systemd , *BSD killer-feature. systemd-free , . FreeBSD, NetBSD OpenBSD, , , , pure shell.

GNU/Linux ? , GNU BSD : sed grep GNU-. , , , . , , OpenBSD — .

All Articles