15 votes 15 votes What is the main difference between translation look aside buffer and translation look ahead buffer . Operating System operating-system + – neha pawar asked Oct 28, 2014 • edited Dec 1, 2019 by KUSHAGRA गुप्ता neha pawar 9.3k views answer comment Share Follow See 1 comment See all 1 1 comment reply theradash commented Apr 8 reply Follow Share Feature Translation Lookaside Buffer (TLB) Translation Lookahead Buffer (TLB) Location CPU (MMU) Disk Controller Function Caches virtual-to-physical address translations Prefetches data from disk Focus Optimizes past translations Anticipates future data needs Impact Speeds up virtual-to-physical address translation Improves disk read performance 0 votes 0 votes Please log in or register to add a comment.
Best answer 32 votes 32 votes The below link says TLB- Translation Lookaside Buffer is used for address translation while Translation Look-ahead buffer is used by disks to put pages in the disk cache ahead of its access (probably based on spatial locality), and that makes sense. I have seen TLB being referred as Translation Look-ahead Buffer at some places, but that doesn't make any sense- as looking is not done ahead here. http://cs.stackexchange.com/questions/9612/look-ahead-buffer-vs-translation-look-aside-buffer Arjun answered Oct 28, 2014 • selected Oct 27, 2017 by Rishi yadav Arjun comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments Kabir5454 commented Nov 13, 2022 reply Follow Share @KartikGawande if it is only allotted area in main memory then what is the use of it as it is will take same time to access as it will take main memory where cache access time is very less . 1 votes 1 votes KartikGawande commented Nov 14, 2022 reply Follow Share Kabir5454 yes but the doing of “looking ahead” of the pages that might be required (according to spatial locality)and then putting in the main memory itself gives a lesser amount of access time compared to not “looking ahead” at all so even if we consider lookahead buffer in the main memory then also it gives lesser access time. That’s why i have this doubt. Pls lemme know if u find out. 0 votes 0 votes John_Smith commented Dec 5, 2023 reply Follow Share @KartikGawande Translation Look-ahead buffer is used by disks to put pages in the disk cache... Disk buffer (often ambiguously called disk cache or cache buffer) is the embedded memory (often implemented as a RAM) in a hard disk drive (HDD) or solid state drive (SSD) acting as a buffer between the rest of the computer and the physical hard disk platter or flash memory that is used for storage. Also, while data in the page cache is reused multiple times, the data in the disk buffer is rarely reused. In this sense, the terms disk cache and cache buffer are misnomers; the embedded controller's memory is more appropriately called disk buffer. Ref. : https://en.wikipedia.org/wiki/Disk_buffer 0 votes 0 votes Please log in or register to add a comment.