Re: Running bochs is pegging one CPU core

Thomson <[email protected]> Sat, 28 Mar 2015 11:38:57 +0800
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <CAPvC9U551JMD+fTiLg12z16XejGuFfKZYoqfd-37v1dysfRkKw@mail.gmail.com>
Thanks. This works.  I looked at the doc for slowdown option in
http://bochs.sourceforge.net/doc/docbook/user/bochsrc.html but cannot get
it (see below) clearly. What's meaning and especially for reproducibility
and host-time correlation. Sorry for the stupid and simple question.


> *clock: sync=[none|slowdown|realtime|both], time0=[timeValue|local|utc]*This
> defines the method how to synchronize the Bochs internal time with
> realtime. With the value 'none' the Bochs time relies on the IPS value and
> no host time synchronization is used. The 'slowdown' method sacrifices
> performance to preserve reproducibility while allowing host time
> correlation. The 'realtime' method sacrifices reproducibility to preserve
> performance and host-time correlation. It is possible to enable both
> synchronization methods.


On Sat, Mar 28, 2015 at 5:42 AM, Stanislav <[email protected]> wrote:

> This is already existing.
>
> Read about slowdown timer – it does exact what you show, it will reduce
> host CPU load by Bochs if you don’t need too much emulation speed.
>
>
>
> *From:* Thomson [mailto:[email protected]]
> *Sent:* Tuesday, March 24, 2015 11:24 AM
> *To:* [email protected]
> *Subject:* [Bochs-developers] Running bochs is pegging one CPU core
>
>
>
> Hi all,
>
>
>
> I understand that the CPU interpretation loop of bochs consumes runs
> forever to do its work, so pegging one core makes sense, but is there some
> way to make it consume less CPU, like sleep a very little time between
> instructions. This is at the cost of lower speed, but it is important on
> some platform like notebook.
>
>
>
> Thanks
>
> Thomson
>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers