On Thu, Dec 14, 2000 at 01:14:43AM +0000, Bart Oldeman wrote:
> On Wed, 13 Dec 2000, Kevin Lawton wrote:
> > With user-code prescanning off, code which is doing number
> > crunching etc runs at near native speed. :^)
> 
> Looks very promising! I've done some benchmarking as well:
> 
> You cannot really just turn prescanning off for this kind of 
> code. Generating a page fault for each read/write in VGA memory is too
> expensive as well. The fastest I know of is to emulate the CPU for a
> while after a PF, what is what we're doing in dosemu: making it almost as
> slow as Bochs for graphically intensive code.

So we're going to need three modes: full-native, SBE, and full-emulated.  We
can go full-native if the guest is in v86 or we're running in ring3 without
hope of going out without hope of getting out without a fault.  We should go
full-emulated when we're taking a lot of faults.  Otherwise, we want SBE mode.

Does this mean porting all of the emulation code from bochs or the dynamic
translation stuff?

            -=- James
-- 
midendian: She never sleeps.
mousetrout: But I do.  I just regret it after I wake up.

AIM: theorbtwo homepage: http://www.rtweb.net/theorb/
ICBM: 40:04:15.100 N, 76:18:53.165 W

Reply via email to