Operating System《操作系统》ch09-Virtual Memory-70.pptVIP

  • 3
  • 0
  • 约1.41万字
  • 约 70页
  • 2017-06-09 发布于浙江
  • 举报

Operating System《操作系统》ch09-Virtual Memory-70.ppt

Other Issues – Program Structure Program structure Int[128,128] data; Each row is stored in one page Program 1 for (j = 0; j 128; j++) for (i = 0; i 128; i++) data[i,j] = 0; 128 x 128 = 16,384 page faults Program 2 for (i = 0; i 128; i++) for (j = 0; j 128; j++) data[i,j] = 0; 128 page faults Other Issues – I/O interlock I/O Interlock – Pages must sometimes be locked into memory Consider I/O - Pages that are used for copying a file from a device must be locked from being

文档评论(0)

1亿VIP精品文档

相关文档