On 2020-Dec-08, Irodotos Terpizis wrote: > Initially, I modified the code within the BufferAlloc method in the > bufmgr.c file, > to log the pages that were requested and were already in the cache, > the pages that were evicted and the pages that > replaced them. However, I feel that this might not be the most optimal > way, as the log file is a mess and > it is hard to analyze. I was wondering if there is a more optimal way > to achieve this.
Hi Irodotos, Did you find an answer to this question? Can you explain in what way the log is a mess? Maybe you need to start by defining how would you like the log file to look. -- Álvaro Herrera 39°49'30"S 73°17'W "La conclusión que podemos sacar de esos estudios es que no podemos sacar ninguna conclusión de ellos" (Tanenbaum)