note
SuicideJunkie
<p>It sounds strange that you want to multithread for more speed, but then turn around and want to use less CPU % (so it takes longer again?).</p><p>Do you have busy loops wasting CPU cycles or something? If so, use a sleep or a <c>select(undef,undef,undef,0.01</c> to reduce the polling rate and drop the CPU usage to <1%.</p><p>You can try a nap of a few milliseconds per iteration on your big long running loops as well if they're hogging resources, but if the loop is doing productive things, letting it finish is usually a good idea ;).</p>
1147869
1147873