From d83a3bf98cf88fc46224734b9358aeb555a91a92 Mon Sep 17 00:00:00 2001 From: Ertugrul Aypek Date: Mon, 27 Jan 2025 00:22:37 +0100 Subject: [PATCH] try 10% page lock chunk --- deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml | 8 +------- deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml | 8 +------- deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml | 8 +------- iris-mpc-common/src/config/mod.rs | 6 ------ 4 files changed, 3 insertions(+), 27 deletions(-) diff --git a/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml index bdd56b915..d700308e3 100644 --- a/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-0-stage/values-iris-mpc.yaml @@ -81,7 +81,7 @@ env: value: "64" - name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT - value: "true" + value: "false" - name: SMPC__LOAD_CHUNKS_BUFFER_SIZE value: "1024" @@ -89,12 +89,6 @@ env: - name: SMPC__LOAD_CHUNKS_STATIC_IPS value: "16" - - name: SMPC__TEST_LOAD_INTO_MEMORY - value: "false" - - - name: SMPC__PAGE_LOCK_AT_BEGINNING - value: "true" - - name: SMPC__PAGE_LOCK_CHUNK_PERCENTAGE value: "10" diff --git a/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml index 3d98651fb..11b7596e4 100644 --- a/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-1-stage/values-iris-mpc.yaml @@ -81,19 +81,13 @@ env: value: "64" - name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT - value: "true" + value: "false" - name: SMPC__LOAD_CHUNKS_BUFFER_SIZE value: "1024" - name: SMPC__LOAD_CHUNKS_STATIC_IPS value: "16" - - - name: SMPC__TEST_LOAD_INTO_MEMORY - value: "false" - - - name: SMPC__PAGE_LOCK_AT_BEGINNING - value: "true" - name: SMPC__PAGE_LOCK_CHUNK_PERCENTAGE value: "10" diff --git a/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml b/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml index 76fe01db0..54a17fc26 100644 --- a/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml +++ b/deploy/stage/smpcv2-2-stage/values-iris-mpc.yaml @@ -81,19 +81,13 @@ env: value: "64" - name: SMPC__LOAD_CHUNKS_DEFAULT_CLIENT - value: "true" + value: "false" - name: SMPC__LOAD_CHUNKS_BUFFER_SIZE value: "1024" - name: SMPC__LOAD_CHUNKS_STATIC_IPS value: "16" - - - name: SMPC__TEST_LOAD_INTO_MEMORY - value: "false" - - - name: SMPC__PAGE_LOCK_AT_BEGINNING - value: "true" - name: SMPC__PAGE_LOCK_CHUNK_PERCENTAGE value: "10" diff --git a/iris-mpc-common/src/config/mod.rs b/iris-mpc-common/src/config/mod.rs index 2cae06ee9..e6f7068b1 100644 --- a/iris-mpc-common/src/config/mod.rs +++ b/iris-mpc-common/src/config/mod.rs @@ -121,12 +121,6 @@ pub struct Config { #[serde(default)] pub load_chunks_static_ips: usize, - #[serde(default)] - pub test_load_into_memory: bool, - - #[serde(default)] - pub page_lock_at_beginning: bool, - /// Percentage of the chunk size to page lock at each iteration /// Must be a positive integer between [1-100] /// The first memory chunk will be page-locked before starting db & s3