Effective Access Time
来源:互联网 发布:淘宝退款纠纷率怎么算 编辑:程序博客网 时间:2024/06/07 00:19
A paging scheme uses a Translation Loo-aside Buffer (TLB) A TLB access takes 10 ns and a main memory access takes 50 ns. What is the effective access time (in ns) if the TLB hit ratio is 90% and there is no page-fault? a) 54 b) 60 c) 65 d) 75
Dear student,
the correct answer is c)65
Sol: (10+50)*0.9 +(10+50+50)*0.1=65
Effective Memory Access Time
The percentage of times that a page number is found in the associative registers is called the hit ratio. An 80-percent hit ratio means that we find the desired page number in the associative registers 80 percents of the time. If it takes 20 nanoseconds to search the associative registers, and 100 nanoseconds to access memory, then a mapped memory access takes 120 nanoseconds when the page number is in the associative registers. If we fail to find the page number in the associative registers (20 nanoseconds), then we must first access memory for the page table and frame number (100 nanoseconds), and then access the desired byte in memory (100 nanoseconds), for a total of 220 nanoseconds. To find the effective access time, we must weigh each case by it probability:
effective access time = 0.80 * 120 + 0.20 * 220
= 140 nanoseconds.
FROM: http://www2.cs.uregina.ca/~hamilton/courses/330/notes/memory/paging.html
Page Fault
- when a process tries to access an address whose page is not currently in memory
- process must be suspended, process leaves the processor and the ready list, status is now ``waiting for main memory''
- Effective Access Time
- UVA 6475 Effective Infection Time
- 理解Linux中 modify time、change time、access time
- Linux 文件的access time、modify time、change time。
- Linux access time,modify time,change time,find命令符
- Linux的三个时间--Access time,Modifiy time,Change time
- linux下文件的access time 、change time、modify time
- Linux下的Access time、Modify time和Change time
- Access无法使用time作为字段名称
- Time Division Multiple Access
- arm:typical memory size and access time
- system memory之Memory Access and Access Time
- liunx下对于modification time(更改mtime),status time(ctime),access time(atime)的理解与
- Linux:Access time、 Modify time 、Change time 和 find 命令使用解析
- LINUX小结一【进入目录,创建文件,显示文件】【Access time、Modified time、Create time】
- Linux下文件的Access time,Modify time, Change time的三个时间
- 【linux】--Linux文件的三个时间点(access time,modify time,change time)
- linux里stat 指令下的三个时间(Access time,Modify time,Change time )
- 割接方案:友商分析
- bean的生命周期
- fgets函数
- JSTL学习笔记
- 开场白
- Effective Access Time
- 做错的题目c/c++
- 《地震及时通》1.0版介绍
- 100916 中软实训 之 TreeCtrl
- jstl学习笔记 (转摘)
- mysql在PHP中的错误
- 表达式语言和JSTL -JSP2.0应用教程学习笔记
- 《海量空间数据库实施策略-栅格数据》PDF版本
- 搜索面试相关准备