Re: Profile

"Joe R. Jah" <[email protected]>
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Sat, 17 Apr 2004, Lachlan Andrew wrote:

> Date: Sat, 17 Apr 2004 10:04:10 +1000
> From: Lachlan Andrew <[email protected]>
> To: Joe R. Jah <[email protected]>
> Cc: [email protected]
> Subject: Re: Profile
> 
> Greetings Joe / all,
> 
> Another question:  Were you using compression?  Phillippe Andersson 

compression_level: 6

> reported a reduction from 30 hours to 22 hours by removing 
> compression.  Since compression should reduce the disk access, it 

I have done different compression levels in the past, but I haven't
observed any appreciable difference in indexing time.  I believe high
compressing in memory is less expensive than the extra writing to disk.

> seems that it should be taking about 30% of the CPU time.  However, 
> the profile didn't report any time in compression (or the DB code at 
> all, as far as I could see).

Machines are different; I believe:

Slow_CPU/Fast_Disk:   Lower  compression -> Faster index
Fast_CPU/Slow_Disk:   Higher compression -> Faster index

Regards,

Joe
-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        [email protected]



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.