VOGONS


First post, by TeaRex

User metadata
Rank Member
Rank
Member

I have found that DOSBox with core=dynamic cycles=max will run DOOM's "doom -timedemo demo1" faster than real MS-DOS 7.10 (i.e. a stripped down Win98 that boots into DOS) on my system. (E8400, nVidia 8600, 3GB RAM, Vista 32bit).

I get roughly 990 realtics in DOSBox and about 1145 realtics in MS-DOS. This is both with sound in DOOM disabled, since I don't have a DOS compatible sound card.

Good job guys (and gals if any)!

But I'm wondering how this can be... is the Core2Duo so much slower at running in real mode than in protected mode (note I'm not loading EMM386 in DOS)? Or is the PCI-E bus running slower when Windows is not booted?

tearex

Reply 1 of 4, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Protected mode is generally supposed to be slower than real mode, actually.

Reply 2 of 4, by TeaRex

User metadata
Rank Member
Rank
Member
Jorpho wrote:

Protected mode is generally supposed to be slower than real mode, actually.

Certainly was back in the 286/386 era, but I wonder if that's still the case today when the vast majority of x86 CPUs spend most of their time executing 32-bit protected mode code. It would make sense to treat real mode as the special case in CPU design and mostly optimize for good protected mode performance.

tearex

Reply 3 of 4, by ninjalj

User metadata
Rank Newbie
Rank
Newbie

I suspect it may have to do with memory settings, i.e. setting video memory to write-combining. Or maybe it's timer accuracy.

Reply 4 of 4, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

Video write combining DOES NOTHING to do with memory speeds.

Intel i7 5960X
Gigabye GA-X99-Gaming 5
8 GB DDR4 (2100)
8 GB GeForce GTX 1070 G1 Gaming (Gigabyte)