[PTLsim-devel] [PATCH] Add prefetches for smtcore aswell.
Stephan Diestelhorst
Tue Sep 11 11:16:08 EDT 2007
Hi list,
in an older patch I had added prefetches to the ooocore.
This patch does the same thing for the smtcore.
It is essentially the same thing (and thus based on Matt's proposal), but
there are some differences:
In the smtcore, prefetches may miss in the TLB. Two options here: Resolve the
TLB miss by walking the pagetables or simply drop it.
There is some discussion in the literature, but I think if we assume that
prefetches should speed up future memory accesses to the same location, we
should fill the TLB on a miss.
And at least my Athlon X2 box does exactly that.
Patch attached, Signed-off by Stephan.Diestelhorst at amd.com
Cheers,
Stephan
--
Stephan Diestelhorst, AMD Operating System Research Center
stephan.diestelhorst at amd.com, Tel. (AMD: 8-4903)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptlsim_prefetch_for_smtcore.diff
Type: text/x-diff
Size: 8036 bytes
Desc: not available
Url : https://ptlsim.org/pipermail/ptlsim-devel/attachments/20070911/cb6ac509/attachment.bin
More information about the PTLsim-devel mailing list