Update.
[pintos-anon] / TODO
1 -*- text -*-
2
3 * Test pintos with GSX.
4
5 * Need targets for checking single tests or single subdirs
6
7   - `make check' should say how to get more information
8
9   - `make recheck', `make clean-check'
10
11 * Need to put time limits on tests.
12
13 * Add a way for students to prints messages ignored by the autograder.
14
15   - Ignore text between /* and */.
16
17   - Allow for a comment on `exit' lines?
18
19 * Improve automatic interpretation of exception messages.
20
21 * We need better and more example programs.
22
23   - Need an mmap example program as a replacement for the crappy mmap FAQ
24     question.
25
26   - How about `diff' and `cmp' programs?
27
28 * Threads:
29
30   - mlfqs tests suck.  They aren't even correct, e.g. the amarv
31     submission from win0405 is graded incorrectly.
32
33 * Userprog project:
34
35   - Don't emphasize that stuff needs to be copied from user space to
36     kernel space.  Instead, emphasize validation and suggest that
37     copying is a common solution and that it will be necessary in
38     project 3 and in real OSes.  Also revise the grading criteria to
39     match.
40
41   - Mark read-only pages as actually read-only in the page table.  Or,
42     since this was consistently rated as the easiest project by the
43     students, require them to do it.
44
45   - Don't provide per-process pagedir implementation but only
46     single-process implementation and require students to implement
47     the separation?  This project was rated as the easiest after all.
48     Alternately we could just remove the synchronization on pid
49     selection and check that students fix it.
50
51 * VM project:
52
53   - Discuss the perils of mixing dirty bits between kernel and user virtual
54     memory.
55
56 * Filesys project:
57
58   - Increase maximum disk size from 8 MB to something that actually
59     requires doubly indirect nodes.  There is a negative pressure here
60     from the bitmap object--perhaps we need a specialized bitmap that
61     doesn't have to be all in-memory at once.
62
63     Alternatively, shrink the inode size.
64
65   - Add option to disable buffer cache.
66
67   - Need a better way to measure performance improvement of buffer
68     cache.  Some students reported that their system was slower with
69     cache--likely, Bochs doesn't simulate a disk with a realistic
70     speed.
71
72   - Clarify effect of remove(cwd).
73
74 * Documentation:
75
76   - Finish writing tour.
77
78   - Add "Digging Deeper" sections that describe the nitty-gritty x86
79     details for the benefit of those interested.
80
81   - Add explanations of what "real" OSes do to give students some
82     perspective.
83
84   - GNU make 3.80 or later is required.
85
86 * Assignments:
87
88   - Add extra credit:
89
90     . Low-level x86 stuff, like paged page tables.
91
92     . Specifics on how to implement sbrk, malloc.
93
94     . Other good ideas.
95
96     . opendir/readdir/closedir
97
98     . everything needed for getcwd()
99
100 * Tests:
101
102   - The threads, userprog, vm test source files could use
103     factorization and cleanup along the lines of fslib in the filesys
104     tests.
105
106   - The p1-4.c testcase needs significant tuning.  Currently it takes
107     too long (especially when SHOW_PROGRESS is turned on) and doesn't
108     show significant improvement.
109
110 * Code:
111
112   - Need an optimization barrier and an explanation of it in the
113     documentation.
114
115   - Need to check the wait system call more thoroughly.