35e3b577b79022425e6b97f1a514b394b56a23ab
[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 the mail archive to the search index
10 * Download link right on the main page.
11 * 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
12 * Post Aggelos's paper from [http://leaf.dragonflybsd.org/~aggelos/](http://leaf.dragonflybsd.org/~aggelos/) (netmp-paper.pdf and netmp.pdf) in Presentations
13 * Fix [[RecentChanges]] page to have correct links back to git repo
14 * Create layout for http://bugs.dragonflybsd.org that matches the main site.
15 * Create short list of tasks for a new DragonFly user 
16 * how to upgrade the operating system
17 * how to get to a working desktop
18 * and where and how to report issues.
19
20 ## Documentation projects 
21
22 * Check all chapters of the handbook and do the following:
23 * Check if the content applies to DragonFly.  If not, change it.
24 * Add new content and enhance the previous chapters
25 * Check for syntax error, typos and wiki errors.
26 * Add prev/next buttons to all pages.
27 * Reorder `/usr/src/UPDATING` to put more relevant information at top; remove data no longer relevant.
28 * Help out in [http://bugs.dragonflybsd.org](http://bugs.dragonflybsd.org) (try to reproduce, diagnose, propose fixes ...)
29 * Organize, contribute to, and finish the C book project.
30
31 ## Userland projects 
32
33 * 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.
34 * Update the [[contributed software|/docs/user/list/ContribSoftware]] which is out-of-date.
35 * Remove `NOINET6` build option
36 * `WARN` corrections to utilities
37 * 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)
38 * Bring in code from other *BSDs:
39 * smbfs changes from FreeBSD
40 * pf changes from OpenBSD
41 * Randomize mmap() offsets as described in [http://www.openbsd.org/papers/ven05-deraadt/index.html](http://www.openbsd.org/papers/ven05-deraadt/index.html)
42 * Add extended slice support to `fdisk`
43 * 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.
44 * 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/)).
45 * Setup a regression testing machine/system to register and find problems and new improvements..
46 * Networking performance scalability
47 * 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)
48 * [[RegressionTest|/docs/developer/RegressionTest]]
49 * also check [[HowToStressTest|/docs/developer/HowToStressTest]]
50 * Add lwp support to ptrace/gdb/core dumps.
51 * [[/docs/developer/CheckpointFeatures]]
52 * Linuxulator update (FreeBSD did a lot of work in this area.  Look [here](http://wiki.freebsd.org/linux-kernel),
53 * Bringing in version 2.0 of the BSD Installer
54 * 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]] 
55 * UTF8 support in the console
56 * 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/)).
57 * Work relating GDB:
58     * ptrace/gdb follow-fork-mode support and more (peek at linux)
59     * Change the build to create one libbfd for gdb and binutils
60     * Separate RPC code from NFS into separate library.
61
62 ## Kernel projects 
63
64 * Make our sound system support surround sound
65 * Port the BSDL OSS code to DragonFly
66 * 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.
67 * 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.
68 * Implement `sem_open()`, `sem_close()`, and `sem_unlink()`.
69 * 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)
70 * Setup a regression testing machine/system to register and find problems and new improvements..
71 * Networking performance scalability
72     * scalability (algorithmic performance) - ideas: http://bulk.fefe.de/scalability/  and http://bulk.fefe.de/lk2006/talk.pdf
73     * RegressionTest
74     * also check HowToStressTest
75 * fix `APIC_IO` on SMP
76 * Port drivers from other systems. (Being able to support most of the wireless adapters out there would be nice.)
77 * Port TMPFS.  Look [here](http://wiki.freebsd.org/TMPFS) for the work the FreeBSD guys did.
78 * Port ZFS.  Look [here](http://wiki.freebsd.org/ZFS) for the work the FreeBSD guys did.
79 * Port NFSv4.  [This mail](http://leaf.dragonflybsd.org/mailarchive/kernel/2008-01/msg00065.html) is a good starting point.
80 * Port/sync the following from FreeBSD:
81     * PCI code (to take advantage of power saving features)
82     * cpufreq and powerd
83     * netgraph modules. Contact joerg.
84     * Bring in support for UFS2, just the changes to extend the width of some fields from 32 bits to 64 bits.
85     * hardware drivers.
86 * Port/sync the following from OpenBSD:
87     * 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).
88     * After that, make user stacks and data heaps non-executable. (W^X)
89     * hardware drivers, specially wireless.
90 * Import/Update DRM from the DRM git repository ([http://dri.freedesktop.org/wiki/DRM](http://dri.freedesktop.org/wiki/DRM)).
91 * CPU scheduler work:
92     * 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))
93     * 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.
94 * I/O scheduler work:
95     * factor out, and make the IO scheduler plugabble.
96     * start with a "NOP" scheduler for RAM based devices
97     * implement a anticipatory scheduler (see documentation about the linux anticipatory scheduller)
98     * implement a Fair Queuing scheduler (even out the access to IO between competing processes/users)
99 * Work relating LWKT (LightWeightKernelThreading)
100     * Implement lazy IPI cross-processor lwkt message passing.
101     * Add timeout functionality to lwkt_waitmsg().
102     * Write man pages for the lwkt message passing API.
103 * A real slab allocator. Contact corecode for patches.
104 * clean up buildworld/kernel compilation warnings
105 * 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.
106 * Port XFS. (Contact joerg)
107 * Computer Architecture related:
108 * Port DragonFly over to Xen.
109 * Port DragonFly over to amd64 (look [here](http://cvsweb.dragonflybsd.org/cgi-bin/cvsweb.cgi/src/README.amd64) for more information).
110 * Port DTrace
111 * Capriccio threads
112 * Xen support as domU and dom0 platform
113 * DistributedFileSystem
114
115 [[SimonsTODOs]] contain some more or less important things of various sizes and colors
116