VOGONS

Common searches


disk read/write performance issue

Topic actions

First post, by Guest

User metadata

I've gotten dosbox to run with some older games, but I'm currently trying to get it to work with qmodem using the virtual modem/tcp interface.

It runs just fine initially, dialing and connecting without issue. The performance hit comes when I try to load a script into qmodem for running.

It's 64kb roughly and is constantly being read by qmodem. This is where I can only guess dosbox has issues, since even on my other games it would slow down horribly when loading or saving games.

What's going on, and is there a way to fix or tune it? I'm running DOSbox 0.63 on windows 2000 pro with all the service packs.

Thanks in advance.

Reply 2 of 27, by Guest

User metadata

As I mentioned above, other games would have performance issues too - once they went to read in or write to save games. After that since it's all in memory the system just grooves right along.

I did some testing, anytime read or write to a folder mounted as a disk on dosbox it grinds to a crawl. I tried using UGE, copying files into/out of the folder while dosbox was running, etc.

It seems that ANY disk activity causes it to slow down, which is why I'm curious if there's actually a problem or if I just haven't used a mount switch or something to properly align it with performance?

All the program tells you how to do is 'mount c c:\dosboxdrive'.

Reply 3 of 27, by `Moe`

User metadata
Rank Oldbie
Rank
Oldbie

Do you have enough memory (physical)? One thing I could imagine is bad disk performance due to low memory (dosbox easily takes 100MB depending on your settings).

Reply 5 of 27, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

Windows won't let it get to max because it will start using your hard drive as "virtual memory". As a result, your computer and disk access will both become slower and slower as programs request more and more RAM from the OS.

512 should be enough though as long as you aren't running much of anything else in the background.

Reply 8 of 27, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

The PF monitor in Task Manager is not what you think. Get an actual PF monitor. You'll probably be suprised how little is used.

How To Ask Questions The Smart Way
Make your games work offline

Reply 9 of 27, by Guest

User metadata

Lets stay focused here ;] I/O problems! Anyone have any clue how to improve read/write to the mounted disk/folder?

Has no one else noticed this sort of thing? Test it like this: startup dosbox and run anything you want that will continue running - then drop some files into a folder that's mounted in dosbox. On my system (all of them actually, both xp and 2k) the program running will just about grind to a halt - and it's not even the one accessing the disk.

If you have something that does access the disk itself (qmodem for scripts, UGE for game files, just about anything for save games) it will really crawl when trying to get a file - the larger the file the worse it will be. IE loading a 5kb game file for Master of Magic isn't too bad, but qmodem reading in that 64kb script I told about just kills it. takes over 10 seconds (no matter how many cycles I give dosbox) to get anywhere at all.

Reply 10 of 27, by Guest

User metadata

No, I haven't noticed that. I don't tend to move files in and out a lot, although I do use game data viewers for Wiz6&7 while playing them in DOSBox and haven't noticed any such problems. I usually have some disk-intensive apps running in the background too.

Do you have the latest drivers installed for your motherboard chipset? (assuming you're using an on-board disk controller)

Reply 12 of 27, by Guest

User metadata

My laptop (2k) only has basic windows motherboard drivers installed. My desktop though (xp) has the specific via chipset drivers installed and is tuned from ground up to run games and be a high performance environment.

If anything - the laptop should run slow and the desktop should be fine - but both have the same performance issue.

Reply 13 of 27, by HunterZ

User metadata
Rank l33t++
Rank
l33t++

VIA sucks. Every VIA-based motherboard I've had for the last half-dozen years has had performance and stability issues even with the latest Hyperion 4-in-1 drivers installed.

Also, make sure you're using the 4-in-1's (with the IDE filter driver) and not the IDE miniport driver that is available separately. That totally killed performance on my last computer, although it took me a while to discover it.

You don't have any on-access virus scanning going on do you?

Also, you should try snagging a recent CVS version of DOSBox. I don't have a link handy unfortunately.

Reply 14 of 27, by Guest

User metadata

Well it's not like I have a choice of what's on my motherboard. I've never had bad experience with VIA anyways *shrug*.

Latest 4-in-1 drivers are the ones installed, no virus software installed (safe surfing practices and a decent firewall between me and the net has kept me virus free for 5+ years - and yes I do check every so often, I just don't leave it installed).

I'll try a cvs version and see if anything different happens.

Reply 18 of 27, by Guest

User metadata

I don't think that this is a dosbox problem. You said that if you copy files into a mounted directory then you experience problems. The thing is DosBox doesn't really recognize new files until you refresh it's cache.

Have you chkdsk/defragedd your HD lately? I've noticed a fragmented/corrupted MFT can really slow down performance.

Also have you loaded up perfmon and monitored HD activity?

Reply 19 of 27, by Guest

User metadata

If I copy anything in there, edit anything in there (whether from inside dosbox with a program or outside it directly editing a file in the folder), or reading/writing anything in there.

I'll defrag and try again but am skeptical of it. Will also take a look at perfmon. Thanks for the suggestion.