Add performance notes
[ikiwiki.git] / release34 / index.mdwn
9ad8146e 1# DragonFly Release 3.4
59472ff9 3Version 3.4.0 released xx April 2013.
9ad8146e 4
5## Big-ticket items
59472ff9 7### Experimental packaging system: dports
aba95e00 9John Marino has created a system, DPorts, that uses the FreeBSD ports system to build ports for DragonFly, and uses [pkgng]( to manage the binary packages produced from those ports.
59472ff9 10
963e3422 11The default packaging system on DragonFly is pkgsrc. To use DPorts, you must remove or disable pkgsrc packages. Pkgsrc and DPorts cannot be used at the same time, or have packages mixed together. See the [DPorts Howto page](/docs/howtos/HowToDPorts/) for details on installing and using DPorts. Note: this is the first release with DPorts, and this is still experimental.
59472ff9 12
5275afbc 13The [DragonFly snapshots]( are built using dports. (and also have XFCE for the desktop)
9ad8146e 15### Performance improvements under extreme load
56e0e599 17The process of testing [poudriere](, a tool for mass-producing binary dports packages, exposed stability issues when repeatedly mounting and unmounting many tmpfs systems on large multicore (48) systems. These issues have been fixed. In addition to stability, several changes were made to improve performance in situations with heavy processor and disk usage.
aba95e00 18
d065665d 19Improvements in [poudriere performance, tmpfs performance](, and [CPU usage]( (graphs are linked in those message) were graphed by Francois Tigeot and posted on the mailing list.
0703c256 21### New default compiler
c34817a6 23The two base compilers have swapped roles. GCC 4.7, introduced as an alternative compiler with Release 3.2, is now the primary compiler used to build DragonFly. GCC 4.4 remains on the system and still has an important role as the primary DPorts compiler. GCC 4.7 brings [OpenMP](http:// (parallel programming) support to DragonFly via libgomp as well as stack smashing protection via libssp, neither of which was supported by GCC 4.4. The newer compiler also offers improved C++ and Objective-C support, and introduces [Link-Time Optimization]( (LTO) support.
0703c256 24
9ad8146e 25### New USB stack
aba95e00 27[USB4BSD]( is available this release, though not by default. More USB devices are compatible with DragonFly, and xhci (USB 3.0) users may be able to take full advantage of their newer hardware. Since this is a new feature, it is available in 3.4 but *not* built by default. See the [original announcement]( for how to do so. This feature was available in DragonFly 3.2 but is still experimental.
9ad8146e 28
29## Availability
f83492af 31Two release options are now available for 32-bit as well as for 64-bit. 64-bit installations are recommended if you do not need the Linux emulation layer.
9ad8146e 32
33* An ISO, to be burned to a physical CD or used as an image to install a virtual machine.
34* A bootable USB disk-key image. (minimum 2G USB stick needed)
36The release ISO images should be available on most of the [[mirrors|mirrors]]. If the ISO is not available on a certain mirror, please try another one or download it from the DragonFly master site. Each image is in the "Live CD" format, meaning that it boots into a running and fully functional DragonFly system, which can be used for testing or system recovery tasks as well as installation. Check the [hardware page]( or boot a Live CD to check for compatibility.
39### MD5 sums
41MD5 sums for the compressed images:
43* MD5 (dfly-i386-3.2.1_REL.img.bz2) = a592...
44* (FIXME)
46MD5 sums for the uncompressed images:
48* MD5 (dfly-i386-3.2.1_REL.img) = 52c416d...
49* (FIXME)
51### pkgsrc packages
f83492af 53Pkgsrc packages have not been pre-built for this release. We suggest building from source for pkgsrc installation.
9ad8146e 54
55We supply a Makefile in `/usr` to track the pkgsrc tree and we supply a Git mirror of the NetBSD pkgsrc CVS repo at `git://`. We recommend that users use it, instead of pulling from NetBSD with CVS. Our Git mirror is updated several times a day. Type 'make' in /usr to see the available commands for performing these actions.
57## DragonFly 3.4 Special Installation and Upgrade Notes
f83492af 59**Disk size warning** - Installations using HAMMER should be to disks over 50G in size. HAMMER history will consume disk space quickly. Either use UFS on smaller disks, or prune your file history carefully.
9ad8146e 60
61**Virtual PC users** - Virtual PC does not supply serial numbers for the virtual disks. The system may need to be manually directed in the boot loader if the disk identifier changes. (Hit ? in the boot loader for a list of available volumes.)
63**Qemu users** - If you see a large number of error messages on the console when booting, you may need to boot DragonFly with ACPI disabled. This can be done in the menu presented at initial boot. If that doesn't help, try placing hw.ioapic_enable=0 in /boot/loader.conf.
65**Installer Crypt Options** - The installer can encrypt the root volume and the swap volume. It will not work properly for other volumes despite any additional check-boxes you might see. Installer and boot-time support works but is still a bit rough around the edges. Performance will be relatively high on multi-core machines.
67## DragonFly 3.4.0 Release Notes
f83492af 69For a list of per-commit changes, see the [3.4.0rc tag commit](
aba95e00 70
9ad8146e 71> ### Kernel changes
ee7cb0c2 73* Very large number of ACPI changes
74* Very large number of Interrupt routing changes
75* Far better MSI/MSI-X support
76* Multiple TX and RX ring support with networking chipsets
77* Many network throughput and latency enhancements
78* Enhanced FP unit support
79* Fixed panics during keyboard screen switches
80* Improved performance under heavy paging loads
81* Greatly improved namecache performance and stability under heavy SMP loads
82* Greatly improved VM fault performance and stability under heavy SMP loads
83* Improved PMAP performance and stability under heavy SMP loads (64-bit)
84* Fixed SMP races with ^T on heavily threaded programs
85* Fixed symbolic DDB backtraces (64-bit)
86* Improved stability of swapoff
87* Improved swap page allocation algorithm
88* Greatly Improved TMPFS performance and stability by a lot
89* Fixed performance issues with namecache negative caching
90* Improved error handling in mount and unmount
91* Fixed BUFFER CACHE related performance issues due to fragmentation
92* Proper accounting for system time during heavy token contention
93* 'sync' system call no longer uses MNT_LAZY as this prevents a full sync
94* Reduce unnecessary KVM use on systems with large amounts of memory.
95* Improve UFS performance by making the ihash table per-mount
96* Better support for BIOS-emulated video displays
97* Fixed ptrace panic
98* 64-bit reverted to use nmalloc (dmalloc had too many memory bloat issues)
aba95e00 99* More reliable when very rapidly mounting and unmounting filesystems
100* USB4BSD libraries added: libusbhid, usbhidctl.
101* SMP support now on by default
102* SMBIOS information is now detected and available.
103* ifnet/ifaddr statistics are now saved per-CPU.
acec9460 104* virtio, virtio-blk drivers added.
f44e8278 105* eaccess support implemented
106* SO_NOSIGPIPE support implemented
9ad8146e 107
108> ### Hardware changes
aba95e00 110* AVX instructions are now supported on 64-bit processors.
111* Improved stability for iwi(4), wpi(4), and ath(4)
112* hptiop(4) supports RocketRAID 4520 and 4522
113* USB4BSD drivers added: usb, ehci, ohci, uhci, xhci, umass, usfs, uaudio, uep, uhid, ukbd, ums, uether, udav, and axe.
acec9460 114* em(4) and emx(4) are updated to Intel em-7.3.4.
115* igb(4) has I210 and I211 support, and is updated to Intel igb-2.3.7.
116* bnx(4) supports the BCM5717-C0, BCM5762, BCM5725 and BCM5727.
117* rl(4) supports the DLink DFE520TX C1
118* msk(4) and et(4) are MSI-enabled
119* bce(4) supports multiple-vector MSI-X, multiple receiving queues and multiple transmitting queues for BCM5709/BCM5716
120* bce(4), bge(4), bnx(4), em(4), emx(4) and jme(4) packet transmission performance has been improved by aggregating hardware register writing.
121* bce(4) and igb(4) now enable multiple hardware transmitting queues by default.
122* emx(4) supports 2 transmitting queues on 82571/82572, but is not enabled by default.
123* bce(4), emx(4), igb(4) and jme(4) fully support the new polling(4) (IFPOLL).
ee7cb0c2 124* AHCI bug fixes.
9ad8146e 125
aba95e00 126> ### HAMMER2
ee7cb0c2 128* NOTE: HAMMER2 is not operational yet, not even for devs.
acec9460 129* AES GCM support.
130* Cache coherency management system created based on HAMMER1.
131* Message passing system implemented.
132* Spanning code written.
aba95e00 133
9ad8146e 134
135> ### Userland changes
aba95e00 137* Vkernel disk serial numbers and interface MACs can now be set from the command line.
acec9460 138* mktemp(1) improvements from FreeBSD.
139* System make set to bmake.
140* Automatic installation of dports via /usr/Makefile added.
3305f45f 141* Fixed bug in powerd that could lead to only 1 cpu in the cpumask for userland scheduling.
f44e8278 142* libfetch synced with FreeBSD
143* libutil updated with file group utilities and hexdump
144* cp, mv synced with FreeBSD
145* getline bug fixed
62571eb1 146* Implemented automatic backup of binaries prior to installworld
9ad8146e 147
148> ### Removals
acec9460 150* None in this release
9ad8146e 151
152> ### Contributed Software
154* Shipping with pkgsrc-2013Q1.
aba95e00 155* gcc4.1 removed
9ae44a80 156* gcc4.7 promoted to primary compiler
157* gcc4.4 demoted to alternate compiler
158* flex updated to 2.5.37
aba95e00 159* bmake updated to 20121010
160* OpenSSH updated to 6.1p1
161* m4 updated
162* byacc updated to 20121003
163* OpenSSL updated to 1.0.1e
164* dialog updated to 1.2-20121230
165* libarchive updated to 3.1.2
166* zoneinfo updated to tzdata2013b
9ad8146e 167
168>### Security related
acec9460 170* No specific security-related updates in this release.