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 Japheth Homepage, Germany (South), 22.10.2020, 06:39
(edited by Japheth on 22.10.2020, 08:42)

> I'm super impressed, but is the slowdown the expected behavior?

A significant slowdown is expected, but 100 MB/sec is definitely slower than expected.

The XMS block move command has an "interrupt window", that is, the block is copied in 8 kB chunks. For each such chunk it's necessary to enter/leave protected-mode and paging (setting GDTR, CR0, CR3 and CR4 registers ). That's indeed some overhead.

However, an increase of the "chunk" size to, let's say, 32kB will probably not help much, because I don't think that RDISK calls the XMS block move with such large sizes.

What can be done is to implement the new features into JemmEx. Inside the v86-monitor, there's no need to enter/leave protected-mode and setting/resetting the control registers. Then one could compare the speeds.

[edit]
I did some tests on my own and cannot confirm your results. I get a slowdown of 20% for RDISKSX compared to RDISK ( 60ms vs 48ms ) for writing a file of 180 MB. Writing it to HDD needs 6000ms, to SSD 2500ms. I used a self-written DPMI32 app to copy the file, Smartdrv was loaded.
[/edit]

---
MS-DOS forever!

 

Complete thread:

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