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




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ht://Dig Developer mailing list:
htdig-dev@lists.sourceforge.net
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to