Forum posts for conhost.exe

Python on windows - conhost.exe CPU usage

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?

View complete forum thread with replies

Other posts related to conhost.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

Why is conhost.exe being launched?
Python on windows - conhost.exe CPU usage
C# Multiple processes conhost.exe while using UDP
Rails server running in command prompt causing conhost.exe to crash
“plink.exe” hangs on Windows Server 2008 R2 , creates process “conhost.exe”
How to count number of strings in a list
Conhost process stays opens
How would I redirect console output for all applications a application I launch using a Process
Java - Get specific word from string [closed]
Get PID of conhost.exe associated to my console process

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.