From: Andre Noll <maan@systemlinux.org>
Date: Mon, 4 Jan 2010 06:28:12 +0000 (+0100)
Subject: stdin: Increase buffer size.
X-Git-Tag: v0.4.2~206
X-Git-Url: https://git.tuebingen.mpg.de/?a=commitdiff_plain;h=c5cbf3fc1fb7a76ab48424581b5c212e1b66f9e4;p=paraslash.git

stdin: Increase buffer size.

This seems to make a big difference, the buffer size should definitely
be configurable.
---

diff --git a/stdin.c b/stdin.c
index d978ee9a..c8ee808f 100644
--- a/stdin.c
+++ b/stdin.c
@@ -101,7 +101,7 @@ static void stdin_post_select(struct sched *s, struct task *t)
 		t->error = -E_STDIN_EOF;
 }
 
-#define STDIN_INPUT_BUFFER_SIZE 4000
+#define STDIN_INPUT_BUFFER_SIZE (1024 * 32)
 static void stdin_post_select_btr(struct sched *s, struct task *t)
 {
 	struct stdin_task *sit = container_of(t, struct stdin_task, task);