[lxc-devel] lxc-console: batched read
Michael Tokarev
mjt at tls.msk.ru
Sat Nov 14 13:22:27 UTC 2009
Currently, lxc-console is quite too slow, because
it is doing I/O one char at a time. For input,
which most likely goes from keyboard, it is not a
problem really. But for output (from container)
it is quite time-consuming and slow.
Instead of reading one-char-at-a-time, let's read
buffer-at-a-time. The attached patch does just that.
Thanks!
/mjt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lxc-console-read-batch.diff
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20091114/ca26595c/attachment.bin>
More information about the lxc-devel
mailing list