Description of "Accelerated Computer Systems" (CS 4973; Spring, 2026)
Prof. Gene Cooperman
This course is an alternative to CS 3650.
The course begins exactly where CS 3650 ("Computer Systems") begins.
It does not assume advanced background.
After this Spring semester, the course will be proposed to the
registrar as a permanent course.
The course can be accelerated, because it concentrates on a few,
fundamental concepts for Computer Systems. This methodology concentrates
on intuition about the goals of a component of a computer system. and
The emphasis is about why the software design meets those goals,
as opposed to how to write large amounts of code using that component.
The "why" of a subject is what will enable you to easily take
advanced systems courses ranging from cybersecurity to distributed
systems to databases (e.g, semantic search) to HPC and many others.
(Here is a list of advanced follow-on courses that Accelerated Computer Systems will prepare you for.)
If you are not sure whether you would like to enroll in CS 4973 instead
of CS 3650, I encourage you to come to the first class of CS 4973.
The first class is on:
Friday, Jan. 15 @ 3:25pm; Room (as of November 2026): 233 Richards Hall
I will happily answer questions in class about the difference between
CS 3650 and its new alternative, CS 4973 (Accelerated Computer Systems).
The
older course web page and the old course syllabus for you to peruse.
(The Spring 2027 version will be similar.)
INSTRUCTOR'S BACKGROUND:
I have previously taught Computer Systems at the undergraduate, M.S.,
and PhD level for many years. This course is a synthesis of that experience.
This synthesis allows me to accelerate the learning, while being very respectful of students' time commitments.
For questions on this course, please write to me:
g.cooperman@northeastern.edu
By concentrating on fundamental concepts, the student
will quickly internalize how to think about Computer Systems.
The last third of this course will then use that newly found sophistication
to take a tour of the many other computer systems course, for which
this course serves as a gateway to the rich set of
other systems courses offered in Khoury College.
Often, the professors teaching that advanced course will give a guest lecture.
My favorite definition of Computer Systems is
as follows:
Computer Systems is the subject that shows how to create software
functionality that cannot be written solely within the confines of a
single programming language.
See below for more details of this course.
-
Overview of Course
-
The first two homeworks
-
Syllabus for Accelerated Computer Systems (from Spring 2026)
-
Accelerated Computer Systems as a Gateway to Other Systems Courses
A. Overview of Course
- Central Concept of Operating Systems:
- The UNIX process table is an array of struct, where each struct
has attributes for that process. The open files of that process
are "file descriptors", pointing to an entry in a
global table of all open files.
- The global table of open files is an array of struct, where each
struct has attributes for that file. The struct can point to
the terminal, a device, or an entry in a superblock on disk.
- The superblock on disk is an array of struct, where each
struct has attributes for that file on disk (permissions,
file owner, file size, etc.).
- Homework 1 and homework 2 (with guidance in class):
Create two programs, checkpoint and restart,
with the ability to save and restore a running process.
(These homeworks ensure that all students will be able to easily
employ subtle operating system concepts in their code.
Generous individual assistance is provided.)
- C pointers are almost the same as array names:
programmer's model
- fork/exec/waitpid: Writing your own shell for the terminal
in 100 lines or less.
- Assembly language: Leverages student
background in traditional programming languages (e.g., C/C++/Java).
Assembly is treated as just one more programming language,but with
32 variables (called registers), array indexing (called
base addressing mode), and a weird implementation of the
stack of pending functions. Learning is made easier by
an easy-to-use simulator for
RISC-V assembly language
that graphically exposes concepts, through single-step, back-step
(execute in reverse), breakpoints, register values, etc.
- A reading knowledge of C code for early UNIX (Linux) operating system.
This unit is just one week, leveraging the concepts learned
earlier. It serves as a capstone, to show the student that
they can fully understand all of the UNIX operating
system code (circa 1975).
- CPU cache and virtual memory: A CPU cache is just a table
of key-value pairs, with each key being a virtual address
for a variable,
generated by the assembly language, and the value being the
actual address of that variable in RAM.
Virtual memory is almost the
same thing as a "direct-mapped" CPU cache.
(And the corresponding homework will show you how to use an LLM
to modify the C compiler to generate an address trace of all
addresses used by a program. The address trace is then used
to write a simple simulator for the CPU cache.)
- Multithreaded programming: Threads are "subprocesses" that
have access to the entire memory of the parent process.
For threads to cooperate with each other, they need to
synchronize with each other: mutex (locks), semaphore
(multiple threads doing the same thing), condition variables
(simple multithreaded construct that allows users to
directly specify their own user-defined program invariant).
- Model Checking: In freshman programming, you give a program
an input, and the program deterministically executes exactly the
same steps every time. So, diagnosing bugs is easy.
In Multithreaded programming, each thread (subprocess) executes
in a separate schedule. So, maybe a bug appears only once in
a hundred executions (due to an unfortunate schedule). How can
you discover and fix such rare bugs? (ANSWER:
Model checking)
This unit will use a simple, easy-to-use model checker that
allows you to quickly diagnose very subtle multithreaded bugs.
- Gateway to other systems courses
in Khoury College.
(See: Accelerated Computer Systems as a
Gateway to Other Systems Courses)
B. The first two homeworks:
The first two homeworks will
demonstrate (with lots of hints) how a systems approach can implement
software that would be impossible in a traditional programming language.
Consider a checkpointing
program. A checkpointing program can save a process to disk,
and later resume the process. For example:
% ./count-numbers
1 2 3 ...
% checkpoint ./count-numbers
1 2 3 4[program interrupted]
% restart ./checkpoint-file
5 6 7 ...
The first homework will be to write the program, 'checkpoint'.
The second homework will be to write the program 'restart'.
Each program can be written in approximately 100 lines of C code.
These homeworks guarantee that all students will be able to easily
employ subtle operating system concepts in their code.
While the normal deadline will be one or two weeks per assignment,
for these homeworks, we will provide generous one-on-one
assistance. Further, since the goal is learning, and not grades,
you may continue to work on these homeworks even for two months,
and then submit it as a "late homework"
with a late penalty of only 5 points out of 100.
The remaining homeworks do not depend on these two homeworks.
The motivation for these homeorks is that this course is about _concepts_, not
syntax. Concepts take longer to internalize. But once internalized,
they stay with you for a lifetime.
After completing these assignments, students typically are surprised by
how much they have internalized, and how _easy_ (almost trivial)
the remaining homeworks are.
D. Accelerated Computer Systems as a Gateway to Other Systems Courses
The following courses all leverage topics in computer systems.
-
The cybersecurity courses leverage information on process memory
layout, including stacks and call frames, dynamic libraries, LD_PRELOAD,
assembly language, and other topics in this course.
-
The networking courses leverage a knowledge of the operating
system implementation and how it can be extended for network devices.
-
The Distributed Systems, Cloud Computing, Parallel Data Processing
and High Performance Computing
courses can all be viewed as ways to take multithreaded programming
on a single node, and generalize them to distributed computers.
For example, multithreaded programmings use locks (mutexes) and barriers
located in the shared memory of a single computer. How do you create
locks or barriers for all processes across many computers.
-
The Database and Data Mining courses leverage a knowledge of
the file system on disk or SSD, along with generalizations of multithreaded
programming to distributed hosts.
-
And of course, there is an obvious connection with the courses
on Operating Systems Implementation (CS 6640), and M.S.-level or PhD-level
Computer Systems (CS 5600 and CS 7600).
Courses using Computer Systems:
- CY 2550 – Foundations of Cybersecurity
- CS 4700 – Network Fundamentals
- CS 4730 – Distributed Systems
- CY 5010 – Cybersecurity Principles and Practices
- CY 5065 – Cloud Security Practices
- CY 5130 – Computer System Security
CY 5150 – Network Security Practices
- EECE 5640 - High-Performance Computing (In "Electrical and Computer Engineering")
- CS 5200 – Database Management Systems
- CS 5600 – Computer Systems
- CS 5700 – Fundamentals of Computer Networking
- CS 6240 – Large-Scale Parallel Data Processing
- CS 6640 – Operating Systems Implementation
- CS 6650 – Building Scalable Distributed Systems
- CY 6740 – Network Security
- CS 7600 – Intensive Computer Systems
- CS 7610 – Foundations of Distributed Systems