MULTIPROGRAMMING

abstraction (service) provided by the OS: you want to run a program, so the OS provides you with a process, address space (space-multiplex RAM), execution (time-multiplex CPU), and files (space-multiplex disks)

protection

multiprogramming implemented with process table, ready queue, clock chip interrupt handler

process table

ready queue

clock chip interrupts

MAX_TICKS_ALLOWED is usually 7 so that each process gets a time slice of about 100 milliseconds of CPU time (the clock chip interrupts about 60 times a second or every 16.67 milliseconds)


home page: http://elvis.rowan.edu/~hartley/index.html
e-mail: hartley@elvis.rowan.edu