Will multithreading make python less popular?
steve at holdenweb.com
Fri Feb 20 03:36:07 CET 2009
> On Feb 19, 7:18 pm, Steve Holden <st... at holdenweb.com> wrote:
>> Mensanator wrote:
>>> On Feb 19, 2:18 pm, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
>>> When I run I Python program, the Windows task manager shows both
>>> cores running (usually a 60/40 split) for an overall 50% usage.
>>> What am I actually seeing? If Python only uses one of the cores,
>>> why do both light up? Is everything much more complicated (due to
>>> OS scheduling, etc.) than the simple explanations of GIL?
>> You are seeing your Python program running on one core, and the usual
>> Windows crap keeping the other one busy.
> I thought of that, but the usual Windows crap accounts for only a
> couple percent prior to the Python program running. Christian Heimes
> answer sounds more realistic.
> But what do I know?
At least as much as I do, probably.
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list