diff mbox series

arm-bsp/fvp-base: improve FVP performance

Message ID 20240415150735.3443599-1-ross.burton@arm.com
State New
Headers show
Series arm-bsp/fvp-base: improve FVP performance | expand

Commit Message

Ross Burton April 15, 2024, 3:07 p.m. UTC
Increase the number of TLB entries from 0x80 to 0x400 and disable the
checking of memory attributes.  In our CI, this makes testimage run in
576s instead of 803s.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm-bsp/conf/machine/fvp-base.conf | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Jon Mason April 16, 2024, 2:17 a.m. UTC | #1
On Mon, 15 Apr 2024 15:07:35 +0000, Ross Burton wrote:
> Increase the number of TLB entries from 0x80 to 0x400 and disable the
> checking of memory attributes.  In our CI, this makes testimage run in
> 576s instead of 803s.
> 
> 

Applied, thanks!

[1/1] arm-bsp/fvp-base: improve FVP performance
      commit: 04187be11dc4bfc898d411c1a40c2a1e9f4ff925

Best regards,
diff mbox series

Patch

diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf
index 39ef38be..f621cd8b 100644
--- a/meta-arm-bsp/conf/machine/fvp-base.conf
+++ b/meta-arm-bsp/conf/machine/fvp-base.conf
@@ -47,6 +47,10 @@  FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
 FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] = "2222=22"
 FVP_CONFIG[bp.virtio_rng.enabled] ?= "1"
 FVP_CONFIG[cache_state_modelled] ?= "0"
+FVP_CONFIG[cluster0.check_memory_attributes] ?= "0"
+FVP_CONFIG[cluster1.check_memory_attributes] ?= "0"
+FVP_CONFIG[cluster0.stage12_tlb_size] ?= "1024"
+FVP_CONFIG[cluster1.stage12_tlb_size] ?= "1024"
 FVP_CONFIG[bp.secureflashloader.fname] ?= "bl1-fvp.bin"
 FVP_CONFIG[bp.flashloader0.fname] ?= "fip-fvp.bin"
 FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"