diff --git a/internal/script/scripts.go b/internal/script/scripts.go index 8242aa77..714bba7c 100644 --- a/internal/script/scripts.go +++ b/internal/script/scripts.go @@ -171,8 +171,8 @@ CORES_PER_SOCKET=$(lscpu | grep -E 'Core\(s\) per socket:' | head -1 | awk '{pri BUF_KB=$(( L3_KB * 2 / CORES_PER_SOCKET )) MIN_KB=102400 [ $BUF_KB -lt $MIN_KB ] && BUF_KB=$MIN_KB` - // for measuring L1 bandwidth and latency (half of L1D cache size minus 4KB) - mlcBufferSetupL1 = `L1D_KB=$(cache_size_kb L1D) + // for measuring L1 bandwidth and latency (half of L1d cache size minus 4KB) + mlcBufferSetupL1 = `L1D_KB=$(cache_size_kb L1d) BUF_KB=$(( L1D_KB / 2 - 4 )) [ $BUF_KB -lt 1 ] && BUF_KB=1` // for measuring L2 bandwidth and latency (half of L2 cache size)