Huh? Why would a strings of up(*) to 4096 bytes not fit into a cache?
If your cache is exactly the right size, but then has a few more
addresses to cache, a perfect LRU will evict everything just before
it's used. On a set associative cache, just a few words will be
evicted before you get cache hits again!
4k copy and an 8k cache would at the very least mean that it would fit.
Anybody with less than 8k cache raise their hands!
Roger.
(*) (you say you reduce the length every time through the loop)
-- If it's there and you can see it, it's REAL |___R.E.Wolff@BitWizard.nl | If it's there and you can't see it, it's TRANSPARENT | Tel: +31-15-2137555 | If it's not there and you can see it, it's VIRTUAL |__FAX:_+31-15-2138217 | If it's not there and you can't see it, it's GONE! -- Roy Wilks, 1983 |_____|- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu