(no commit message)
[ikiwiki.git] / docs / developer / ProjectsPage.mdwn
8c0cdf29 1# DragonFly Projects
b790f880 2
8c0cdf29 3This 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.
b790f880 4
8c0cdf29 5[[!toc levels=3 ]]
b790f880 6
8c0cdf29 7## Website projects
b790f880 8
06d07101 9### One-liners
99e24f21 10 * Add traffic report, especially to lists requests that cause 404s
11 * Add the mail archive to the search index
12 * Download link right on the main page.
13 * Fix [[RecentChanges]] page to have correct links back to git repo
14 * Fix RSS feed to have correct links
15 * Create layout for http://bugs.dragonflybsd.org that matches the main site.
16 * Create short list of tasks for a new DragonFly user
17 * how to upgrade the operating system
18 * how to get to a working desktop
19 * and where and how to report issues.
06d07101 20
21### Post papers in the proper locations on the website
22 * Format conversion may be necessary
99e24f21 23 * Aggelos's papers from [http://leaf.dragonflybsd.org/~aggelos/] (http://leaf.dragonflybsd.org/~aggelos/) (netmp-paper.pdf and netmp.pdf) to Presentations
06d07101 24 * ["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
b790f880 25
8c0cdf29 26## Documentation projects
b790f880 27
06d07101 28### One-liners
99e24f21 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.
06d07101 32
33### Handbook maintenance
34 * Check if the content applies to DragonFly. If not, change it.
35 * Add new content and enhance the previous chapters
36 * Check for syntax error, typos and wiki errors.
37 * Add prev/next buttons to all pages.
193c08af 38
8c0cdf29 39## Userland projects
b790f880 40
06d07101 41### One-liners
99e24f21 42 * Update the [[contributed software|docs/user/ContribSoftware]] which is out-of-date.
43 * Remove `NOINET6` build option
44 * `WARN` corrections to utilities
45 * Bring in code from other *BSDs:
46 * smbfs changes from FreeBSD
47 * pf changes from OpenBSD
48 * Add extended slice support to `fdisk`
49 * 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.
50 * C99 Standards Conformance. The todo list is on [[/docs/developer/StandardsConformanceProject]]
51 * Setup a regression testing machine/system to register and find problems and new improvements..
52 * Networking performance / scalability
53 * [[RegressionTest|/docs/developer/RegressionTest]]
54 * also check [[HowToStressTest|/docs/developer/HowToStressTest]]
55 * Add lwp support to ptrace/gdb/core dumps.
56 * [[/docs/developer/CheckpointFeatures]]
57 * Linuxulator update (FreeBSD did a lot of work in this area. Look [here](http://wiki.freebsd.org/linux-kernel),
58 * Bringing in version 2.0 of the BSD Installer
59 * UTF8 support in the console
06d07101 60
61### Scalability (algorithmic performance)
62 * [http://bulk.fefe.de/scalability/](http://bulk.fefe.de/scalability/)
63 * [http://bulk.fefe.de/lk2006/talk.pdf](http://bulk.fefe.de/lk2006/talk.pdf)
65### Write a tool to monitor changes in other code bases such as FreeBSD, NetBSD, OpenBSD.
66 * corecode is busy with this one (http://oly.corecode.ath.cx/~corecode/cgi-bin/crosscgi.py) (svn repository (https://fortunaty.net/svn/crossref/)).
68### Clean our code to make it [style(9)](http://leaf.dragonflybsd.org/cgi/web-man?command#style&sectionANY) compatible.
69 * Compile and test your changes.
70 * 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### Port BSD-licensed tools (ex: `grep`, `diff` and `sort`)
73 * The OpenBSD guys already did some work related to that.
74 * If you manage to bring the tools to DragonFly, check if everything works as expected (e.g. rc.d scripts, make world runs, ...).
75 * The new tools need to have at least all the features of the old GNU tools.
77### Randomize mmap() offsets
78 * [http://www.openbsd.org/papers/ven05-deraadt/index.html](http://www.openbsd.org/papers/ven05-deraadt/index.html)
99e24f21 80### GDB
18741101 81 * ptrace/gdb follow-fork-mode support and more (peek at linux)
82 * Change the build to create one libbfd for gdb and binutils
83 * Separate RPC code from NFS into separate library.
8c0cdf29 84
85## Kernel projects
06d07101 87### One-liners
99e24f21 88 * Port the BSDL OSS code to DragonFly
89 * 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.
90 * 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.
91 * 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).
92 * 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)
93 * Setup a regression testing machine/system to register and find problems and new improvements..
94 * Networking performance scalability
95 * fix `APIC_IO` on SMP
96 * Port or update drivers from other systems.
97 * Port NFSv4. [This mail](http://leaf.dragonflybsd.org/mailarchive/kernel/2008-01/msg00065.html) is a good starting point.
98 * Import/Update DRM from the DRM git repository ([http://dri.freedesktop.org/wiki/DRM](http://dri.freedesktop.org/wiki/DRM)).
99 * clean up buildworld/kernel compilation warnings
100 * Port DragonFly over to Xen.
101 * Port DTrace
102 * Capriccio threads
103 * Xen support as domU and dom0 platform
06d07101 104
105### Code to port/sync from FreeBSD
193c08af 106 * PCI code (to take advantage of power saving features)
107 * cpufreq and powerd
108 * netgraph modules. Contact joerg.
109 * Bring in support for UFS2, just the changes to extend the width of some fields from 32 bits to 64 bits.
110 * hardware drivers.
99e24f21 111
06d07101 112### Code to port/sync from OpenBSD
193c08af 113 * 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).
114 * After that, make user stacks and data heaps non-executable. (W^X)
115 * hardware drivers, specially wireless.
06d07101 116
117### CPU scheduler:
118 * A scheduler API supporting multiple scheduler implementations already exists
119 * Add a Solaris-like dispatcher framework that can handle more than one installed scheduling policy
121### I/O scheduler
193c08af 122 * factor out, and make the IO scheduler plugabble.
123 * start with a "NOP" scheduler for RAM based devices
124 * implement a anticipatory scheduler (see documentation about the linux anticipatory scheduller)
125 * implement a Fair Queuing scheduler (even out the access to IO between competing processes/users)
06d07101 126
127### Work relating LWKT (LightWeightKernelThreading)
193c08af 128 * Implement lazy IPI cross-processor lwkt message passing.
129 * Add timeout functionality to lwkt_waitmsg().
130 * Write man pages for the lwkt message passing API.