diff options
author | Chen, Kenneth W <kenneth.w.chen@intel.com> | 2006-10-13 17:08:13 (GMT) |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-02-06 23:04:48 (GMT) |
commit | 00b65985fb2fc542b855b03fcda0d0f2bab4f442 (patch) | |
tree | dc9372aced10184945862b9adf0848da3e0e946f /net/packet | |
parent | a0776ec8e97bf109e7d973d09fc3e1814eb32bfb (diff) | |
download | linux-fsl-qoriq-00b65985fb2fc542b855b03fcda0d0f2bab4f442.tar.xz |
[IA64] relax per-cpu TLB requirement to DTC
Instead of pinning per-cpu TLB into a DTR, use DTC. This will free up
one TLB entry for application, or even kernel if access pattern to
per-cpu data area has high temporal locality.
Since per-cpu is mapped at the top of region 7 address, we just need to
add special case in alt_dtlb_miss. The physical address of per-cpu data
is already conveniently stored in IA64_KR(PER_CPU_DATA). Latency for
alt_dtlb_miss is not affected as we can hide all the latency. It was
measured that alt_dtlb_miss handler has 23 cycles latency before and
after the patch.
The performance effect is massive for applications that put lots of tlb
pressure on CPU. Workload environment like database online transaction
processing or application uses tera-byte of memory would benefit the most.
Measurement with industry standard database benchmark shown an upward
of 1.6% gain. While smaller workloads like cpu, java also showing small
improvement.
Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions