LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SPeed of archive search

[ILUG] SPeed of archive search

Niall O Broin niall at magicgoeshere.com
Thu Jun 22 23:03:10 IST 2000


I hate to bitch, because I don't contribute to it in any way, but does
anyone else think searches of the mail archives are incredibly slow ? I
don't know how much text there is, but even if there averaged 100 mails per
day, at an average size of 2 k, for the last three years (all of these
figures are an overstatement, that I do know) that makes for ~200M of text.
How long can it take to search 200M of text ? I just tried using agrep on a
two word OR search on a 191M file (it was handy) on a 400MHz AMD K6-III and
I got a time result of 

7.93user 12.79system 0:33.75elapsed 61%CPU


Interestingly, when I tried with a file 1/6 the size (same text, ie big file
= 6 of small file) the time output was


0.82user 0.25system 0:01.08elapsed 98%CPU

I was watching top in another window and the machine was basically
quiescent. Shouldn't linear text searches have a linear time relationship to
the filesize, once the files are big enough ?


Regards,


Niall





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell