Skip to main content.
home | support | download

Back to List Archive

Re: A swish-e performance question

From: Hup Chen <hup(at)not-real.addall.com>
Date: Tue Oct 14 2003 - 18:10:58 GMT
Hi Jose,

> There is a 2GB limit index file. So I think that you will reach the limit
> of swish easily. But, the solution must be easy. You can hack
> the source the code and make it 64 bit. The trick is easy.
> Look for fopen, fclose, fseek, fwrite... routines in the code, mainly
> in db_native.c
>
> I have seen this question before. Anyone in the list has made
> anything? If not, and if I find some time I will try to add this feature.
> Now, I am fighting against the PHP module.
>

  That's very kind of you if you can do it.  I wrote a script to convert
almost all int to long (include expat), no problem in compilation(with
LFS support), but still can't fix it.


> Another option is having several index files. Each one with less of
> 2GB and search all of them at once.

  I have performance issue by using several index files.  The performance
dropped up to 40-50% in my last test.


---
Hup
Technical Manager
AddALL.com

Search.  Compare.  Save.

http://www.addall.com  (new book search)
http://used.addall.com/  (used book search)
http://www.amusicarea.com  (CDs)
http://www.amoviearea.com  (DVD & VHS)
http://www.amagarea.com  (magazine subscriptions)
Received on Tue Oct 14 18:11:11 2003