lkml.org 
[lkml]   [2011]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 0/3] kvm tool: Serial emulation overhaul
On Sun, 11 Dec 2011, Ingo Molnar wrote:
> In theory a kvm driven serial console should be extremely fast,
> much faster than a real serial console, basically as fast as a
> local console. Yet this still does not seem to be the case.
>
> In fact even ssh-ing in to a box over Wifi and running the above
> top session is undistinguishable from top running in a local
> console. So IMO it cannot be virtualization overhead - there
> must still be some delay or serious lack of buffering somewhere.

Well, the difference between ssh and serial is, that ssh can pack 1.5k
worth of data into one frame, while serial has to send it
piecewise. And the emulation has to trap into kvm tool for each tx
byte, which doesnt help either. We cannot do much with buffering on
the kvm tool side as we have no clue how much consecutive data will
come in. That's why there is a virtual console, which has the
disadvantage that you cant see the early boot messages.

Thanks,

tglx



\
 
 \ /
  Last update: 2011-12-11 15:07    [W:0.089 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site