Note about VMWare and gui
[ikiwiki.git] / release34 / index.mdwn
1 # DragonFly Release 3.4
2
3 Version 3.4.1 released 29 April 2013.
4
5 ## Big-ticket items
6
7 ### Experimental packaging system: dports
8
9 John 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.
10
11 The 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.
12
13 The [DragonFly snapshots](http://avalon.dragonflybsd.org/snapshots/) are built using dports.  (and also have XFCE for the desktop)
14
15 ### Performance improvements under extreme load
16
17 The 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.
18
19 Improvements 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.  
20
21 ### New default compiler
22
23 The 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.
24
25 ### New USB stack
26
27 [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.
28
29 ## Availability
30
31 Two 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.
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)
35
36 The 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.  
37
38
39 ### MD5 sums
40
41 MD5 sums for the compressed images:
42
43 * MD5 (dfly-i386-3.4.1_RELEASE.img.bz2) = 304aac2b5662f11af790c7f0873a1aa3
44 * MD5 (dfly-i386-3.4.1_RELEASE.iso.bz2) = 2d5bdbff3b6bd67956519757e346ab26
45 * MD5 (dfly-i386-gui-3.4.1_RELEASE.img.bz2) = 5d2b24c3ac661b0a22f588ac81f2e2ad
46 * MD5 (dfly-i386-gui-3.4.1_RELEASE.iso.bz2) = 4ca4b3511cff0f46b3cf0a4130be95fa
47 * MD5 (dfly-x86_64-3.4.1_REL.img.bz2) = ea1f86fc95f9cf30b9481a0bf4dff8eb
48 * MD5 (dfly-x86_64-3.4.1_REL.iso.bz2) = 4e7dad45b484f00290accd14fe030171
49 * MD5 (dfly-x86_64-gui-3.4.1_REL.img.bz2) = 3c8897a6f2ae2c2d2b9c000d3a85a720
50 * MD5 (dfly-x86_64-gui-3.4.1_REL.iso.bz2) = ca66aa3f58d9e66075480ce10f3249e9
51
52
53 MD5 sums for the uncompressed images:
54
55 * MD5 (dfly-i386-3.4.1_REL.img) = a233e06f0149e454e973996da9004850
56 * MD5 (dfly-i386-3.4.1_REL.iso) = 5cc59952ecfc8fc18b447df8dd2b6086
57 * MD5 (dfly-i386-gui-3.4.1_REL.img) = d0338bd1a48533a1fbed346fd43cfc40
58 * MD5 (dfly-i386-gui-3.4.1_REL.iso) = bb9b3a6032e56d66b10f448a8ff5ed33
59 * MD5 (dfly-x86_64-3.4.1_REL.img) = d430112f7d901fdd10c2f53d345c333d
60 * MD5 (dfly-x86_64-3.4.1_REL.iso) = 5b1db3c77eeb6a71cf507cd76ddff860
61 * MD5 (dfly-x86_64-gui-3.4.1_REL.img) = cd0a0dd126d280b37a864918705b33a1
62 * MD5 (dfly-x86_64-gui-3.4.1_REL.iso) = 3b77c0074f141ee37c1cb221ed018bfd
63
64
65 ### pkgsrc packages
66
67 Pkgsrc packages are being built for this release, but have not yet fully uploaded.  We suggest building from source for pkgsrc installation if you can't wait.
68
69 We 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.
70
71 ## DragonFly 3.4 Special Installation and Upgrade Notes
72
73 **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. 
74
75 **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.)
76
77 **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.
78
79 **VMWare Player users** - xorg.conf may require additional configuration to display a desktop on the GUI DragonFly images.
80
81 **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.
82
83 ## DragonFly 3.4.0/3.4.1 Release Notes
84
85 For 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).
86
87 > ### Kernel changes
88
89 * Very large number of ACPI changes
90 * Very large number of Interrupt routing changes
91 * Far better MSI/MSI-X support
92 * Multiple TX and RX ring support with networking chipsets
93 * Many network throughput and latency enhancements
94 * Enhanced FP unit support
95 * Fixed panics during keyboard screen switches
96 * Improved performance under heavy paging loads
97 * Greatly improved namecache performance and stability under heavy SMP loads
98 * Greatly improved VM fault performance and stability under heavy SMP loads
99 * Improved PMAP performance and stability under heavy SMP loads (64-bit)
100 * Fixed SMP races with ^T on heavily threaded programs
101 * Fixed symbolic DDB backtraces (64-bit)
102 * Improved stability of swapoff
103 * Improved swap page allocation algorithm
104 * Greatly Improved TMPFS performance and stability by a lot
105 * Fixed performance issues with namecache negative caching
106 * Improved error handling in mount and unmount
107 * Fixed BUFFER CACHE related performance issues due to fragmentation
108 * Proper accounting for system time during heavy token contention
109 * 'sync' system call no longer uses MNT_LAZY as this prevents a full sync
110 * Reduce unnecessary KVM use on systems with large amounts of memory.
111 * Improve UFS performance by making the ihash table per-mount
112 * Better support for BIOS-emulated video displays
113 * Fixed ptrace panic
114 * 64-bit reverted to use nmalloc (dmalloc had too many memory bloat issues)
115 * More reliable when very rapidly mounting and unmounting filesystems
116 * USB4BSD libraries added: libusbhid, usbhidctl.
117 * SMP support now on by default
118 * SMBIOS information is now detected and available.
119 * ifnet/ifaddr statistics are now saved per-CPU.
120 * virtio, virtio-blk drivers added.
121 * eaccess support implemented
122 * SO_NOSIGPIPE support implemented
123
124 > ### Hardware changes
125
126 * AVX instructions are now supported on 64-bit processors.
127 * Improved stability for iwi(4), wpi(4), and ath(4)
128 * hptiop(4) supports RocketRAID 4520 and 4522
129 * USB4BSD drivers added: usb, ehci, ohci, uhci, xhci, umass, usfs, uaudio, uep, uhid, ukbd, ums, uether, udav, and axe.
130 * em(4) and emx(4) are updated to Intel em-7.3.4.
131 * igb(4) has I210 and I211 support, and is updated to Intel igb-2.3.7.
132 * bnx(4) supports the BCM5717-C0, BCM5762, BCM5725 and BCM5727. 
133 * rl(4) supports the DLink DFE520TX C1
134 * msk(4) and et(4) are MSI-enabled
135 * bce(4) supports  multiple-vector MSI-X, multiple receiving queues and multiple transmitting queues for BCM5709/BCM5716
136 * bce(4), bge(4), bnx(4), em(4), emx(4) and jme(4) packet transmission performance has been improved by aggregating hardware register writing.
137 * bce(4) and igb(4) now enable multiple hardware transmitting queues by default.  
138 * emx(4) supports 2 transmitting queues on 82571/82572, but is not enabled by default.
139 * bce(4), emx(4), igb(4) and jme(4) fully support the new polling(4) (IFPOLL).
140 * AHCI bug fixes.
141
142 > ### HAMMER2
143
144 * NOTE: HAMMER2 is not operational yet, not even for devs.
145 * AES GCM support.
146 * Cache coherency management system created based on HAMMER1.
147 * Message passing system implemented.
148 * Spanning code written.
149
150
151 > ### Userland changes
152
153 * Vkernel disk serial numbers and interface MACs can now be set from the command line.
154 * mktemp(1) improvements from FreeBSD.
155 * System make set to bmake.
156 * Automatic installation of dports via /usr/Makefile added.
157 * Fixed bug in powerd that could lead to only 1 cpu in the cpumask for userland scheduling.
158 * libfetch synced with FreeBSD
159 * libutil updated with file group utilities and hexdump
160 * cp, mv synced with FreeBSD
161 * getline bug fixed
162 * Implemented automatic backup of binaries prior to installworld
163
164 > ### Removals
165
166 * None in this release 
167
168 > ### Contributed Software
169
170 * Shipping with pkgsrc-2013Q1.
171 * gcc4.1 removed
172 * gcc4.7 promoted to primary compiler
173 * gcc4.4 demoted to alternate compiler
174 * flex updated to 2.5.37
175 * bmake updated to 20121010
176 * OpenSSH updated to 6.1p1
177 * m4 updated
178 * byacc updated to 20121003
179 * OpenSSL updated to 1.0.1e
180 * dialog updated to 1.2-20121230
181 * libarchive updated to 3.1.2
182 * zoneinfo updated to tzdata2013b
183
184 >### Security related
185
186 * No specific security-related updates in this release.