diff options
author | Anton Blanchard <anton@samba.org> | 2009-10-11 21:47:34 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-10-14 16:58:37 +1100 |
commit | b6dcde5c74d1cbf16da37202a14fa187dce6e4c0 (patch) | |
tree | 8d99ceec9f8473d171bea309614d0c08e9440db2 /drivers/usb/host/ehci.h | |
parent | 8d8997f34e66124577db52f6e7ee10ab5f869e07 (diff) |
powerpc: Fix hypervisor TLB batching
Profiling of a page fault scalability microbenchmark shows flush_hash_range
is not calling the batch hpte invalidate hcall (H_BULK_REMOVE).
It turns out we have a duplicate firmware feature for hcall-bulk and the
current setup code stops after finding the first match. This meant we never
batch and always do individual invalidates.
The patch below removes the duplicate and shifts FW_FEATURE_CMO to close
the gap. With the patch applied the single threaded page fault rate improves
from 217169 to 238755 per second on a POWER5 test box, a 10% improvement.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/usb/host/ehci.h')
0 files changed, 0 insertions, 0 deletions