Re: linux cachestat in file Readv and Prefetch

2024-03-14 Thread Robert Haas
On Sat, Feb 17, 2024 at 6:10 PM Tomas Vondra wrote: > I may be missing some important bit behind this idea, but this does not > seem like a great idea to me. The comment added to FilePrefetch says this: > > /* >* last time we visit this file (somewhere), nr_recently_evicted pages >* of t

Re: linux cachestat in file Readv and Prefetch

2024-02-17 Thread Tomas Vondra
On 1/18/24 01:25, Cedric Villemain wrote: > Hi, > > I was testing the index prefetch and streamIO patches and I added > cachestat() syscall to get a better view of the prefetching. > > It's a new linux syscall, it requires 6.5, it provides numerous > interesting information from the VM for the r

linux cachestat in file Readv and Prefetch

2024-01-17 Thread Cédric Villemain
Hi, I was testing the index prefetch and streamIO patches and I added cachestat() syscall to get a better view of the prefetching. It's a new linux syscall, it requires 6.5, it provides numerous interesting information from the VM for the range of pages examined. It's way way faster than the

linux cachestat in file Readv and Prefetch

2024-01-17 Thread Cedric Villemain
Hi, I was testing the index prefetch and streamIO patches and I added cachestat() syscall to get a better view of the prefetching. It's a new linux syscall, it requires 6.5, it provides numerous interesting information from the VM for the range of pages examined. It's way way faster than the