From 5ea9ff5ad8dac288b906a2177d52b3b871fb8627 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 1 Apr 2021 19:00:46 +0200 Subject: [PATCH] machines: add cache sizes --- garlic/machines.nix | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/garlic/machines.nix b/garlic/machines.nix index 4015112..7b0167a 100644 --- a/garlic/machines.nix +++ b/garlic/machines.nix @@ -12,10 +12,10 @@ march = "skylake-avx512"; mtune = "skylake-avx512"; hw = { - # The rev attribute attemps to capture the hardware configuration of the - # machine, and will rebuild all experiments if it changed. It only holds - # the timestamp at the current time, representing the HW configuration at - # that moment. + # The rev attribute attemps to capture the hardware + # configuration of the machine, and will rebuild all experiments + # if it changed. It only holds the timestamp at the current + # time, representing the HW configuration at that moment. rev = 1614253003; # Node and socket details @@ -23,6 +23,14 @@ cpusPerSocket = 24; socketsPerNode = 2; cachelineBytes = 64; + + # Cache sizes + cacheSizeKB = { + L1d = 32; + L1i = 32; + L2 = 1024; + L3 = 33792; + }; }; };