What’s new in FreeBSD

This video has been made from the slides and an audio recording of a NYCBUG talk by Eitan Adler in Jan of 2013 and gives an over view on the newest features in FreeBSD since 9.0. This talk covered some recent enhancements to FreeBSD as well some of the experimental upcoming changes. By the end of the talk you should have heard about one FreeBSD technology you hadn’t heard of before.

It covers:

  • bsdinstall
  • bsdconfig
  • Netmap
  • SMP PF
  • pkgng
  • Poudriere
  • clang + llvm
  • Capsicum
  • Auditdistd
  • New Hardware Support
  • Atheros Wireless
  • Virtualization
  • Filesystems: growfs, ZFS TRIM, FUSE, SU+J
  • CVS moving to svn

For more information on the future of FreeBSD source retrieval please see:

Traffic Shaping with pfSense and HFSC (video)

This screencast demonstrates the use of a pfSense device for traffic shaping on a typical home network, with the goals of minimizing latency and maximizing throughput. In particular, we use a three-tier queue configuration where a parent speedboost queue on each interface contains leaf queues that catch all the traffic. The speedboost queues use HFSC’s non-linear service curve to match the behavior of the comcast speedboost. The leaf queues are configured to partition the available bandwidth, and automatically allow ‘borrowing’ when there is no contention.


Section links:

  • Installation / Setup: 3min:01sec
  • Monitoring: 6min:30sec
  • Traffic Shaping: 15min:34sec

DTrace on FreeBSD (video)

This is a video presentation on the status of dtrace on FreeBSD.


DTrace, also known as Dynamic Tracing, was developed by Sun™ as a tool for locating performance bottlenecks in production and pre-production systems. It is not, in any way, a debugging tool, but a tool for real time system analysis to locate performance and other issues.

DTrace is a remarkable profiling tool, with an impressive array of features for diagnosing system issues. It may also be used to run pre-written scripts to take advantage of its capabilities. Users may even author their own utilities using the DTrace D Language, allowing them to customize their profiling based on specific needs.” (source)

FreeBSD ZFS root install with bsdinstall (video)

This video shows how to install a full ZFS system using bsdinstall, on FreeBSD 9.0-RELEASE. This is not like other tutorials where you just use the FreeBSD ISO as a live cd and then do everything manually, with this method you only have to set up the zfs zpool manually. The rest, user settings, network, time zone, etc is done by bsdinstall for your convenience.


The Z file system, developed by Sun™, is a new technology designed to use a pooled storage method. This means that space is only used as it is needed for data storage. It has also been designed for maximum data integrity, supporting data snapshots, multiple copies, and data checksums. A new data replication model, known as RAID-Z has been added. The RAID-Z model is similar to RAID5 but is designed to prevent data write corruption.

FreeNAS 8.0.3: FTP Configuration (video) and FreeNAS 8.0.4 BETA2

The following video, created by the FreeNAS team, shows you how to configure FreeNAS for FTP.


FreeNAS 8.0.4-BETA2 is out for testing. Changes since 8.0.4-BETA1:

Enhancements

  • Update transmission to 2.42 (SF r10093).
  • Add MegaCLI tool (SF r10072, r10073).
  • Disable periodic tasks in the base system that would negatively impact system performance on NAS boxes with large directory structures (SF r10113).
  • Fix handling for ‘every day’ SMART tasks created in the GUI (SF r10088).

Bugfixes

  • Add in several robustness fixes to reduce potential for filesystem corruption on root /  root device. In some scenarios this would also improve performance when fetching data from the root device as well (SF r10095, r10109, r10129).
  • Fix vfs objects modules ordering so shadow copy (aka previous versions) support functions again (FN 935, FN 1186, FN 1275).
  • Update samba to 3.6.3 to resolve several bugs (both security and non-security related) (SF r10127).
  • Network field from iSCSI initiator could contain multiple IP addresses, CIDR addresses, or ANY keyword (SF r10082).
  • Generate istgt.conf properly if and when multiple initiators were specified (SF r10081).