I was curious after conducting an experiment for a course. I have read in text that LRU was more efficient, but throughout all my testing that doesn't seem to be the case. Locality has a play with this correct? The file streams I used must have not followed closely enough the principle of locality, because otherwise LRU would be far more efficient, no?
Asked
Active
Viewed 32 times
0
-
1Do either of these answer your question: https://stackoverflow.com/questions/2058403/why-is-lru-better-than-fifo or https://stackoverflow.com/questions/6930899/lru-vs-fifo-vs-random? – costaparas Dec 01 '20 at 06:25
-
yeah so basically its just based on the situation – Tbird DUNKIN Dec 02 '20 at 03:54
-
Pretty much, just depends on the situation. – costaparas Dec 02 '20 at 06:57