Browse Source

Raise the maximum number of threads

Ian Goldberg 11 months ago
parent
commit
0b32698ca2
2 changed files with 4 additions and 4 deletions
  1. 2 2
      sparta/Cargo.toml
  2. 2 2
      sparta/makefile

+ 2 - 2
sparta/Cargo.toml

@@ -13,7 +13,7 @@ rayon = "1.10.0"
 [package.metadata.fortanix-sgx]
 stack-size=0x400000
 heap-size=0x100000000
-threads=49
+threads=81
 
 [profile.release]
-debug = true
+debug = true

+ 2 - 2
sparta/makefile

@@ -8,7 +8,7 @@ SIGNATURE = $(BUILD_DIR)/$(NAME).sig
 
 HEAP_SIZE = 0x100000000
 STACK_SIZE = 0x400000
-MAX_THREADS = 9
+MAX_THREADS = 81
 
 .PHONY: build run clean
 
@@ -25,4 +25,4 @@ run: $(TARGET)
 	ftxsgx-runner $(TARGET) --help
 
 clean:
-	rm -rf $(BUILD_DIR)
+	rm -rf $(BUILD_DIR)