python 2.7 - Octo.py only using between 0% and 3% of my CPUs -


i have been running python octo.py script word counting/author on series of files. script works -- tried on limited set of data , getting correct results.

but when run on complete data set takes forever. running on windows xp laptop dual core 2.33 ghz , 2 gb ram.

i opened cpu usage , shows processors running @ 0%-3% of maximum.

what can force octo.py utilize more cpu?

thanks.

as application isn't cpu intensive, slow disk turns out bottleneck. old 5200 rpm laptop hard drives slow, which, in addition fragmentation , low ram (which impacts disk caching), make reading slow. in turns slows down processing , yields low cpu usage. can try defragmenting, compressing input files (as become smaller in disk size, processing speed increase) or other means of improving io.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -