From: Neal R. <ne...@ri...> - 2005-07-26 16:46:35
|
On Tue, 26 Jul 2005, Gustave T. Stresen-Reuter wrote: > One way to improve the speed of htdig on mac os x is to take advantage > of the AltiVec processor. I don't know anything about how to do this, > but in reading some documentation I ran across a document says that > "Existing C code written for serial execution" can take advantage of > the AltiVec processor. > > If someone on the list knows whether or not the htdig source contains > "C code written for serial execution" and can point me to it, I can > explore what would be needed to get the code to take advantage of the > processor. I'll look into this a bit more. HtDig does essentially nothing in parallel.. My initial look is that the code has to be instrumented to do much with altivec: http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.0/gcc/PowerPC-AltiVec-Built_002din-Functions.html There are definetly a few vector operations in htdig w.r.t word vectors, however they are not really the type of thing that AltiVec would help with at first glance. I would think some speedup could be had in htsearch during the index-row-hit summarization. Thanks -- Neal Richter Knowledgebase Developer RightNow Technologies, Inc. Customer Service for Every Web Site Office: 406-522-1485 |