Discussion:
Belady's anomaly
(too old to reply)
gsax
2005-07-30 06:59:11 UTC
Permalink
Hi

We all know that FIFO suffers from Belady's Anomaly & LRU does not.

My question is why LRU 'never' suffers from Belady's Anomaly?

After all LRU is just an 'approximation' to the Optimal replacement
algorithm...

so why should it 'never' suffer from BA .. I mean I can understand it
doing better than FIFO & suffering sometime from BA, but why never?

thanks
Gsax
Chris McDonald
2005-07-30 23:32:03 UTC
Permalink
Post by gsax
Hi
We all know that FIFO suffers from Belady's Anomaly & LRU does not.
My question is why LRU 'never' suffers from Belady's Anomaly?
After all LRU is just an 'approximation' to the Optimal replacement
algorithm...
so why should it 'never' suffer from BA .. I mean I can understand it
doing better than FIFO & suffering sometime from BA, but why never?
thanks
Gsax
Homework?
gsax
2005-07-31 07:08:55 UTC
Permalink
No, not homework

I am studying OS as a subject by myself...& posting questions that
naturally arise in its study..

Hence I have no teacher to ask them...

what I am doing is not for grades..

best
Gsax

Loading...