>From ChangeLog:
- "Kevin P. Lawton" <[EMAIL PROTECTED]>: Thu Jun 7 11:26:47 EDT 2001
Moved PIC/PIT device emulation into the VM monitor. Definitely
a performance win. A lot less round trips to user space!
Other components could be moved to the VM monitor space also.
Some more instrumentation measurements; the number of requests
from monitor to user space:
Win95:
874354 MemMapIOWriteRequest
811118 TimeElapsed
299860 IOOutRequest
285533 MemMapIOReadRequest
123386 IOInRequest
10450 IOInBatchRequest
105 PrintBuf
Pragma Linux:
3029470 IOOutRequest
1448653 TimeElapsed
1032759 IOInRequest
27931 MemMapIOWriteRequest
38 PrintBuf
1 IOInBatchRequest
Win95 is taking a lot of MemMapIO hits (VGA framebuffer). That
can be remedied with smarter video handling (emulation of a better
card, special drivers, or moving part of the VGA emulation to the
monitor also). Both OSes are being hit with TimeElapsed request,
which comes from the timer framework in the VM monitor. This is
due to the ::periodic function in the keyboard emulation which
is receiving timer events every 100useconds, whether it needs it
or not. I'll squash that soon! Anyways, it's a lot easier to
move devices to the monitor, since the PIC/PIT are there now.
-Kevin
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton [EMAIL PROTECTED]
MandrakeSoft, Inc. Plex86 developer
http://www.linux-mandrake.com/ http://www.plex86.org/