[lxc-devel] lxc-console: batched read

Daniel Lezcano daniel.lezcano at free.fr
Tue Nov 17 10:00:36 UTC 2009


Michael Tokarev wrote:
> 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

Applied, thanks !




More information about the lxc-devel mailing list