3.4.2 notes
[ikiwiki.git] / release34 / index.mdwn
9ad8146e 1# DragonFly Release 3.4
57baa58c 3Version 3.4.1 released 29 April 2013.
9ad8146e 4
0c5f31f9 5Version 3.4.2 released 27 May 2013. See [tagged commit](http://lists.dragonflybsd.org/pipermail/commits/2013-May/130119.html) for details.
9ad8146e 7## Big-ticket items
59472ff9 9### Experimental packaging system: dports
aba95e00 11John Marino has created a system, DPorts, that uses the FreeBSD ports system to build ports for DragonFly, and uses [pkgng](https://github.com/pkgng/pkgng#readme) to manage the binary packages produced from those ports.
59472ff9 12
963e3422 13The 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 14
5275afbc 15The [DragonFly snapshots](http://avalon.dragonflybsd.org/snapshots/) are built using dports. (and also have XFCE for the desktop)
9ad8146e 17### Performance improvements under extreme load
56e0e599 19The process of testing [poudriere](https://fossil.etoilebsd.net/poudriere/doc/trunk/doc/index.wiki), 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 20
d065665d 21Improvements in [poudriere performance, tmpfs performance](http://lists.dragonflybsd.org/pipermail/kernel/2013-April/031224.html), and [CPU usage](http://lists.dragonflybsd.org/pipermail/kernel/2013-April/031227.html) (graphs are linked in those message) were graphed by Francois Tigeot and posted on the kernel@dragonflybsd.org mailing list.
0703c256 23### New default compiler
c34817a6 25The 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://http://openmp.org/) (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](http://en.wikipedia.org/wiki/Link-time_optimization) (LTO) support.
0703c256 26
9ad8146e 27### New USB stack
aba95e00 29[USB4BSD](http://www.selasky.org/hans_petter/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](http://lists.dragonflybsd.org/pipermail/users/2012-October/017542.html) for how to do so. This feature was available in DragonFly 3.2 but is still experimental.
9ad8146e 30
31## Availability
f83492af 33Two 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 34
35* An ISO, to be burned to a physical CD or used as an image to install a virtual machine.
36* A bootable USB disk-key image. (minimum 2G USB stick needed)
38The 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](http://www.dragonflybsd.org/docs/supportedhardware/) or boot a Live CD to check for compatibility.
41### MD5 sums
43MD5 sums for the compressed images:
9d806699 45* MD5 (dfly-i386-3.4.1_RELEASE.img.bz2) = 304aac2b5662f11af790c7f0873a1aa3
46* MD5 (dfly-i386-3.4.1_RELEASE.iso.bz2) = 2d5bdbff3b6bd67956519757e346ab26
47* MD5 (dfly-i386-gui-3.4.1_RELEASE.img.bz2) = 5d2b24c3ac661b0a22f588ac81f2e2ad
48* MD5 (dfly-i386-gui-3.4.1_RELEASE.iso.bz2) = 4ca4b3511cff0f46b3cf0a4130be95fa
49* MD5 (dfly-x86_64-3.4.1_REL.img.bz2) = ea1f86fc95f9cf30b9481a0bf4dff8eb
50* MD5 (dfly-x86_64-3.4.1_REL.iso.bz2) = 4e7dad45b484f00290accd14fe030171
51* MD5 (dfly-x86_64-gui-3.4.1_REL.img.bz2) = 3c8897a6f2ae2c2d2b9c000d3a85a720
52* MD5 (dfly-x86_64-gui-3.4.1_REL.iso.bz2) = ca66aa3f58d9e66075480ce10f3249e9
9ad8146e 54
55MD5 sums for the uncompressed images:
9d806699 57* MD5 (dfly-i386-3.4.1_REL.img) = a233e06f0149e454e973996da9004850
58* MD5 (dfly-i386-3.4.1_REL.iso) = 5cc59952ecfc8fc18b447df8dd2b6086
59* MD5 (dfly-i386-gui-3.4.1_REL.img) = d0338bd1a48533a1fbed346fd43cfc40
60* MD5 (dfly-i386-gui-3.4.1_REL.iso) = bb9b3a6032e56d66b10f448a8ff5ed33
61* MD5 (dfly-x86_64-3.4.1_REL.img) = d430112f7d901fdd10c2f53d345c333d
62* MD5 (dfly-x86_64-3.4.1_REL.iso) = 5b1db3c77eeb6a71cf507cd76ddff860
63* MD5 (dfly-x86_64-gui-3.4.1_REL.img) = cd0a0dd126d280b37a864918705b33a1
64* MD5 (dfly-x86_64-gui-3.4.1_REL.iso) = 3b77c0074f141ee37c1cb221ed018bfd
9ad8146e 66
67### pkgsrc packages
aec82b6a 69Prebuilt pkgsrc packages are built using pkgsrc-2013Q1. 'pkg_radd' can be used to automatically install binary pkgsrc packages and dependencies.
9ad8146e 70
71We supply a Makefile in `/usr` to track the pkgsrc tree and we supply a Git mirror of the NetBSD pkgsrc CVS repo at `git://git.dragonflybsd.org/pkgsrcv2.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.
73## DragonFly 3.4 Special Installation and Upgrade Notes
9d806699 75**Disk size warning** - Installations using HAMMER should use 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 76
77**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.)
79**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.
2eea17ce 81**VMWare Player users** - xorg.conf may require additional configuration to display a desktop on the i386 GUI DragonFly images.
2a001fee 82
9ad8146e 83**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.
0c5f31f9 85## DragonFly 3.4.2 Release Notes
87For a list of per-commit changes between 3.4.1 and 3.4.2, see the [3.4.2 tag commit](http://lists.dragonflybsd.org/pipermail/commits/2013-May/130119.html).
89The major reasons for this point release were fixes for DragonFly [under Xen with more than 2 CPUs specified](http://lists.dragonflybsd.org/pipermail/commits/2013-May/130116.html), and for [booting x86_64 DragonFly in KVM](http://lists.dragonflybsd.org/pipermail/commits/2013-May/130071.html).
9d806699 91## DragonFly 3.4.0/3.4.1 Release Notes
9ad8146e 92
9d806699 93For a list of per-commit changes, see the [3.4.0rc tag commit](http://lists.dragonflybsd.org/pipermail/commits/2013-April/129831.html) and the [3.4.1 tag commit](http://lists.dragonflybsd.org/pipermail/commits/2013-April/129946.html).
aba95e00 94
9ad8146e 95> ### Kernel changes
ee7cb0c2 97* Very large number of ACPI changes
98* Very large number of Interrupt routing changes
99* Far better MSI/MSI-X support
100* Multiple TX and RX ring support with networking chipsets
101* Many network throughput and latency enhancements
102* Enhanced FP unit support
103* Fixed panics during keyboard screen switches
104* Improved performance under heavy paging loads
105* Greatly improved namecache performance and stability under heavy SMP loads
106* Greatly improved VM fault performance and stability under heavy SMP loads
107* Improved PMAP performance and stability under heavy SMP loads (64-bit)
108* Fixed SMP races with ^T on heavily threaded programs
109* Fixed symbolic DDB backtraces (64-bit)
110* Improved stability of swapoff
111* Improved swap page allocation algorithm
112* Greatly Improved TMPFS performance and stability by a lot
113* Fixed performance issues with namecache negative caching
114* Improved error handling in mount and unmount
115* Fixed BUFFER CACHE related performance issues due to fragmentation
116* Proper accounting for system time during heavy token contention
117* 'sync' system call no longer uses MNT_LAZY as this prevents a full sync
118* Reduce unnecessary KVM use on systems with large amounts of memory.
119* Improve UFS performance by making the ihash table per-mount
120* Better support for BIOS-emulated video displays
121* Fixed ptrace panic
122* 64-bit reverted to use nmalloc (dmalloc had too many memory bloat issues)
aba95e00 123* More reliable when very rapidly mounting and unmounting filesystems
124* USB4BSD libraries added: libusbhid, usbhidctl.
125* SMP support now on by default
126* SMBIOS information is now detected and available.
127* ifnet/ifaddr statistics are now saved per-CPU.
acec9460 128* virtio, virtio-blk drivers added.
f44e8278 129* eaccess support implemented
130* SO_NOSIGPIPE support implemented
9ad8146e 131
132> ### Hardware changes
aba95e00 134* AVX instructions are now supported on 64-bit processors.
135* Improved stability for iwi(4), wpi(4), and ath(4)
136* hptiop(4) supports RocketRAID 4520 and 4522
137* USB4BSD drivers added: usb, ehci, ohci, uhci, xhci, umass, usfs, uaudio, uep, uhid, ukbd, ums, uether, udav, and axe.
acec9460 138* em(4) and emx(4) are updated to Intel em-7.3.4.
139* igb(4) has I210 and I211 support, and is updated to Intel igb-2.3.7.
140* bnx(4) supports the BCM5717-C0, BCM5762, BCM5725 and BCM5727.
141* rl(4) supports the DLink DFE520TX C1
142* msk(4) and et(4) are MSI-enabled
143* bce(4) supports multiple-vector MSI-X, multiple receiving queues and multiple transmitting queues for BCM5709/BCM5716
144* bce(4), bge(4), bnx(4), em(4), emx(4) and jme(4) packet transmission performance has been improved by aggregating hardware register writing.
145* bce(4) and igb(4) now enable multiple hardware transmitting queues by default.
146* emx(4) supports 2 transmitting queues on 82571/82572, but is not enabled by default.
147* bce(4), emx(4), igb(4) and jme(4) fully support the new polling(4) (IFPOLL).
ee7cb0c2 148* AHCI bug fixes.
9ad8146e 149
aba95e00 150> ### HAMMER2
ee7cb0c2 152* NOTE: HAMMER2 is not operational yet, not even for devs.
acec9460 153* AES GCM support.
154* Cache coherency management system created based on HAMMER1.
155* Message passing system implemented.
156* Spanning code written.
aba95e00 157
9ad8146e 158
159> ### Userland changes
aba95e00 161* Vkernel disk serial numbers and interface MACs can now be set from the command line.
acec9460 162* mktemp(1) improvements from FreeBSD.
163* System make set to bmake.
164* Automatic installation of dports via /usr/Makefile added.
3305f45f 165* Fixed bug in powerd that could lead to only 1 cpu in the cpumask for userland scheduling.
f44e8278 166* libfetch synced with FreeBSD
167* libutil updated with file group utilities and hexdump
168* cp, mv synced with FreeBSD
169* getline bug fixed
62571eb1 170* Implemented automatic backup of binaries prior to installworld
9ad8146e 171
172> ### Removals
acec9460 174* None in this release
9ad8146e 175
176> ### Contributed Software
178* Shipping with pkgsrc-2013Q1.
aba95e00 179* gcc4.1 removed
9ae44a80 180* gcc4.7 promoted to primary compiler
181* gcc4.4 demoted to alternate compiler
182* flex updated to 2.5.37
aba95e00 183* bmake updated to 20121010
184* OpenSSH updated to 6.1p1
185* m4 updated
186* byacc updated to 20121003
187* OpenSSL updated to 1.0.1e
188* dialog updated to 1.2-20121230
189* libarchive updated to 3.1.2
190* zoneinfo updated to tzdata2013b
9ad8146e 191
192>### Security related
acec9460 194* No specific security-related updates in this release.