SU-CS109 SEP292023
Last edited: August 8, 2025Key Sequence
Notation
New Concepts
Important Results / Claims
Questions
Interesting Factoids
SU-CS111 Final Sheet
Last edited: August 8, 2025FS
main challenges
- naming: how do users name files
- reliability: surviving OS crashes and hardware failures
- protection: isolation between users, controlled sharing
- disk space management: minimize seeks, sharing space (“preventing fragmentation”)
seeks
to wait until the platter go under the arm and read.
internal v. external fragmentation
- internal: a file can be no less than a single block of text.
- external: no space is available even if the space in aggregate is available
main designs
contiguous allocation
IBM used this? puts files and meta-data together + implement an explicit free list allocator. benefit: simple; drawback: 1) external fragmentation 2) hard to grow files
SU-CS111 Outline
Last edited: August 8, 2025KEY IDEAS:
- filesystems - how do we design filesystems to manage files on disk
- multiprocessing - how does programs interact with one another, coordinating, etc.
- multithreading - how can we have single-process concurrency
- virtual memory - how can one set of memory can be shared among several processes
- modern technologies - busy waiting locking, Flash Storage, etc.
- interplay between tech + OS: OS at the hardware, software boundary
- designing with tradeoffs: not always one “best” way - evaluating pros/cons/priorities
- virtualization: make one thing look like something else, or many of them
- concurrency: synchronization is hard
- locality: predicting the future (scheduling, paging, block cache, etc.)—try to estimate the future with priority queues, etc.
- atomics: collections of operations that make them appear as a single, indivisible operation — synchronization + file system consistency (log transactions)
- layering: building higher level abstractions to hide details (monitors, fs layers, file descriptors, etc.)
- system builders wrangling complexity: solving complex problems with simple interfaces that others can build on (virtual memory, filesystems, etc.)
- trust: we have to trust something or someone—evaluating what to trust and how systems can incorporate trust
- understanding justifies how complex systems work
- elegant ideas of computing (concurrency, virtualization, etc.)
- take advantage of hardware and OS software that’s available
- OS aren’t standing still: OS changing and encountering new challenges
Massive Review
SU-CS120 0OCT102024
Last edited: August 8, 2025- “for optimial performance all three factors must be scaled up in tandem”
- “model performance depends strongly on scale, the model performance, the dataset size, and [compute?]”
key issues
- copyright infringement
- privacy viloating information
- information hazards reenactment
SU-CS120 OCT012024
Last edited: August 8, 2025specification gaming
specification gaming, or reward hacking, is the phenomina where a system runs suboptimally because it exploited an underspecified part of the reward.
challenges
- sparse rewards
- partial obervability
- dynamic rewards (and reward shifting)
- sim-to-real transfer is hard
- computational costs
- specification gaming
AI alignment
AI alignment ensures that AI systems are aligned with human values and interests.
there is a spectrum of unexpected solutions: undesirable novel solutions an desirable novel solutions