namazu-ml(ring)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris is too slow.



At 2:37 PM +0900 3/11/99, Sugiura Shiro wrote:
> すぎうらしろうです。
> 
> cpu0: SUNW,UltraSPARC-IIi (upaid 0 impl 0x12 ver 0x13 clock 300 MHz)
> SunOS Release 5.6 Version Generic_105181-03 [UNIX(R) System V Release 4.0]
> Copyright (c) 1983-1997, Sun Microsystems, Inc.
> mem = 262144K (0x10000000)
> 
> というマシンと、
> 
> FreeBSD 2.2.7-RELEASE #0: Fri Feb 26 08:56:06 JST 1999
> CPU: Pentium II (300.67-MHz 686-class CPU)
> real memory  = 67108864 (65536K bytes)
> 
> というマシンでnamazuを使ってRFCをindex化しようとしているのですが異様に
> 遅くて困っています。<URL:http://www2.umin.u-tokyo.ac.jp/internet/rfc/>
> から、rfc*.txtをもって来て1600個でトータル100MByte強です。
> 
> 遅いと言うのは2つあって、1つは FreeBSD 側の方が現在CPU TIMEで22Hほど作
> 業をしているのですが、まだ500件ほどしかindex化できていません。mknmzは
> 50MByteほどしかメモリは消費していないようです。
> Perl 5.005_02 と、namazu v1.4.0.0-beta-4 を --without-japanese で使っ
> ています。

古いバージョンで日本語のウェブ・ページをインデックス
したものですが,

[Base]
Date: Sun Feb 28 19:06:43 1999
Added   Files: 87,516 files
Deleted Files: 0 files
Updated Files: 0 files
Total   Files: 87,516 files
Size: 325,076,400 bytes
Keywords: 1,207,561 words
Wakati: /usr/local/bin/kakasi -ieuc -oeuc -w
Perl Version: 5.00404
Namazu Version: 1.3.0.1-beta-1
System: linux
Time: 59652 sec.

です(PPro 150MHz x 2, Linux 2.0).

英語なら分かち書き and 漢字コード変換をしない分速くなると
思いますが.


メモリが少ないので,遅いのでは?
mknmz の中の $ON_MEMORY_MAX を減らしたらどうでしょうか?



// Kenji Suzuki <kenji@xxxxxxxxxxxxx>
   日本イソターネット協会 EDI部会
   http://www.isoternet.org/bukai/edi/