Page 1 of 1
Bochs Problems
Posted: Thu Sep 15, 2016 8:17 pm
by ChosenOreo
Hi,
For some reason, running bochs on linux on my desktop results in the simulation running absurdly slow. I mean, really absurdly. It takes several seconds for the "Booting from floppy" message to appear, and text is printed slow enough that there is a noticeable delay from one letter to the next.
On windows on the same machine, the same operation takes a fraction of a second.
I've never run into this problem on any machine I've had before.
Anyone else run into any problems like that?
- Adrian
Re: Bochs Problems
Posted: Thu Sep 15, 2016 9:56 pm
by BrightLight
ChosenOreo wrote:Hi,
For some reason, running bochs on linux on my desktop results in the simulation running absurdly slow. I mean, really absurdly. It takes several seconds for the "Booting from floppy" message to appear, and text is printed slow enough that there is a noticeable delay from one letter to the next.
On windows on the same machine, the same operation takes a fraction of a second.
I've never run into this problem on any machine I've had before.
Anyone else run into any problems like that?
- Adrian
That's very odd. Can you attach your bochsrc configuration? (Most likely bochsrc.txt on your Linux machine, bochsrc.bxrc on your Windows machine.) You might want to check the executed instructions per second as well as the clock sychronization method. BTW, what is the physical CPU? How fast is the core and how many cores do you have?
Re: Bochs Problems
Posted: Sat Sep 17, 2016 6:54 pm
by ChosenOreo
My CPU is an i7-5820K @ 3.30GHz, with 6 physical cores and 12 logical cores.
My bochsrc is the same for both Linux and Windows, the only things I have in it are the boot device, its source, and enabling of boch's magic breakpoint.
Regardless of the IPS value, Windows still runs bochs much faster than Linux.
Re: Bochs Problems
Posted: Sat Sep 17, 2016 7:00 pm
by BrightLight
What is the clock synchronization method in your bochsrc?
Re: Bochs Problems
Posted: Sat Sep 17, 2016 7:05 pm
by ChosenOreo
Currently it's at realtime, though other settings don't seem to fix it either.
Re: Bochs Problems
Posted: Sat Sep 17, 2016 8:03 pm
by BrightLight
ChosenOreo wrote:Currently it's at realtime, though other settings don't seem to fix it either.
Try using none.
Re: Bochs Problems
Posted: Sat Sep 17, 2016 8:38 pm
by ChosenOreo
omarrx024 wrote:ChosenOreo wrote:Currently it's at realtime, though other settings don't seem to fix it either.
Try using none.
I have tried none, as well as slowdown. Other settings for that do not fix the problem. I have tried several different cpu commands, none have made it any faster. I have recompiled bochs from source with various different configure options, and none seem to fix it. I have done all of the things I have previously said on different distributions on this computer as well. It just refuses to run at any normal speed with any configuration options on any linux distribution that I install on my computer.
Re: Bochs Problems
Posted: Sun Sep 18, 2016 6:22 am
by xenos
Have you compared the Bochs log files in Windows and Linux? Are there any differences?