class: title # Swapping to Disk ## CSC 213 – September 19, 2025 --- # Agenda for Today 1. Department Events 2. Upcoming Work 3. Swapping 4. Wrap Up --- # Department Events ## CS Table: Topic TBD .indent[ Tuesday, September 23rd at noon in JRC 224C ] ## Flu Shot Clinic .indent[ October 2nd and 3rd from 9am–4pm in the Natatorium Lobby Register with Hy-Vee at
] *To receive 0.25% extra credit, send an email to let me know you attended no more than 48 hours after the event.* --- class: section, blue # Upcoming Work --- # Assignment 3: Archive Printer **Due:** Monday, September 22nd by 11:59pm ## Questions **Do all files end with a newline character?** No, not necessarily. The files in the test inputs do, but other files might not. --- # Virtual Memory Lab **Due:** Wednesday, September 24th by 11:59pm **Late Deadline:** Wednesday, October 1st by 11:59pm ## Questions *None so far.* --- class: section, blue # Swapping to Disk --- # Discussion: Swapping to Disk **Questions for think, pair, share:** 1. What problems can the OS solve by moving data from memory to disk? 2. What new problems could be caused by swapping data from memory to disk? 3. How should the OS decide which page to move from memory to disk? Try to think of the best possible policy, ideally one that is actually possible to implement. *Start by thinking of answers on your own. I will let you know when to start discussion.* --- class: section, gray # Whiteboard: Swapping to Disk --- # Reminders ## Lab The virtual memory lab is due next Wednesday. Arrange times to work with your lab group, and leave lots of time for debugging/troubleshooting. ## Assignment The archive printer assignment is due on Monday next week. ## Need Help? Attend the mentor session on Sunday from 3–5pm. ## Reading *No reading for the next class.*