Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

HimemSX, another HimemX variant (Announce)

posted by Zyzzle, 24.10.2020, 10:50

> > I'm
> > going to configure one of my other systems with 8 GB, just for the
> purposes
> > of seeing if HIMEMSX runs as slowly on them, also... I'll report back of
> > course.
>
> That's a good idea.
>
> I uploaded my XMS
> tools, which I use to test Himem(S)X, to GitHub. They already know
> HimemSX. With tool XMSCopy you can directly copy from file/EMB to file/EMB,
> avoiding RDISKSX.

My problem seems solved, with a caveat.

The trouble was RayeR's MTRRLFBE utility which enabled Linear Framebuffer writecombine caching to speed up VESA graphics by ~2500% on my system. Upon disabling Writecombining cache to LFB frame, according to MTRRLFBE lfb WC /d
Host machine CPU vendor: GenuineIntel, ID: 306D4h

VESA 3.0 Intel(R) HSW Mobile/Desktop Graphics Chipset Accelerated VGA BIOS [32704 kB]
N/A
N/A
N/A
LFB address: B0000000h
MTRR #0: base = 000000000h ( 0MB), mask = F80000000h ( 2048MB), WB, used
MTRR #1: base = 09D000000h ( 2512MB), mask = FFF000000h ( 16MB), UC, used
MTRR #2: base = 09E000000h ( 2528MB), mask = FFE000000h ( 32MB), UC, used
MTRR #3: base = 0A0000000h ( 2560MB), mask = FE0000000h ( 512MB), UC, unused
MTRR #4: base = 0C0000000h ( 3072MB), mask = FC0000000h ( 1024MB), UC, used
MTRR #5: base = 0B0000000h ( 2816MB), mask = FFF000000h ( 16MB), WC, used
MTRR #6: base = 080000000h ( 2048MB), mask = FE0000000h ( 512MB), WB, used
MTRR #7: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #8: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
MTRR #9: base = 000000000h ( 0MB), mask = 000000000h ( 0MB), UC, unused
Setting MTRR #5 to desired area...
MTRR area B0000000-B0FFFFFFh was set to mode: WC

My HIMEMSX speed was reduced to ~50 mb/sec, but when I disable WC on the LFB, I got over 2000 mb/sec:
file size: 767578 kB
time for read: 395 ms
time for write: 361 ms

using rdisksx

This compares to:
file size: 767578 kB
time for read: 313 ms
time for write: 277 ms

for normal RDISK with normal XMS calls, which is about 20.8% slower, as confirmed by your initial tests.

I should have known LFB conflicts somehow with HIMEMSX, and so we can't speed up VESA graphics with XMS memory > 4 GB available and utilized.

Perhaps RayeR can explain this further...

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 261 users online (0 registered, 261 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum