RE: touch_cache() only touches two thirds

2006-11-17 Thread dean gaudet
On Fri, 17 Nov 2006, dean gaudet wrote: > another pointer chase arranged to fill the L1 (or L2) using many many > pages. i.e. suppose i wanted to traverse 32KiB L1 with 64B cache lines > then i'd allocate 512 pages and put one line on each page (pages ordered > randomly), but colour them so

RE: touch_cache() only touches two thirds

2006-11-17 Thread dean gaudet
On Fri, 10 Nov 2006, Bela Lubkin wrote: > The corrected code in > covers the full cache range. Granted that modern CPUs may be able to track > multiple simultaneous cache access streams: how many such streams are they > likely to be able to

RE: touch_cache() only touches two thirds

2006-11-17 Thread dean gaudet
On Fri, 10 Nov 2006, Bela Lubkin wrote: The corrected code in http://bugzilla.kernel.org/show_bug.cgi?id=7476#c4 covers the full cache range. Granted that modern CPUs may be able to track multiple simultaneous cache access streams: how many such streams are they likely to be able to follow

RE: touch_cache() only touches two thirds

2006-11-17 Thread dean gaudet
On Fri, 17 Nov 2006, dean gaudet wrote: another pointer chase arranged to fill the L1 (or L2) using many many pages. i.e. suppose i wanted to traverse 32KiB L1 with 64B cache lines then i'd allocate 512 pages and put one line on each page (pages ordered randomly), but colour them so they