New USB implementation committed
[ikiwiki.git] / docs / developer / gsocprojectspage / index.mdwn
CommitLineData
90c0b013 1[[!meta title="Google Summer of Code Project List"]]
4114eeff 2
3[[!toc levels=0]]
4
f57c228c 5Have a look at our SoC pages from [[2008|/docs/developer/GoogleSoC2008/]], [[2009|/docs/developer/gsoc2009/]], [[2010|/docs/developer/gsoc2010/]] and [[2011|/docs/developer/gsoc2011/]] to get an overview about prior year's projects.
4114eeff 6
7For more details on Google's Summer of Code: [Google's SoC page](http://socghop.appspot.com/)
8
f57c228c 9Alternate project links: [[Projects page|/docs/developer/ProjectsPage/]], [[Research Projects|/docs/developer/researchprojectspage/]]
10
4114eeff 11Note to prospective students: These project proposals are meant to be a first approximation; we're looking forward to your own suggestions (even for completely new directions) and will try to integrate your ideas to make the GSoC project more interesting to all parties. Even when a proposal is very specific about the goals that must be achieved and the path that should be taken, these are always negotiable. Keep in mind that we have tried to limit the proposals on this page to those that (based on our past experience) are appropriate for the GSoC program. This is by no means a comprehensive list, original ideas or proposals based on project ideas found on other pages are very welcome.
12
13Note to everyone else: These proposals are by no means Summer of Code specific, anyone is welcome and encouraged to adopt any of these projects at any time (just please let us know, or make a note on this page).
14
15Legend:
16
17* Prerequisites: knowledge that the student should have before starting the project. It may be possible to acquire the knowledge in the course of the project, but the estimated difficulty would increase substantially. On the bright side, you can expect to have a much deeper understanding of these fields (and gain some real-world experience) after you successfully complete the respective project.
18* Difficulty: Estimated difficulty of the project, taking into account the complexity of the task and the time constraints of the GSoC program.
19* Contact point: The person you should contact for any further information or clarifications. If the primary contact for a project does not respond in a reasonable amount of time (2-3 days), you should contact the appropriate DragonFly BSD mailing list, usually kernel@.
20
21#### Project ideas
22
11f3d975 23---
24
4114eeff 25##### Implement i386 32-bit ABI for x86_64 64-bit kernel
26* Add a 32-bit syscall table which translates 32-bit
27 system calls to 64-bit.
28* Add support for 32 bit compatibility mode operation
29 and ELF binary detection.
30
31The idea here is to support the execution of 32 bit DragonFly binaries in 64 bit DragonFly environments, something numerous other operating systems have done. Several things must be done to support this. First, the appropriate control bits must be set to execute in 32-bit compatibility mode while in usermode instead of 64-bit mode. Second, when a system call is made from 32-bit mode a translation layer is needed to translate the system call into the 64-bit requivalent within the kernel. Third, the signal handler and trampoline code needs to operate on the 32-bit signal frame. Fourth, the 32 and 64 bit ELF loaders both have to be in the kernel at the same time, which may require some messing around with procedure names and include files since originally the source was designed to be one or the other.
32
33There are several hundred system calls which translates to a great deal of 'grunt work' when it comes time to actually do all the translations.
34
35Meta information:
36
37* Prerequisites: C
38* Difficulty: Difficult (lots of moving parts, particularly the trapframes)
39* Contact point: dillon
40
41---
42
43##### Implement ARC algorithm extension for the vnode free list
44* Vnode recycling is LRU and can't efficiently handle data sets which
45 exceed the maxvnode limit. When the maxvnode limit is reached the kernel
46 starts throwing away cached vnodes along with their VM objects (and thus
47 all related cached file data).
48
49* What we would like to do is implement an ARC algorithm for the free
50 vnodes to determine which ones to throw away and potentially combine
51 this with further caching of the related VM object even after the vnode
52 is thrown away by associating it with a mount point and inode number,
53 until memory pressure forces all of its pages out.
54
55* For this project the student can choose to just implement the VM object
56 retention portion and not try to implement an ARC algorithm (which can
57 be considerably more complex).
58
59Meta information:
60
61* Prerequisites: C, OS internals
62* Difficulty: Modest without ARC (Very difficult with ARC)
63* Contact point: dillon
64
65---
66
4114eeff 67##### Make DragonFly NUMA-aware
68
69* Parse related ACPI tables
70* NUMA-aware memory allocation
71* References:
72[ACPI SLIT parser](http://mail-index.netbsd.org/tech-kern/2009/11/23/msg006518.html)
73[ACPI SRAT parser](http://mail-index.netbsd.org/tech-kern/2009/11/23/msg006517.html)
74[NetBSD NUMA diff](http://www.netbsd.org/~cegger/numa2.diff)
75[NetBSD NUMA x86 diff](http://www.netbsd.org/~cegger/numa_x86.diff) (These patches now in NetBSD tree)
76
77Meta information:
78
79* Prerequisites: C, introductory computer architecture
80* Difficulty: Easy
81* Contact point: kernel@crater.dragonflybsd.org
82
83---
84
85
86##### Port valgrind to DragonFlyBSD
87
88Valgrind is a very useful tool on a system like DragonFly that's under heavy development. Since valgrind is very target specific, a student doing the port will have to get acquainted with many low level details of the system libraries and the user<->kernel interface (system calls, signal delivery, threading...). This is a project that should appeal to aspiring systems programmers. Ideally, we would want the port to be usable with vkernel processes, thus enabling complex checking of the core kernel code.
89
90The goal of this project is to port valgrind to the DragonFlyBSD platform so that at least the memcheck tool runs sufficiently well to be useful. This is in itself a challenging task. If time remains, the student should try to get at least a trivial valgrind tool to work on a vkernel process.
91
92Meta information:
93
94* Prerequisites: C, x86 assembly, low-level OS internals
95* Difficulty: Hard
96* Contact point: Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
97
98---
99
100##### Adapt pkgsrc to create a package system with dependency independence.
101* Create a set of tools that modifies how the pkgsrc packages are installed, allowing for the ability to upgrade individual packages, without stopping applications that depend on said packages from working. One method of achieving this is detailed at http://www.dragonflybsd.org/goals/#packages but other methods may be possible. PC-BSD have written a tool called PBI Builder which modifies FreeBSD ports for their dependency independence PBI system, this could be used as a starting point for the DragonFly BSD tools.
102
103Meta information:
104
105* Prerequisites: C
106* Difficulty: ?
107* Contact point: kernel@crater.dragonflybsd.org
108
109---
110
1e5fd6e2 111##### Implement virtio drivers on DragonFly to speed up DragonFly as a KVM guest (2011 Project)
4114eeff 112
113As virtualization is coming more and more and KVM will be a strong player in that field,
114we want DragonFly to have top-notch support for this virtualization platform. For this
115purpose, we'd like to have a virtio-based implementation of a paravirtualized disk and
116network driver. [virtio](http://www.ibm.com/developerworks/linux/library/l-virtio/index.html)
117is an abstraction to a ring buffer that is shared between the host and the guest. On top of this
118abstraction, one can build a variety of paravirtualized devices, as specified in
119[virtio-spec](http://ozlabs.org/~rusty/virtio-spec/virtio-spec-0.8.6.pdf).
120
121The goal of this project is to create a virtio-ring implementation and then to implement drivers
122for the network and block devices described in the specification linked to above. This is a great
123project for a student who wants to get experience writing (real-world, high-performance) device
124drivers without having to deal with the quirks of real hardware.
125
126Meta information:
127
128* Prerequisites: C, elementary OS internals
2ee12b5f 129* Difficulty: Medium
d745770a 130* Contact point: kernel@crater.dragonflybsd.org
4114eeff 131
132---
133
1e5fd6e2 134##### Make vkernels checkpointable (2011 Project)
4114eeff 135
136* See checkpt(1).
137* Implement save and restore of segment registers so that threaded applications may be checkpointed. The segment registers support TLS. There are potential security concerns here.
138* Teach the checkpt system call how to checkpoint multiple vmspaces.
139* Add code to the vkernel which gets triggered upon reception of a SIGCKPT signal to dump/load e.g. the current state of network drivers.
140* This would allow us to save and restore or even migrate a complete DragonFly operating system running on the vkernel platform.
141This could be especially handy on laptops (if we'd get X11 operating in vkernels).
142* See also: http://www.dragonflybsd.org/docs/developer/CheckpointFeatures/
143
144Meta information:
145
146* Prerequisites: C, OS internals
147* Difficulty: Medium
148* Contact point: Michael Neumann <mneumann@ntecs.de>
149* References: [1](http://leaf.dragonflybsd.org/mailarchive/kernel/2007-02/msg00073.html) [2](http://leaf.dragonflybsd.org/mailarchive/users/2007-02/msg00034.html)
150
151---
152
153##### HAMMER compression
154
155* Compress blocks as they get written to disk.
156* Only file data (rec_type == DATA) should be compressed, not meta-data.
157* the CRC should be that of the uncompressed data.
158* ideally you'd need to associate the uncompressed data with the buffer cache buffer somehow, so that decompression is only performed once.
159* compression could be turned on a per-file or per-pfs basis.
160* gzip compression would be just fine at first.
161
162Doing compression would require flagging the data record as being compressed and also require double-buffering since
163the buffer cache buffer associated with the uncompressed data might have holes in it and otherwise referenced by user
164programs and cannot serve as a buffer for in-place compression or decompression.
165
166The direct read / direct write mechanic would almost certainly have to be disabled for compressed buffers and the
167small-data zone would probably have to be used (the large-data zone is designed only for use with 16K or 64K buffers).
168
169Meta information:
170
171* Prerequisites: C, filesystem internals
172* Difficulty: Difficult
173* Contact point: Michael Neumann <mneumann@ntecs.de>
174
175---
176
4114eeff 177##### Userland System V Shared Memory / Semaphore / Message Queue implementation
178* Implement some or all of these subsystems in their entirety, or as completely as possible in userland using a daemon, mmap and the DragonFly umtx_sleep(2)/umtx_wakeup(2) or other userland facilities.
179* Any security or other major hurdles to this approach that would likely have to be implemented in-kernel should be noted in the students application.
180* Test and benchmark the new facilities with heavy SysV consumers such as PostgreSQL
181* Identify performance tradeoffs made in the userland implementation versus the existing kernel implementation. If time permits identify and apply solutions to these tradeoffs so that the userland implementation performs on par with or better than the kernel implementation.
182
183Meta information:
184
185* Prerequisites: C, x86 assembly
186* Difficulty: Moderate
187* Contact point: Samuel J. Greear <sjg@thesjg.com>
188
189---
190
8e2bdf60 191##### DragonFly history access for Gnome/KDE
5654e978 192* Write a Dolphin (KDE) plugin or Gnome file manager plugin that creates a 'time slider' when working with HAMMER filesystems.
193* If time remains investigate additional features and/or methods of display and possibly a HAMMER configuration utility for managing history retention, etc.
8e2bdf60 194
195Meta information:
196
5654e978 197* Prerequisites: C, Gnome or KDE familiarity
8e2bdf60 198* Difficulty: Hard
199* Contact point: kernel@crater.dragonflybsd.org
200* References: [A similar idea for ZFS](http://blogs.sun.com/erwann/entry/zfs_on_the_desktop_zfs)
201
202---
203
204##### Create a Samba VFS plugin to expose Hammer history
205* Give access to Hammer snapshots/fine-grained history to anyone able to access the Hammer volume over Samba
5654e978 206* This would involve writing a Samba3 VFS module to expose historical versions of files as "shadow copies". VFS module implementations supporting more traditional snapshot hierarchies do already exist.
8e2bdf60 207
208Meta information:
209
5654e978 210* Prerequisites: C
211* Difficulty: Moderate
8e2bdf60 212* Contact point: kernel@crater.dragonflybsd.org
213
214---
215
56ca55df
T
216##### Port Hyper-V Linux Integration components to DragonFly
217* Microsoft released a dual BSD/GPL version of their para-virtualized drivers (SCSI and Networking) for Linux.
218* This work would require porting the Linux VMBus (Microsoft's equivlalent to XenBus) and the corresponding SCSI (StorVSC) and networking (NetVSC) drivers to DragonFly.
219* References: [Sources](http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551) [Architecture Overview](http://port25.technet.com/archive/2009/07/22/introduction-to-the-linux-integration-components.aspx)
8e2bdf60 220
56ca55df
T
221Meta information:
222
223* Prerequisites: C, OS internals
224* Difficulty: Hard
225* Contact point: kernel@crater.dragonflybsd.org
8e2bdf60 226
8cb8502a 227---
228
229##### Implement more dm targets
230* Since we now have dm (device mapper) in DragonFly, it would be nice to make better use of it. Currently we have a relatively small number of useful targets (crypt, linear and striped).
231* Other targets should be implemented, in particular the mirror target would be of interest. Other ideas are welcome, too. Before applying for this please discuss the target of interest on the mailing list or with me directly.
c2cfaa23 232* There is a start of a journalled mirror target, if you want to attack soft mirroring; the problem is a lot more difficult than it seems at first, so talking on the mailing list or on IRC would be definitely worthwhile!
8cb8502a 233
234Meta information:
235
236* Prerequisites: C, OS internals
237* Difficulty: Medium
c2cfaa23 238* Contact point: kernel@crater.dragonflybsd.org , Alex Hornung <alexh@dragonflybsd.org>, Venkatesh Srinivas <vsrinivas@dragonflybsd.org>
8cb8502a 239
3a9e5de8 240---
241
242##### Implement a new unionfs
243* unionfs is a particularly useful pseudo-fs which allows to have an upper and a lower filesystem on a single mountpoint. The upper mountpoint is mostly transparent, so that the lower mountpoint is accessible.
3a9e5de8 244* A typical use case is mounting a tmpfs filesystem as the upper and a read-only FS as the lower mp. This way files can be edited transparently even on a RO filesystem without actually modifying it.
65d9da85 245* The current unionfs is completely broken as it relies on the whiteout VFS technique which is not supported by HAMMER. A new unionfs implementation should not rely on archaic methods such as whiteout.
3a9e5de8 246
247Meta information:
248
249* Prerequisites: C, OS internals, ideally some knowledge of the FreeBSD/DragonFly VFS
250* Difficulty: Medium
251* Contact point: kernel@crater.dragonflybsd.org
8e2bdf60 252
0c47d1e1 253---
254
255##### Improve compatibility of libdevattr with Linux' libudev
256* Our libdevattr has an API which is mostly compatible with Linux' libudev, but it is doubtful that any Linux application making use of libudev would run out of the box on DragonFly with libdevattr.
b515bc2d 257* The aim of this project is to identify the shortcomings of libdevattr and fix them so that some common libudev applications work with our libdevattr.
258* This might involve some kernel hacking to improve our kern_udev and definitely includes some grunt work of "tagging" subsystems with the kern_udev API.
259* Most of the work will be in userland, though, working on udevd and libdevattr.
0c47d1e1 260
261Meta information:
262
263* Prerequisites: C, familiarity with Linux' libudev would be a plus
264* Difficulty: Medium
265* Contact point: kernel@crater.dragonflybsd.org , Alex Hornung <alexh@dragonflybsd.org>
266
267
268
9792e675 269---
270
fc1a3138 271##### Implement further dsched disk scheduling policies (2011 Project: BFQ)
9792e675 272* dsched is a highly flexible disk scheduling framework which greatly minimizes the effort of writing disk scheduling policies.
273* Currently only dsched_fq, a fairly simple fair-queuing policy, and noop policies are implemented.
274* The aim of this project would be to implement at least another useful disk scheduling policy, preferably one that improves interactivity.
275* Other ideas are welcome.
1e4090b0 276* This is a great opportunity for CS students interested in scheduling problems to apply their theoretical knowledge.
9792e675 277
278Meta information:
279
280* Prerequisites: C, OS internals, familiarity with disk scheduling
281* Difficulty: Medium
282* Contact point: kernel@crater.dragonflybsd.org , Alex Hornung <alexh@dragonflybsd.org>
283
82d3efd3 284---
285
692141e4 286##### Implement hardware nested page table support for vkernels
82d3efd3 287* Various modern hardware supports virtualization extensions, including nested pagetables.
288* The DragonFly BSD vmspaces API, used to support vkernels, is effectively a software implementation of nested pagetables.
289* The goal of this project would be to add support for detection of the hardware features on AMD and Intel cpu's and alter the vmspace implementation to use hardware support when available.
290
291Meta information:
9792e675 292
82d3efd3 293* Prerequisites: C, x86 assembly, OS internals
294* Difficulty: Hard
295* Contact point: kernel@crater.dragonflybsd.org
296
297---
8ff76619 298
ec874e8b 299##### Access to ktr(4) buffers via shared memory
300Our event tracing system, ktr(4), records interesting events in per-cpu buffers that are printed out with ktrdump(8). Currently, ktrdump uses libkvm to access these buffers, which is suboptimal. One can allow a sufficiently-privileged userspace process to map those buffers read-only and access them directly. For bonus points, design an extensible, discoverable (think reflection) mechanism that provides fast access via shared memory to data structures that the kernel chooses to expose to userland.
301
302Meta information:
303
304* Prerequisites: C, OS internals
305* Difficulty: Medium
306* Contact point: kernel@crater.dragonflybsd.org, Aggelos Economopoulos <aoiko@cc.ece.ntua.gr>
307
308---
309
8b8bd18e 310#####Ability to execute Mach-O (OS X) binaries
311This is a project for a student with something to prove, executing a binary touches a huge number of moving parts of a modern kernel. This project would entail adding or porting support for Mach-O binaries to the DragonFly BSD kernel. It would also involve adding an additional system call vector, like the Linux vector used for linux binary emulation. This is quite a large and complicated task and any proposal will be expected to be well-researched to reflect that. The ability to execute non-GUI binaries that make use of shared libraries should be the minimum to which such a project should aspire. OpenDarwin is available as a reference or to port relevant code from.
312
313Meta information:
314
315* Prerequisites: C, OS internals, binary file formats
316* Difficulty: Hard
317* Contact point: Samuel J. Greear <sjg@thesjg.com>
318
319---
9376443d 320##### nmalloc (libc malloc) measurements and performance work
321
322nmalloc is our libc memory allocator it is a slab-like allocator; it recently had some work done to add per-thread caches, but there is much more work that could be done. A project on this might characterize fragmentation, try out a number of techniques to improve per-thread caching and reduce the number of total syscalls, and see if any are worth applying.
323
324Possible things to work on:
325(thread caches)
326* The per-thread caches are fixed-size; at larger object sizes (say 4K), this can result in a lot of memory tied up. Perhaps they should scale their max size inversely to the object size.
327
328* The per-thread caches are filled one-at-a-time from free(). Perhaps the per-thread caches should be burst-filled.
329
330* Perhaps the per-thread caches should age items out
331
332(slab zone allocation)
333* zone_alloc() currently burst-allocates slab zones with the zone magazine held across a spinlock.
334
335* zone_free() holds the zone magazine lock around bzero()ing a slab zone header
336
337* zone_free() madvise()s one slab at a time; it'd be nice to madvise() runs of contiguous slabs
338
339* zone_free() madvise()s very readily (for every slab freed). Perhaps it should only madvise slabs that are idle for some time
340
341* zone_free() burst-frees slabs. Its not clear whether this is a good idea.
342
343(VMEM):
344* currently allocations > either 4k or 8k are forced directly to mmap(); this means that idle memory from free slabs cannot be used to service those allocations and that we do no caching for allocations > than that size. this is almost certainly a mistake.
345
346* we could use a small (embeddable) data structure that allows:
3471. efficient coalescing of adjacent mmap space for madvise
3482. efficient queries for vmem_alloc() (w/ alignment!)
3493. compact and doesn't use any space in the zone header (dirty/cold!)
3504. allows traversal in address order to fight fragmentation
3515. keep two such data structures (one for dirty pages, one for cold pages)
352
353(Note)
354* These are just ideas; there are many more things possible and many of these things need a lot of measurement to evaluate them. It'd be interesting to see if any of these are appropriate for it.
355
356References:
357* http://www.usenix.org/event/usenix01/bonwick.html
358
359A description of the Sun Solaris work on which the DragonFly allocator is based; use this as an overview, but do not take it as gospel for how the DFly allocator works.
360
361* http://leaf.dragonflybsd.org/~vsrinivas/jemalloc-tech-talk.ogv (Jason Evans tech talk about jemalloc, 1/2011)
362
363jemalloc is FreeBSD's and Firefox's (and NetBSD and GNASH and ...)'s malloc; in this tech talk, Jason Evans reviews how jemalloc works, how it has changed recently, and how it avoid fragmentation.
364
365* http://endeavour.zapto.org/src/malloc-thesis.pdf (Ayelet Wasik's thesis 'Features of a Multi-Threaded Memory Allocator')
366
367This thesis is an excellent overview of many techniques to reduce contention and the effects these techniques have on fragmentation.
368
369* Prerequisites: C, a taste of data structures
370* Difficulty: moderate
371* Contact point: Venkatesh Srinivas <me@endeavour.zapto.org>
372
373---
01b524ba 374
375##### Create a filesystem indexing service
376Currently to locate an arbitrary file on a dragonfly system you would use the locate(1), which(1) or whereis(1) tools. These are a bit clunky, paint in broad strokes and the accuracy of the database is often suspect. The first part of this project would involve implementing the Linux inotify interface in the DragonFly kernel. The second part would be to write a daemon that can (optionally) operate as an indexing service, if the weekly 310.locate periodic job see's that the locate database is being maintained by the daemon, it can skip running locate.updatedb(8). A third part of this project might involve extending the current database to a binary format with information about file types, what bits are set, etc. This could enable the user to have the locate tool paint in narrower strokes by specifying only files of type "ASCII text" or only files that are suid root or have the execute bit set.
377
378Meta information:
379
380* Prerequisites: C, OS internals, binary file formats
381* Difficulty: Easy/Moderate
382* Contact point: Samuel J. Greear <sjg@thesjg.com>
383
384---
4c7e21d4 385
386##### Make DragonFly multiboot capable
387Adjust the DragonFly kernel to be multiboot (the specification) capable. In addition, add necessary code to grub2 to understand our disklabel64 and anything else we need to be able to use grub2 to multiboot DragonFly without any chainloading involved.
388
389Meta information:
390
391* Prerequisites: C, OS internals
392* Difficulty: Easy/Moderate
393* Contact point: Alex Hornung <alexh@dragonflybsd.org>
394
7700f24f 395
396---
397
398##### Add SMT/HT awareness to our scheduler
399Our scheduler (sys/kern/usched_bsd4.c) doesn't know about Simultaneous multithreading/HyperThreads.
400The aim of this project is to add awareness of SMT to it so that scheduling on multithreaded CPUs improves. This involves among other things to first schedule on actual physical cores before populating the hyperthreads. The ground work of adding a generic way of detecting how many threads each core has, etc, also has to be done as part of this project.
401
402See http://lwn.net/Articles/8553/ for what Linux has done in this area.
403
404Meta information:
405
406* Prerequisites: C, OS internals, process scheduling
407* Difficulty: Moderate
408* Contact point: kernel@lists.dragonflybsd.org, Alex Hornung <alexh@dragonflybsd.org>
409
410
2fed452e 411
412
413---
414
415##### Complete installer rewrite
996043c0 416Completely rewrite the installer to be much simpler to maintain. It will still have to be an ncurses-based installer written in C, or in Python (but with C bindings for every single library that will be created - see below). A text interface UI library (e.g. newt [see examples on http://gnewt.sourceforge.net/tutorial-4.html] - which seems very easy and handy) should be used to make the handling of the graphical part as easy as possible.
2fed452e 417
418As part of rewriting the installer, several functions scattered around in other base utils should be factored out into libraries that both the installer and the util it comes from can use, e.g.:
7c6affa1 419
420* partitioning (both GPT and MBR) should be factored out into two libraries, that the fdisk and the gpt tools use, but the installer can make use of, too.
421* disklabel32/64 functionality
422* adduser (and other user/group management)
2fed452e 423
424The new installer should then make use of all these new libraries and other ones that are already available (libcryptsetup, libluks, liblvm, libtcplay) to offer more advanced features.
425
c5845662 426NOTE: The new installer should maintain most if not all of the functionality of the old installer in addition to adding features taking advantage of the aforementioned libraries.
427
2fed452e 428
429
430Meta information:
431
432* Prerequisites: C
433* Difficulty: Moderate
434* Contact point: kernel@lists.dragonflybsd.org, Alex Hornung <alexh@dragonflybsd.org>
435
436
4c7e21d4 437---
103f9a35 438##### Extend dsched framework to support jails
439Extend/modify the dsched framework to take into account jails and etc. instead of always allocating a 'tdio'. This would allow different process groupings (such as all processes in a jail) to be scheduled together. A new jail-specific policy would have to be written to support this, or an existing policy modified.
440
441Meta information:
442
443* Prerequisites: C, OS internals
444* Difficulty: Moderate
445* Contact point: kernel@lists.dragonflybsd.org, Samuel J. Greear <sjg@thesjg.com>, Alex Hornung <alexh@dragonflybsd.org>
446
447---
1a9c0407 448##### Implement NFS version 4
449* NFSv4 is more than a simple version increase; it is an adaptation of NFS to Internet and WAN networks, with an expectation of high latency and firewalled data transfers and a non-naive security framework layer.
450* NFSv4 servers export a single Pseudo File System (which has nothing to do with HAMMER(5) PFSes besides the name) merging all local filesystems in a unique namespace.
451* We already have some kernel code which could be used as a starting point (WebNFS)
d8f691bb 452* FreeBSD possesses a NFSv4 implementation which could be ported or serve as a reference basis
453* Given NFSv4 protocol complexity, it may be best to implement this project in userspace
1a9c0407 454
455Meta information:
456
457* Prerequisites: C, OS internals, ideally some knowledge of the VFS and namecache layers
458* Difficulty: Medium
459* Contact point: kernel@crater.dragonflybsd.org
460
461---
4114eeff 462 (please add)