From 14bc2b8e0f8e436011f2b682f1086b7c0c29ed6a Mon Sep 17 00:00:00 2001 From: temple3x Date: Mon, 14 Feb 2022 14:06:16 +0800 Subject: [PATCH] tools/calibrate: minTSCDeltaLinux: 640 -> 800 --- tools/calibrate/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/calibrate/main.go b/tools/calibrate/main.go index d4b01e1..f26f5e2 100644 --- a/tools/calibrate/main.go +++ b/tools/calibrate/main.go @@ -25,7 +25,7 @@ const ( // Actually it depends on tsc crystal frequency & speed of CPU. I don't think userspace fast clock is meaningful on a slow machine. // For a machine with good enough hardware, the min tsc delta mustn't be big. minTSCDeltaMac int64 = 800 - minTSCDeltaLinux int64 = 640 // System clock's speed is faster on Linux. + minTSCDeltaLinux int64 = 800 // System clock's speed is faster on Linux. triesToFindClosest = 256 // If too small, hard to ensure getting minTSCDelta. minSamples = 32 )