vt: increase buffer size

This patch increases the buffer sizes in vt(1) to reduce
the latency from the roundtrip between terminal and cpu
server.
This commit is contained in:
Xiao-Yong Jin 2022-05-11 04:02:57 +00:00 committed by Ori Bernstein
parent e614e819e3
commit 0aa0096066
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ struct Consstate{
extern Consstate cs[];
#define INSET 2
#define BUFS 32
#define BUFS 256
#define HISTSIZ (64*1024) /* number of history characters */
#define BSIZE (8*1024)

View file

@ -311,7 +311,7 @@ threadmain(int argc, char **argv)
sysfatal("initkeyboard failed: %r");
hc[0] = chancreate(sizeof(char*), 256); /* input to host */
hc[1] = chancreate(sizeof(Rune*), 8); /* output from host */
hc[1] = chancreate(sizeof(Rune*), 256); /* output from host */
cs->raw = rflag;