For fun, here's some instrumentation data from a Win95 boot / shutdown.
(if you look in your kernel log file, you'll probably find plex86
is spewing it when you close the VM using the current CVS code).
So about 1million round trips from the VM to user space are
occurring.
vmMCount[10] = 883253 MemMapIOWriteRequest
vmMCount[7] = 317894 IOOutRequest
vmMCount[8] = 288446 MemMapIOReadRequest
vmMCount[5] = 123540 IOInRequest
vmMCount[18] = 10450 IOInBatchRequest
vmMCount[14] = 115 TimeElapsed
vmMCount[12] = 106 PrintBuf
Just a little incentive to make smarter video support soon.
As the VM efficiency gets better (it's coming along nicely),
this video handling inefficiency will appear relatively
worse.
I can upload the hardware component of the VGA emulation to
the VM monitor space, though that VGA latch logic still blows.
A nice clean linear frame buffer, that'd be sweet.
-Kevin
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/