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
Bochs Problems
- ChosenOreo
- Member
- Posts: 25
- Joined: Sun May 29, 2011 5:16 pm
- Location: Inside A Computer
- Contact:
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Bochs Problems
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?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
You know your OS is advanced when you stop using the Intel programming guide as a reference.
- ChosenOreo
- Member
- Posts: 25
- Joined: Sun May 29, 2011 5:16 pm
- Location: Inside A Computer
- Contact:
Re: Bochs Problems
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.
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.
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Bochs Problems
What is the clock synchronization method in your bochsrc?
You know your OS is advanced when you stop using the Intel programming guide as a reference.
- ChosenOreo
- Member
- Posts: 25
- Joined: Sun May 29, 2011 5:16 pm
- Location: Inside A Computer
- Contact:
Re: Bochs Problems
Currently it's at realtime, though other settings don't seem to fix it either.
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Bochs Problems
Try using none.ChosenOreo wrote:Currently it's at realtime, though other settings don't seem to fix it either.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
- ChosenOreo
- Member
- Posts: 25
- Joined: Sun May 29, 2011 5:16 pm
- Location: Inside A Computer
- Contact:
Re: Bochs Problems
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.omarrx024 wrote:Try using none.ChosenOreo wrote:Currently it's at realtime, though other settings don't seem to fix it either.
- xenos
- Member
- Posts: 1118
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Bochs Problems
Have you compared the Bochs log files in Windows and Linux? Are there any differences?