|
@@ -1,3 +1,19 @@
|
|
|
#!/bin/bash
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
-source run-linux.sh plaintext $(($(nproc)*3/10))
|
|
|
|
|
|
|
+if [ "$(nproc)" -eq "80" ]
|
|
|
|
|
+then
|
|
|
|
|
+ threadCount=24
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+if [ "$(nproc)" -eq "4" ]
|
|
|
|
|
+then
|
|
|
|
|
+ threadCount=2
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+if [ -z "$threadCount" ]
|
|
|
|
|
+then
|
|
|
|
|
+ echo "Invalid thread count ($(nproc)), using default"
|
|
|
|
|
+ threadCount=2
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
|
|
+source run-linux.sh plaintext $threadCount
|