VOGONS

Common searches


First post, by jonlau

User metadata
Rank Newbie
Rank
Newbie

Hi,

It seems no performance gain running smartdrv....

Anbody any experience is using it or any other caching program ?

Regards,

Jon

Reply 4 of 9, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

nope
caching programs will probably slow dosbox down as the host caching is much more efficient. (the caches are much larger!)

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 9, by MrFlibble

User metadata
Rank Oldbie
Rank
Oldbie

Sorry for bumping this, but it seems more appropriate that to start a new thread.

Not long ago I was running a game through DOSBox that had it absolutely necessary to access SmartDrive to work, because apparently the developers had thought that this would optimize performance on existing hardware back then. So I had to obtain a copy of smartdrv.exe and put it where the game could find it.

Some other games, including Bethesda's Arena and Daggerfall, are also apparently tailored to work with disk caching programmes like SmartDrive (at least, this is what the respective manuals say). In the view of this, I'd like to ask whether a programme that runs in DOSBox could actually get a performance gain from the presence of a disk caching utility if the developers originally had it in mind that the programme in question should utilize the capability of disk caching? Or will the disk caching programme slow down DOSBox nonetheless, nullifying the potential speed increase?

DOS Games Archive | Free open source games | RGB Classic Games

Reply 6 of 9, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

How about Qbix' answer just above your post? Also which game are you refering to?

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 7 of 9, by MrFlibble

User metadata
Rank Oldbie
Rank
Oldbie
Dominus wrote:

How about Qbix' answer just above your post?

It doesn't explain if the games that were originally supposed to perform better with a disk caching utility will do so when DOSBox uses host OS caching, and I don't have enough knowledge of the matter to figure it out on my own.

The game that has the use of SmartDrive hard-coded into it is Fallen Heroes. Also, the old Daggerfall demo v0.1 calls SmartDrive from the BATfile that launches the demo, and the retail versions of Arena and Daggerfall mention the use of disk caching in their respective manuals.

DOS Games Archive | Free open source games | RGB Classic Games

Reply 8 of 9, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The shareware version of Fallen Heroes runs fine here in DOSBox 0.74 with default settings. DOSBox crashes with auto cycles, but fixed cycles (I used 20K) works.

One of the game's startup batch files loads SMARTDRV.EXE for a 2MB cache, and then the main executable periodically calls SMARTDRV.EXE to flush the cache during the game. The game developers apparently thought the game performed better with the cache on real DOS systems, but AFAICT it works fine in DOSBox without the cache. I put a dummy SMARTDRV.EXE in the path that does nothing because otherwise there is an understandable "bad command or filename" error message that messes up the screen, but that's only cosmetic.

I think drive cache is never going to be "absolutely necessary" for any game in DOSBox, although some trivial workaround like I did for Fallen Heroes might be in order in such cases. As to whether there's any difference in performance to use DOS disk cache software inside DOSBox, I suspect it's negligible (and possibly counterproductive, as Qbix suggests), but can't be sure without trying it both ways.