>
> > > The patch below allowed us to get close to 4G of page cache before
> > > things slowed down again and kswapd took over.
> >
> > How much memory do you have on the box ?
>
> It has 15G, so 512M of lowmem and 14.5G of highmem.
Can you please use readprofile to find out where kswapd is spending its
time when you reach 4G of pagecache ?
I've never seen kswapd burn CPU time except cases where a lot of memory is
anonymous and there is a need for lots of swap space allocations.
(scan_swap_map() is where kswapd spends "all" of its time in such
workloads)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/