🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bionet.software.srs
Article #191

SRS indexing in parallel on distributed machines

#191
From: ICHIYANAGI Yoshihiro
Date: Thu, 09 Nov 2000 00:00
72 lines
4160 bytes
Dear all,

Now we're using SRS for Bio-mirror to provide bio-mirror
databases with search function.
For SRS we have to make indices of each Databases.
It takes a long time to make indices such as DDBJ(48GB),
GENBANK(39GB) and EMBL(37GB) and so on.
We need a powerful computer with many CPU to parallelize
indexing quickly. It's very expensive.
So I tried to make programs, which can make SRS
Databanks' indices concurrently with distributed machines
using Java, HORB(a kind of Java Object Request Broker)
, NFS, Perl and shell scripts on RedHat 6.2.

I know that SRS has a function, which can parallelize indexing
for a multiprocessor machine. I've made use of this function
(parallelType:files in icarus files) to create proto-type system
on distributed computers. Then got pretty good results.

At this time I tried to make DDBJNEW indices with four Linux
machines. There are 102 files of DDBJNEW on our ftp site.
And also I tried to make Genbank indices with three Linux 
machines. There are 75 files of Genbank on our ftp site.

These results were as follows:
--------------------------------------------------------------
DDBJNEW:
Linux No.1:1CPU(PIII 733MHz) mem512M created 28 files' indices
Linux No.2:1CPU(PIII 600MHz) mem512M created 38 files' indices
Linux No.3:1CPU(Celron500MHz)mem128M created 29 files' indices
Linux No.4:1CPU(PIII 450MHz) mem128M created  7 files' indices
--------------------------------------------------------------                                     
total 102 files

Indexing with parallel on four machines (TIME) : 03 hours 52 minutes
Marging indices on Linux No.1           (TIME) : 00 hours 50 minutes
--------------------------------------------------------------
Genbank:
Linux No.1:                          created 25 files' indices
Linux No.2:                          created 28 files' indices
Linux No.3:                          created 22 files' indices
--------------------------------------------------------------
                                       total 75 files

Indexing with parallel on three machines (TIME) : 03 hours 54 minutes
Marging indices on Linux No.1            (TIME) : 00 hours 39 minutes

No.1 is SRS web server, No.2 is ftp and web server,
No.3 is mail server and No.4 is just my PC.
No.1 is destination server and others are remote agent machines
to make indexing in this system.

Before it took more than 13 hours on No.1 machine.

For remote agent machines destination server must export
DATABANKS data directories to be indexed, and $SRSICA, $SRSDB 
configuration files to make indexing with same configurations,
and $SRSINX directory to abbreviate gathering distributed indices
using mount. These are a little mess to set up.

Please give me some advices,if you're interested in this subject,
and you know similar approaches as mine.

Wishes,
ichan
---------------------------
ICHIYANAGI Yoshihiro
Institute of Microbiology,
Chinese Academy of Sciences


---
Technical Details
Message-ID: <3A0A8C39.50E1BFC4@im.ac.cn>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa6ec,ff93980a7e0dc9bf,start
X-Google-Attributes: gidfa6ec,public
From: ichan-Yoshihiro@im.ac.cn (ICHIYANAGI Yoshihiro)
Subject: SRS indexing in parallel on distributed machines
Date: 2000/11/09
Message-ID: <3A0A8C39.50E1BFC4@im.ac.cn>
X-Deja-AN: 691602175
Content-Transfer-Encoding: 7bit
Approved: BIOSCI Approval Key <biosci-approval-key@net.bio.net>
X-Accept-Language: ja, en
X-To: bio-srs@net.bio.net
Content-Type: text/plain; charset=iso-2022-jp
X-Received: from bio-mirror.im.ac.cn (HELO im.ac.cn) (159.226.80.8) by mail.im.ac.cn with SMTP; 9 Nov 2000 11:33:12 -0000
X-Complaints-To: news@net.bio.net
X-Trace: niobium.hgmp.mrc.ac.uk 973776322 22361 193.62.192.80 (9 Nov 2000 13:25:22 GMT)
Organization: IM, CAS
X-Auth: PGPMoose V1.1 PGP bionet.software.srs iQCVAwUAOgqlwKCIqsWvyF5FAQF40gP5AWG0Hpb05GVBe9kFDZlTMLVlxU8+tBcC XOJrzNzxkIClL6KzmaRulhdf1CtJz8UexldKx6nck+LfyivAvFG8R1/3G/3DY6Yl QhYXghGaFoRK4Q3EsRkfJHawSmAbNrQbvfsagnusYBRMOrGtzCEp80AW3M2q2GDd U8PqVn59xDs= =ZoUI
Mime-Version: 1.0
NNTP-Posting-Date: 9 Nov 2000 13:25:22 GMT
Newsgroups: bionet.software.srs