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
Post a Comment