fe0e8c3ad17416388f8301501aeae8f5ec30895f
[ikiwiki.git] / docs / developer / ProjectsPage.mdwn
1 # DragonFly Projects 
2
3 This page shall serve as a common place to look if you're in search of a DragonFly related project. It's also the place to check if someone else is already working on it (to prevent project collision) or should be contacted.
4
5 [[!toc levels=3 ]]
6
7 ## Website projects 
8
9 * Add traffic report, especially to lists requests that cause 404s
10 * Add the mail archive to the search index
11 * Download link right on the main page.
12 * Add ["A Peek at the vKernel" article](http://cvsweb.dragonflybsd.org/cvsweb/site/data/docs/articles/vkernel/vkernel.shtml?rev=1.3&content-type=text/x-cvsweb-markup) from old site
13 * Post Aggelos's paper from [http://leaf.dragonflybsd.org/~aggelos/](http://leaf.dragonflybsd.org/~aggelos/) (netmp-paper.pdf and netmp.pdf) in Presentations
14 * Fix [[RecentChanges]] page to have correct links back to git repo
15 * Fix RSS feed to have correct links
16 * Create layout for http://bugs.dragonflybsd.org that matches the main site.
17 * Create short list of tasks for a new DragonFly user 
18 * how to upgrade the operating system
19 * how to get to a working desktop
20 * and where and how to report issues.
21
22 ## Documentation projects 
23
24 * Check all chapters of the handbook and do the following:
25 * Check if the content applies to DragonFly.  If not, change it.
26 * Add new content and enhance the previous chapters
27 * Check for syntax error, typos and wiki errors.
28 * Add prev/next buttons to all pages.
29 * Reorder `/usr/src/UPDATING` to put more relevant information at top; remove data no longer relevant.
30 * Help out in [http://bugs.dragonflybsd.org](http://bugs.dragonflybsd.org) (try to reproduce, diagnose, propose fixes ...)
31 * Organize, contribute to, and finish the C book project.
32
33 ## Userland projects 
34
35 * Bring in BSD-licensed versions of some text tools like `grep`, `diff` and `sort`. The OpenBSD guys already did some work related to that.  If you manage to bring the tools to DragonFly, check if everything works as expected (e.g. rc.d scripts, make world runs, ...).  Of course the new tools need to have at least all the features of the old GNU tools.
36 * Update the [[contributed software|docs/user/ContribSoftware]] which is out-of-date.
37 * Remove `NOINET6` build option
38 * `WARN` corrections to utilities
39 * Clean our code to make it [style(9)](http://leaf.dragonflybsd.org/cgi/web-man?command#style&sectionANY) compatible.  Compile and test your changes.  Verify that the checksum (sha(1)) of the unmodified object matches the checksum of the cleaned object.  Check also with strip(1)+sha(1)
40 * Bring in code from other *BSDs:
41 * smbfs changes from FreeBSD
42 * pf changes from OpenBSD
43 * Randomize mmap() offsets as described in [http://www.openbsd.org/papers/ven05-deraadt/index.html](http://www.openbsd.org/papers/ven05-deraadt/index.html)
44 * Add extended slice support to `fdisk`
45 * Install Coverity and fix the FreeBSD bugs that were uncovered by Coverity, but do not just blindly pull over the FreeBSD patches. Make sure that you first understand what the patch does.
46 * C99 Standards Conformance. The todo list is on [[/docs/developer/StandardsConformanceProject]] (original [http://www.in-nomine.org/~asmodai/df/conformance/](http://www.in-nomine.org/~asmodai/df/conformance/)).
47 * Setup a regression testing machine/system to register and find problems and new improvements..
48 * Networking performance scalability
49 * scalability (algorithmic performance) - ideas: [http://bulk.fefe.de/scalability/](http://bulk.fefe.de/scalability/)  and [http://bulk.fefe.de/lk2006/talk.pdf](http://bulk.fefe.de/lk2006/talk.pdf)
50 * [[RegressionTest|/docs/developer/RegressionTest]]
51 * also check [[HowToStressTest|/docs/developer/HowToStressTest]]
52 * Add lwp support to ptrace/gdb/core dumps.
53 * [[/docs/developer/CheckpointFeatures]]
54 * Linuxulator update (FreeBSD did a lot of work in this area.  Look [here](http://wiki.freebsd.org/linux-kernel),
55 * Bringing in version 2.0 of the BSD Installer
56 * Build a Live CD with a DragonFly-specific X desktop, integrated into nrelease build. Check ongoing LiveDVD project: [[LiveDVD for Google SoC|/docs/developer/LiveDVDGSoC]] 
57 * UTF8 support in the console
58 * Write a tool to monitor changes in other code bases such as FreeBSD, NetBSD, OpenBSD. corecode is busy with this one (http://oly.corecode.ath.cx/~corecode/cgi-bin/crosscgi.py) (svn repository (https://fortunaty.net/svn/crossref/)).
59 * Work relating GDB:
60     * ptrace/gdb follow-fork-mode support and more (peek at linux)
61     * Change the build to create one libbfd for gdb and binutils
62     * Separate RPC code from NFS into separate library.
63
64 ## Kernel projects 
65
66 * Make our sound system support surround sound
67 * Port the BSDL OSS code to DragonFly
68 * Complete Path MTU Discovery by adding a host route to remember the Path MTU and setting a timer to expire old host routes. See netinet/if_ether.c for an example of this mechanism as used by ARP. Periodically increase MTU of hosts that have had its MTU decreased.
69 * Look for places in the kernel that can benefit from Solaris-style caching of preconstructed slab allocator objects. If we can find enough of these uses, we can add this functionality to the kernel memory allocator.
70 * Implement [`sem_open()`](http://www.opengroup.org/onlinepubs/000095399/functions/sem_open.html), [`sem_close()`](http://www.opengroup.org/onlinepubs/000095399/functions/sem_close.html), and [`sem_unlink()`](http://www.opengroup.org/onlinepubs/000095399/functions/sem_unlink.html).
71 * Clean our code to make it [style(9)](http://leaf.dragonflybsd.org/cgi/web-man?command#style&sectionANY) compatible.  Compile and test your changes.  Verify that the checksum (sha(1)) of the unmodified object matches the checksum of the cleaned object.  Check also with strip(1)+sha(1)
72 * Setup a regression testing machine/system to register and find problems and new improvements..
73 * Networking performance scalability
74     * scalability (algorithmic performance) - ideas: http://bulk.fefe.de/scalability/  and http://bulk.fefe.de/lk2006/talk.pdf
75     * RegressionTest
76     * also check HowToStressTest
77 * fix `APIC_IO` on SMP
78 * Port drivers from other systems. (Being able to support most of the wireless adapters out there would be nice.)
79 * Port TMPFS.  Look [here](http://wiki.freebsd.org/TMPFS) for the work the FreeBSD guys did.
80 * Port ZFS.  Look [here](http://wiki.freebsd.org/ZFS) for the work the FreeBSD guys did.
81 * Port NFSv4.  [This mail](http://leaf.dragonflybsd.org/mailarchive/kernel/2008-01/msg00065.html) is a good starting point.
82 * Port/sync the following from FreeBSD:
83     * PCI code (to take advantage of power saving features)
84     * cpufreq and powerd
85     * netgraph modules. Contact joerg.
86     * Bring in support for UFS2, just the changes to extend the width of some fields from 32 bits to 64 bits.
87     * hardware drivers.
88 * Port/sync the following from OpenBSD:
89     * Add support for the NoExecute bit as described in [http://www.openbsd.org/papers/auug04/index.html](http://www.openbsd.org/papers/auug04/index.html).
90     * After that, make user stacks and data heaps non-executable. (W^X)
91     * hardware drivers, specially wireless.
92 * Import/Update DRM from the DRM git repository ([http://dri.freedesktop.org/wiki/DRM](http://dri.freedesktop.org/wiki/DRM)).
93 * CPU scheduler work:
94     * Design & implement a run-time switchable scheduler framework. (see Luigi's FreeBSD4 scheduler framework at [http://info.iet.unipi.it/~luigi/ps_sched.20020719a.diff](http://info.iet.unipi.it/~luigi/ps_sched.20020719a.diff) broken try [http://madchat.fr/tech/sched/FreeBSD/patch/ps_sched.20020719a.diff.txt](http://madchat.fr/tech/sched/FreeBSD/patch/ps_sched.20020719a.diff.txt))
95     * The next step is to add a Solaris-like dispatcher framework that can handle more than one installed scheduling policy, all running on top of the base fixed lwkt priorities.
96 * I/O scheduler work:
97     * factor out, and make the IO scheduler plugabble.
98     * start with a "NOP" scheduler for RAM based devices
99     * implement a anticipatory scheduler (see documentation about the linux anticipatory scheduller)
100     * implement a Fair Queuing scheduler (even out the access to IO between competing processes/users)
101 * Work relating LWKT (LightWeightKernelThreading)
102     * Implement lazy IPI cross-processor lwkt message passing.
103     * Add timeout functionality to lwkt_waitmsg().
104     * Write man pages for the lwkt message passing API.
105 * A real slab allocator. Contact corecode for patches.
106 * clean up buildworld/kernel compilation warnings
107 * Make the kernel more robust. Do this by removing any cases causing a kernel panic on memory allocation failure. Contact Devon H. O'Dell for information and ideas about how this might work.
108 * Port XFS. (Contact joerg)
109 * Computer Architecture related:
110 * Port DragonFly over to Xen.
111 * Port DragonFly over to amd64 (look [here](http://cvsweb.dragonflybsd.org/cgi-bin/cvsweb.cgi/src/README.amd64) for more information).
112 * Port DTrace
113 * Capriccio threads
114 * Xen support as domU and dom0 platform
115 * DistributedFileSystem
116
117 [[SimonsTODOs]] contain some more or less important things of various sizes and colors
118