1e7a696af9a741ecb7fa3b6e8b9252246bf65636
[ikiwiki.git] / docs / developer / gsoc2010 / index.mdwn
1 [[!meta title="Google Summer of Code 2010"]]
2
3 [[!toc  levels=0]]
4
5 DragonFly BSD is planning to participate (pending acceptance) in the Google Summer of Code program for 2010.
6
7
8 Have a look at our SoC pages from [[2008|docs/developer/GoogleSoC2008/]] and [[2009|docs/developer/gsoc2009]] to get an overview about prior year's projects.  The [Projects Page](/docs/developer/ProjectsPage/) is also a potential source of ideas.
9
10
11 For more details on Google's Summer of Code: [Google's SoC page](http://socghop.appspot.com/)
12
13
14 # Project ideas
15
16 1. VFS Quota System
17 * Kernelland quota support in the VFS layer
18 * Filesystem-agnostic quota support tools for userland
19
20 1. Ultra Fast Boot & Shutdown Speed
21 * Be competitive with GNU/Linux, OSX & MS Windows refinements in this area.
22
23 1. Graphics Kernel Memory Manager Support ( GEM )
24 * Support dealing with graphics NUMA in kernel space for modern graphics hardware
25 * http://en.wikipedia.org/wiki/Graphics_Execution_Manager
26
27 1. Security/Hardening improvements
28 * Encrypted swap/filesystems (From NetBSD or OpenBSD?)
29 * Extended toolchain hardening
30 * NX/XD support in kernel (at least for 64 bit kernels, DF doesn’t support PAE IIRC)
31 * More use of randomization (for example in PIDs)
32 * Port OpenBSD’s most recent malloc implementation as an option 
33 * Use blf instead of md5 for passwords etc. (already possible, but not default)
34
35 1. Data Integrity Framework Implementation
36 * Something akin to what was done for Linux: http://oss.oracle.com/projects/data-integrity/
37
38 1. Volume Management based on NetBSD's  port of LVM2
39
40     NetBSD reimplemented Linux's device mapper (currently only implementing
41 the linear, zero and error targets; Linux has support for a variety of
42 targets, including crypt, stripe, snap, multipath) as dm(4). Device mapper
43 provides the functionality on which to implement volume management; NetBSD
44 has imported LVM2 (which is GPL), but it is possible to create different
45 tools for volume management (e.g. IBM's EVMS was also built on top of device
46 mapper).
47
48     The goal of this project is to port both the kernel code, dm(4), and the
49 LVM2 userspace libraries and tools from NetBSD. If time remains, the
50 student should also implement a proof of concept "stripe" target or, for the
51 more ambitious, a "crypt" target.
52
53     A possible roadmap for this project would be
54
55     1. Port the dm(4) code
56
57         This code uses proplib instead of binary ioctls for communicating with
58 userspace. Either port proplib, or convert the code to use ioctls.
59
60     1. Port the userspace tools
61
62         Integrate the tools in our source tree using a separate vendor branch, as
63 is normally done for contrib software (see development(7)). Make any
64 DragonFlyBSD-specific changes necessary.
65
66     1. (Optional) Implement either a "stripe" target or a crypt target.
67
68         The stripe target must be designed with robustness and extensibility in
69 mind, though it is not required to go all the way. It should be flexible
70 enough to allow for different RAID level implementations (at least 0, 1
71 and 5). Additionally, it should be possible to keep an internal (i.e. part
72 of the volume) log to speed up resyncing and parity checking. Implementing
73 those features would be ideal, but is not required.
74
75         The crypt target must allow for different ciphers and cipher parameters and
76 should make use of our in-kernel crypto infrastructure. It is probably
77 necessary to do the encryption asynchronously which will require extending
78 the current infrastructure.
79
80 (please add)