CSE 506, Fall 2011: Operating Systems



Syllabus and Policies

  1. Prerequisites
  2. Who Can Take This Class
  3. Taking This Class for 522 Credit
  4. Examinations
  5. Textbooks
  6. Handouts and Other References
  7. Homework
    1. Lateness
  8. Collaboration vs. Cheating
  9. Grading
  10. Special Assistance
  11. Academic Integrity
  12. Critical Incident Management
  13. Acknowledgements

Prerequisites

  1. Undergrad OS: The officially published prerequisite for this class is CSE 306, the undergraduate level operating systems course. It is necessary background. If you've never taken an introductory operating systems course before, you may not take this class; in some cases, having industry experience in the same field is enough.
    If you've taken an equivalent course elsewhere, especially if you have already done the JOS lab, and the course included actual, substantial programming experience in any kernel, please speak to me first to get an approval to take this class.
  2. You should already know the C programming language and be proficient with it. You should know, for example, how to debug pointer problems and other memory "trashing" bugs that often come up in C programs. This course will not teach you C or basic debugging techniques (though we will discuss how to debug a kernel).
    If you do not know C and would like to take the course, I would recommend reading "The C Programming Language" by Kernighan and Ritchie and working the exercises in the book BEFORE THE FIRST DAY OF CLASS. A dedicated student that is proficient in another language (e.g., Java) can probably accomplish this in a week or two.
  3. You should already have basic exposure to Unix commands. You should know what ssh, cc, gcc, make, ar, as, nm, ln, ld, cpp, vi/emacs, gdb, and other such commands do. We will not teach you how to use Unix (we'd like to spend the time teaching you about operating systems instead).

If you do not fulfill the above requirements, you should consider very strongly taking CSE-306 instead of this course.

Other recommendations which would greatly help you in this class:

Who Can Take This Class

CS graduate-level courses are generally intended only for CS graduate students in a CSE degree program such as the MS or PhD programs!

If you are a CS PhD student and registration is full, please come to class and let me know if space still isn't available after the first week.

If you do not fulfill the class prerequisites, you may not take this class without instructor permission.

Unfortunately, the university registration system does not always validate prerequisites or enforce registrations based on degree programs or department affiliations. Furthermore, we have limited resources available for this class: seating, teaching staff, and laboratory facilities. Therefore, at my discretion, I will collect information about each student who wants to take this class and correlate it with university records. Then I will decide who can take the class. Note that this is independent of whether you are already registered for the class or not. Priority will be given to CS graduate students.

In either case, I will endeavor to allow everyone who has the proper background to take this class, including undergraduate students and non-CS majors.

Finally, the lab resources of this class are limited and thus reserved only for registered students. No auditors are allowed in this class.

Taking This Class for 522 Credit

This course is also listed as a 522, or Special Project in Computer Science. If you meet the prerequisites for the course, you may take it for 522 credit. Because the course is currently full, you must ask the instructor to enroll you in 522. To avoid over-subscribing the class, 522 enrollment will only be granted if you are already enrolled in 506. You will be moved to 522 and the enrollment capacity of 506 will be decreased by one. You may not take the course for both 506 and 522.

522 Requirements. The requirements for 522 are the same as 506, except that you must complete one challenge problem for each lab. You must complete each lab alone.

Examinations

There will be two exams in this course: a midterm exam, to be held in-class, and a final exam, which will be held during Finals Week at the officially scheduled date/time. See the course schedule for specific exam times and locations. Both exams will be closed book.

There will be an in-class midterm on Tuesday, October 25, 2011. Please mark your calendars now. If you have a conflict with the midterm, tell the instructor during the first two weeks of class, and we will schedule a makeup for a time before the exam is given to the rest of the class.

Special offer: you can write your own exam questions! Submit a question with your solution in advance of the exam, and if we like it, it will appear on the exam.

Textbooks

There is no required textbook for this course. Readings will be assigned as needed from materials that are available online or from the library.

A number of helpful references for the labs are available on the References page.

Optional Textbooks: The following books are useful references for this course and OS kernel programming in general. These books are available from the amazon and the campus bookstore, and several are available for free on the Stony Brook campus through Safari books online (links below). There is a concurrent user limit for the Safari service; if you have problems with this, let me know and I will ask for it to be increased.

Handouts and Other References

Besides the course text, during the semester we may study some research papers from industry and academia. We will also read parts of the source code of the Linux operating system. These references will be made available via the course home page, at the following URL:

http://www.cs.stonybrook.edu/~cse506/

Homework

The homework in this course will consist of two types of activities:

  1. Reading from the textbook, assigned papers, and Linux source code. You obviously won't be graded on this part of the homework, but the exams will contain questions to determine whether you have done the reading and integrated the reading material into your own understanding of operating systems. Note also that you are resposible for reading all of the posts on the class mailing list. The list will be an invaluable informational resource for you throughout the class (that's why you must subscribe to it).

  2. Labs in which you will implement key components of a small, but realistic operating system. You will be given "skeleton" code, which will allow you to focus on filling in the interesting pieces while making the overall workload manageable. You may work alone or in pairs; note that the exam will also include questions about the lab work, so if you work in pairs you should understand your partner's code. The labs also include guidance and links to resources you are responsible to read and understand on your own. The finished OS will boot and run on PC hardware.

Reading will take place on an ongoing basis throughout the semester. Programming assignments will be given regularly, with each assignment due one to four weeks after it is issued. The lab is broken down into 7 programming assignments, with the last assignment being partly open-ended (i.e., you add a feature of your choice to the OS). The labs can be completed alone or in pairs. I feel that actual programming experience is extremely important in the systems area, and so I have assigned a fairly high weight to the programming portion of the grade (see Grading below) to help motivate you. If you work in pairs, you should both understand the code, as the exam will also include questions about the labs.

Lateness

Each group has 72 late hours to be used at their discretion throughout the semester. After your late hours are exhausted, each additional day late will incur a full letter grade penalty. In your lab README, you must include your accounting of how many late hours you have used.

Conflicts with other courses, research deadlines, holidays, etc. are unavoidable. Thus, you are expected to budget these to account for your other obligations, as well as plan ahead and start early.

The lowest grade you will receive for lateness is a D. If you turn nothing in by the end of the semester for a given lab, you will get an F for that lab Note that the labs are cumulative---if you fail to complete lab 2, you will not be able to complete any following labs, so there is no reason to procrastinate on finishing it.

I would recommend turning in what you have by the deadline for a lab, and then submit an updated version late if it will improve your grade after the deducted late penalties. Course staff will generally not grade labs until several days to a week after they are turned in.

Exemptions to the lateness rule will be allowed in three cases:

  1. Illness, which has to be documented by a doctor and approved by the university.
  2. Death in the immediate family.
  3. Accomodations for students with disabilities, as prescribed by the university.

No extensions will be given for any other reason.

Collaboration vs. Cheating

For the labs, you may work with a partner. If you work alone, you submit your own work. If you work with a partner, you will submit your assignments jointly with your partner. Whether or not you work with a partner, you may discuss the programming assignments with anyone you like in general terms, but you may not share code with anyone other than your partner. The code you and your partner submit must be your own work, and only your own work. Any evidence that source code has been copied, shared, or transmitted in any way between non-partners (this includes using source code written by others in previous semesters, or at other universities!) will be regarded as evidence of academic dishonesty.

Some more specific guidelines for the labs:

Note that the course staff will use tools such as MOSS to detect cheating. These tools are very good at comparing large sets of programing assignments and correlating those that have a shared code basis, even if the code has been changed significantly!

You are welcome to use existing public libraries in your programming assignments (such as public classes for queues, trees, etc.) You may also look at operating systems code for public domain software such as Linux. Such activities qualify under approved collaboration practices, and you are welcome to take advantage of them. Note that you must cite and acknowledge those sources properly. Not doing so constitutes academic plagiarism, and will not be tolerated.

I am very serious about not tolerating academic dishonesty. In a graduate class, when I am able to establish that academic dishonesty has occurred, I generally assign the student in question a grade of "F" for the course and forward the particulars to the Graduate Program Director (GPD) for inclusion in the student's folder; the GPD may decide to forward the student's case to the CS Department Graduate Grievance and Appeals Committee (G-GAC). If the student is a repeat offender, I ask that the Graduate Program Director initiate proceedings to dismiss the student from the degree program. For more information, see the Graduate Academic Dishonesty departmental procedures. Besides, we're here to learn. Do you want to get a good job and impress your peers with your programming skills, or get fired by your boss for failing to get the job (or worse, get sued for copying someone else's work).
For more information, see the Academic Judiciary Web site.

Intellectual dishonesty can end your career, and it is your responsibility to stay on the right side of the line. If you are not sure about something, ask.

Grading

The course will be graded with +/- grades (e.g., A, A-, B+, etc.).

The final grade will be determined as follows: The raw scores obtained by all students on each assignment and exam will be standardized for that particular assignment or exam either (at my discretion) by converting them to percentile scores, or else by applying a linear transformation to map the scores to a standard [0, 100] scale. A weighted sum of the resulting standardized scores will then be formed (with weights as shown below) to obtain a composite score for each student.

Finally, the composite scores will be ranked, and I will apply a subjective method of my choice to determine the cutoffs for each grade category. Absolute performance standards, the distribution of composite scores, information derived from late homeworks, and class participation are factors likely to contribute to this decision.

Generally speaking, to get at least a B+ in this class, your overall numeric grade in this class must be above 75% of the total possible number of points (not counting extra credit). Note that this does not mean that everyone who gets less than 75% will automatically get a grade less than B+.

PhD students taking this course as part of qualifier exams, take note. Historically, less than 20% of students who took this course got an A- grade or better. Pleas for an A- or better at the end of the semester will not be accepted.

To pass this course, you have to get at least 50% of the total numeric cumulative grade, not counting extra credit. Note that if you get less than 50%, it does not mean an automatic failing grade, but the grade will not be a good one either.

Attendance and participation in classes, in particular, will be factors that can offset borderline grades. This includes conversations with the instructor and TA over email, using the class mailing list, and so on. I also often take into account evidence of improvement over the course of a semester. However, I will not entertain end-of-term pleas to get a certain grade.

So that you can get an idea of how you are doing as the term progresses, I will report rough percentile information when I hand back each assignment. Final percentile scores will not be computed until after all grade changes and corrections have been taken into account at the end of the term.

The exams are closed book and include a mix of multiple-choice, short answer, and programming questions.

Grading of Programming Assignments: The programming assignments include a grading script that the course staff will use to grade your work. Note that the labs also include questions which affect your grade, but functionality and a correct implementation is the primary factor in grading.

Re-grading: after each grade is given out, you will have a chance to discuss it with the grader and the instructor. You must first discuss your grade with the grader, within the first 48 hours after the grade has been handed back. It's highly recommended that you take some time to review your entire grade before discussing it with the grader. After discussing your grade with the grader, if you wish, you may discuss it with the instructor during office hours or by appointment. If, after discussion with the grader or instructor, you ask for an assignment to be regraded, the entire assignment will be regraded. Your grade can be improved or harmed by regrading.

Extra credit: Most labs include challenges, which may be completed for extra credit. Please indicate if you do these in your lab's slack.txt file. The instructor may also assign bonus work in class at my discretion. Any extra credit points accrued by any student will be used as follows. The final course grade will be assigned as a letter grade which excludes all extra credit points. Then I will apply a subjective method to determine how much value to assign to extra credit points. Extra credit points can only be used to raise your final course letter grade. In other words, you are not obligated to do any of the extra credit work, and you can still get an A in this course.

Special Assistance

The Provost has required that all faculty include the following statement in their syllabus handouts:

If you have a physical, psychological, medical or learning disability that may impact on your ability to carry out assigned course work, I would urge that you contact the staff in the Disabled Student Services office (DSS), Room 133 Humanities, 632-6748/TDD. DSS will review your concerns and determine, with you, what accommodations are necessary and appropriate. All information and documentation of disability is confidential.

Academic Integrity

Each student must pursue his or her academic goals honestly and be personally accountable for all submitted work. Representing another person's work as your own is always wrong. Faculty are required to report any suspected instances of academic dishonesty to the Academic Judiciary. Faculty in the Health Sciences Center (School of Health Technology & Management, Nursing, Social Welfare, Dental Medicine) and School of Medicine are required to follow their school-specific procedures. For more comprehensive information on academic integrity, including categories of academic dishonesty, please refer to the academic judiciary website at http://www.stonybrook.edu/uaa/academicjudiciary/

Critical Incident Management:

Stony Brook University expects students to respect the rights, privileges, and property of other people. Faculty are required to report to the Office of Judicial Affairs any disruptive behavior that interrupts their ability to teach, compromises the safety of the learning environment, or inhibits students' ability to learn. Faculty in the HSC Schools and the School of Medicine are required to follow their school-specific procedures.

Acknowledgements

Portions of this course design, organization, policies, syllabus, web design, etc. came from Mike Walfish and Erez Zadok.


Last updated: Tue Nov 08 13:38:28 -0500 2011 [validate xhtml]