VOGONS


First post, by Gene Wirchenko

User metadata
Rank Member
Rank
Member

I have been experiementing with cycles on my system to try to get my program running as fast as possible. I thought that if I set cycles high enough, DOSBox would start getting slower, but I am not seeing this.

What I have noticed at higher cycles settings:

1) Text I/O is somewhat jerky and sometimes, not all of a character is displayed with the rest. (The top is not initially displayed.)

2) There have been a few hiccups on my YouTube music playing while running these tests, but not much, and I do not know that these are connected. (I would have expected it to get bad at the very highest settings, but it did not so I suspect these may be coincidental.)

What do these results mean?

cycles, execution time (seconds)
20000,92
30000,60
40000,45
50000,37
60000,32
70000,32
80000,32
90000,32
100000,32
200000,32
500000,32
1000000,31
2000000,31

Sincerely,

Gene Wirchenko

Reply 1 of 1, by Tertz

User metadata
Rank Oldbie
Rank
Oldbie

Modern CPUs may work with >1 mil cycles in dynamic mode.
Set 3 000 000 cycles with core=dynamic, or 300 000 with core=normal and run in DOSBox someting like Quake in 800x600 or higher. Then have a look to: 1) how game works (should to be worser than with cycles=max), 2) what is % of CPU core's load (DOSBox uses only 1 of them) - during gaming (look for 2 min) in DOSBox there should not be situations when core's load reaches 100%, and if it reaches then you need less cycles.
Also you may take part in DOSBox benchmark of your computer.

DOSBox CPU Benchmark
Yamaha YMF7x4 Guide