Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292383 - dev-lang/python-2.6 - ridiculous CPU usage. Using more CPU than GCC FFS.
Summary: dev-lang/python-2.6 - ridiculous CPU usage. Using more CPU than GCC FFS.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: IA64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-08 13:39 UTC by Martyn Braithwaite
Modified: 2009-11-10 01:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martyn Braithwaite 2009-11-08 13:39:57 UTC
Since updating to Python2.6 and running python-updater emerging has taken 2x as long. This is because rediculous amounts of cpu are being devoured by python. Right now 80% of one of my cores is being used by 1 single "Python2.6" thread. During compilation, gcc uses huge quantities of CPU this is expected, but python is using up more cpu than GCC. This should not happen. It's massively increasing compilation times.

Reproducible: Always

Steps to Reproduce:
1.Install Python2.6
2.run python-updater
3.emerge something

Actual Results:  
between 30%-80% cpu usage for each python thread. Usually two threads. Emerge world takes 50-100% longer to compile.

Expected Results:  
Overhead from emerge should only be about 5%. Python certainly shouldn't be eating up more cpu than gcc is!!!

Do >not< use python. Use a faster language. Python adds too much overhead to a system when it's maxed out using gcc anyway.

Purge python out of emerge completely for god sakes so we can do some compiling here.
Comment 1 Rafał Mużyło 2009-11-08 16:33:55 UTC
Somehow, I suspect you're misinterpreting whatever results 
you're getting.
Also, without seeing some logs, discussion would be quite pointless.