tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CPUs and processes not evenly assigned?!



rhialto%falu.nl@localhost (Rhialto) writes:

>It could be slightly more efficient (no div instructions to divide by
>100, but shifts to divide by 256) when the second one isn't expressed in
>the range [0, 100) but [0, 255). Also it feels like there is a mismatch of
>precision of the divided-by-100 result when using 8 bits for the
>fraction (only 100 out of the 256 possible fractions are used).

It runs every 300ms and nobody knows yet wether that heuristic is any good.
So any kind of optimization is a bit early...

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index