fpos
fpos copied to clipboard
100% CPU usage?
What steps will reproduce the problem?
1. Run qumu with the iso that came with the download
Well using the FPOS iso makes qemu use 100% of the CPU; and having a
default linux running through qumu uses 0%... so there's probably something
wrong
What version of the product are you using? On what operating system?
Using the latest qemu on Windows XP sp3, default fpos iso.
It's a pretty interesting start so far!
Original issue reported on code.google.com by [email protected] on 23 Dec 2008 at 9:29
yeah, well.this probably doesnt make use of the hlt instruction.try running dos
without that and see where it gets.should be about 100%.
hlt instruction says 'if im doing nothing, don't run at full speed'.
Original comment by [email protected] on 16 Feb 2009 at 3:01
edit:
use of delay() without hlt or nop in it will do that as well.
check the svn on assembla.
Original comment by [email protected] on 19 Feb 2009 at 8:36
I agree with using or making a "sleep" or delay is not so great... function the
OS uses to know said thread isn't needing CPU time this moment... so other
threads can be swaped in. Often there is a parameter like how many milliseconds
the thread wishs to stay "sharing the CPU" versus running... Calling like
sleep(0) should allow other threads to get a chance but the next chance
available, our thread wants CPU again.
Just a thought.
P.S. I'm a fan of this project ... I'm a FreePascal fan for sure but a few
pascal OS projects but this one is my favorite so far! :)
--Jason P Sage
Original comment by [email protected] on 10 Oct 2011 at 1:16