Last active
July 21, 2016 21:20
-
-
Save jduck/91f2fd1e8f17f57c625dc4f4756278e5 to your computer and use it in GitHub Desktop.
Make iovyroot more efficient...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 9bea387245e24c62fc203e7d57a10368acad5c6d | |
Author: Joshua J. Drake <[email protected]> | |
Date: Fri May 27 17:21:50 2016 -0500 | |
Reduce SENDTHREADS | |
diff --git a/jni/main.c b/jni/main.c | |
index 62784b8..716db5c 100644 | |
--- a/jni/main.c | |
+++ b/jni/main.c | |
@@ -23,7 +23,7 @@ | |
//pipe buffers are seperated in pages | |
#define PIPESZ (4096 * 32) | |
#define IOVECS (512) | |
-#define SENDTHREADS (1000) | |
+#define SENDTHREADS 32 // (1000) | |
#define MMAP_ADDR ((void*)0x40000000) | |
#define MMAP_SIZE (PAGE_SIZE * 2) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment