I'm running a Python script on Windows, and I've noticed that even though the Python process takes ~8% CPU, the associated conhost.exe
process takes ~14%.
Why is this so? How come such a large part of the CPU consumption is in the conhost and not in the Python process?
Is there a way to reduce this CPU consumption? (besides optimizing the code of course)
UPDATE 1: Win7 64bit, Python 2.6.6
UPDATE 2: The Python program uses a C++ package via SWIG Python bindings. The C++ package (quickfix) does I/O with the network quite a bit (1), it also prints to the console (2). The Python code prints to several files (3). Which if these three should be suspect?