Documentos de Académico
Documentos de Profesional
Documentos de Cultura
I. INTRODUCTION
250
World Academy of Science, Engineering and Technology 27 2007
III. THE COMPARISON OF API’S USING DIFFERENT CLUSTER All results are gathered by using four characters dictionary
TOOLS on two and four node clusters with character set A-Z and 0-9.
To compare two API’s PVM (Parallel Virtual Machine) and The hardware used for this purpose is:
LAM/MPI (Local Area Multi-computer /Message Passing Processor: Pentium 4 processors (2 GHz) on each node
Interface, the application is divided into three Phases i.e. Ram: 256MB on master node and 128MB on slave nodes
HDD: 40 GB on each node.
The Dictionary Creation Phase Application: It creates the
dictionary of specified length. It is one time process.
The Sorting Phase Application: It sorts all files related to A. OSCAR
dictionary. It is also one time process. OSCAR [4] is an open source cluster tool developed by
The Searching Phase Application: It is used to search the open cluster group. It is software that installed on different
multiple hashes from the dictionary files as many times as Linux based operating systems. It is not related to an OS. It is
needed. easy to downloads, install and configure. It consists of easy to
install and fully integrated bundle of software designed for
The three sub applications (dictionary creation, sorting and high performance cluster computing.
searching) are implemented using the two API’s named PVM
and LAM/MPI with three cluster tools (OSCAR, Rocks and From the table and figures below it is observed that in
Parallel Knoppix) to analyze which API is better with which OSCAR Cluster tool LAM/MPI works better as it finds hashes
cluster tool. For this multiple hashes of MD5 were searched in less time than that of PVM. So LAM/MPI is a better choice
and their searching time is calculated. while using with OSCAR.
TABLE I
OSCAR RESULTS FOR FOUR CHARACTERS DICTIONARY USING 2 AND 4 NODES
PVM LAM/MPI
4Char, 2Nodes 4Char,4Nodes 4Char, 2Nodes 4Char, 4Nodes
Dictionary Creation Time (sec) 11626.96895 6547.233515 11597.54207 6045.257304
Sorting Time (sec) 2161.382428 1426.19975 2124.546293 1365.344605
Hashes
5 0.085192 0.01799 0.103596 0.011243
10 0.193572 0.160329 0.176136 0.087434
15 0.313313 0.277333 0.201219 0.154762
20 0.68193 0.31612 0.223072 0.182779
Searching
Time (sec) 25 0.926807 0.655534 0.251057 0.248653
30 1.252807 0.810098 0.292722 0.289317
35 1.63352 1.066407 0.333038 0.315672
40 2.071061 1.241928 0.851814 0.772133
45 2.507061 1.492638 1.528491 1.334176
50 2.982934 1.848599 1.901674 1.796431
4 Charracters, 4 Charracters,
4 Nodes 4 Nodes 4 Characters,
4 Characters, LAM/MPI,
LAM/MPI, 2 Nodes
2 Nodes
6045.257304, 1365.344605, PVM,
PVM,
17% 19% 2161.382428,
11626.96895,
31%
33%
4 Characters, 4 Characters,
2 Nodes 2 Nodes
4 Charracters, 4 Charracters,
LAM/MPI, LAM/MPI,
4 Nodes 4 Nodes
11597.54207, 2124.546293,
PVM, PVM,
32%
6547.233515, 30% 1426.19975,
18% 20%
251
World Academy of Science, Engineering and Technology 27 2007
B. NPACI Rocks
OSCAR Searching Application
NPACI Rocks [5] distribution (hereinafter Rocks) was
3.5
developed at San Diego Supercomputing Centre. Along with
3 OSCAR, Rocks is said to be the most commonly used cluster
2.5
distribution. The installation suit of Rocks is in the form of
Rolls such as Base Roll, Kernel Roll and HPC rolls etc. One
T im e (S e c )
4 Characters, 2 Nodes
2 PVM disadvantage of Rocks is that it is related to operating system.
1.5 4 Charracters, 4 Nodes The Red Hat Kick start mechanism is used to install client
PVM
1 4 Characters, 2 Nodes nodes also called compute nodes.
LAM/MPI By analyzing the results using NPACI Rocks cluster tool, it
0.5 4 Charracters, 4 Nodes
LAM/MPI
is observed that LAM/MPI works better than PVM like it is
0 efficient than PVM in OSCAR.
5 10 15 20 25 30 35 40 45 50
Hashes
TABLE II
ROCKS RESULTS FOR FOUR CHARACTERS DICTIONARY USING 2 AND 4 NODES
PVM LAM/MPI
4Char, 2Nodes 4Char,4Nodes 4Char, 2Nodes 4Char, 4Nodes
Dictionary creation Time (sec)
13009.25411 5410.262474 9259.218346 5377.230585
Sorting Time (sec)
2289.685124 1332.78622 2097.126034 1305.597563
Hashes
5 0.041937 0.040106 0.055235 0.05926
10 0.044651 0.054146 0.069312 0.109876
15 0.066918 0.099698 0.085959 0.133579
20 0.104115 0.328301 0.114163 0.14077
Searching
25 0.273197 0.434129 0.147085 0.211389
Time (sec)
30 0.64441 0.843124 0.456817 0.131953
35 1.225285 1.048385 1.035961 0.227971
40 1.676079 1.090299 1.196487 0.301945
45 2.097876 1.153291 1.874351 1.14137
50 2.496298 1.160351 2.224394 1.15227
4 Charracters, 4 Charracters,
4 Nodes 4 Nodes
4 Characters,
LAM/MPI, LAM/MPI,
4 Characters, 2 Nodes
5377.230585, 1305.597563,
2 Nodes PVM,
16% 19%
PVM, 2289.685124,
13009.25411, 32%
4 Characters, 40%
2 Nodes
4 Characters,
LAM/MPI,
4 Charracter, 2 Nodes
9259.218346, 4 Charracter,
4 Nodes LAM/MPI,
28% 4 Nodes
PVM, 2097.126034,
PVM,
5410.262474, 30%
1332.78622,
16%
19%
252
World Academy of Science, Engineering and Technology 27 2007
4 Charracter, 4 Nodes
1.5
PVM of both LAM/MPI and PVM in searching application is nearly
4 Characters, 2 Nodes
LAM/MPI
same as searching time of both is nearly equal to each other.
1
4 Charracters, 4 Nodes Hence Parallel Knoppix is good for both API’s when
LAM/MPI
0.5 searching of hashes is used. For other two applications
0 LAM/MPI still produced better results.
5 10 15 20 25 30 35 40 45 50
Hashes
TABLE III
KNOPPIX RESULTS FOR FOUR CHARACTERS DICTIONARY USING 2 AND 4 NODES
PVM LAM/MPI
4Char, 2Nodes 4Char, 4Nodes 4Char, 2Nodes 4Char, 4Nodes
Dictionary creation Time (sec) 7968 4392 7394.42798 4042.565133
4 Charracters, 4 Charracters,
4 Nodes 4 Nodes
LAM/MPI, LAM/MPI, 4 Characters,
4 Characters, 2 Nodes
4042.565133, 84.254584,
2 Nodes PVM,
17% 17%
PVM, 7968, 167.011033,
34% 33%
4 Characters, 4 Characters,
2 Nodes 2 Nodes
4 Charracters, LAM/MPI, 4 Charracters,
LAM/MPI,
4 Nodes 166.421677, 4 Nodes
7394.42798,
33% PVM,
31% PVM, 4392,
87.985376,
18% 17%
253
World Academy of Science, Engineering and Technology 27 2007
4 Charracters, 4 Nodes
PVM
0.06
4 Characters, 2 Nodes
LAM/MPI A. PVM
0.04 4 Charracters, 4 Nodes By implementing application (the three phases) using PVM,
LAM/MPI
0.02 it is observed that, PVM shows better results by using with
Parallel Knoppix. NPACI Rocks comes at second and OSCAR
0 at the third place. From the table and figures below, it can be
5 10 15 20 25 30 35 40 45 50
Hashes
easily analyzed that PVM with Parallel Knoppix provides
excellent results than that of the other two clustering tools.
Fig. 10 Knoppix Searching Results
TABLE IV
PVM RESULTS
OSCAR Rocks Knoppix
4Char, 4Char, 4Char, 4Char, 4Char, 4Char,
2Nodes 4Nodes 2Nodes 4Nodes 2Nodes 4Nodes
Dictionary creation
11626.96895 6547.233515 13009.25 5410.262 7968 4392
time (sec)
Hashes
5 0.085192 0.01799 0.041937 0.040106 0.011716 0.007638
10 0.193572 0.160329 0.044651 0.054146 0.0249 0.014752
15 0.313313 0.277333 0.066918 0.099698 0.03351 0.023064
4Charracters,
4 Nodes
Rocks, 4 Characters, 4Charracters,
5410.262474, 2 Nodes 4 Nodes 4 Characters,
11% OSCAR, Rocks, 2 Nodes
11626.96895, 1332.78622, OSCAR,
4 Characters, 24% 18% 2161.382428,
2 Nodes 29%
Rocks,
13009.25411, 4 Charracters, 4 Characters,
27% 4 Nodes 2 Nodes 4 Charracters,
OSCAR, Rocks, 4 Characters, 2
4 Charracters, 4 Nodes
6547.233515, 2289.685124, Nodes
4 Nodes 4 Characters, Knoppix,
OSCAR,
13% 31%
Knoppix , 2 Nodes 167.011033, 1426.19975,
4 Charracters, 19%
4392, 9% Knoppix, 7968, 2%
4 Nodes
16% Knoppix,
87.985376, 1%
254
World Academy of Science, Engineering and Technology 27 2007
4 Characters, 2 Nodes
2
Knoppix choice for both LAM/MPI and PVM API’s.
1.5 4 Charracters, 4 Nodes
Knoppix
1 4 Characters, 2 Nodes
Rocks
0.5 4Charracters, 4 Nodes
Rocks
0
5 10 15 20 25 30 35 40 45 50
Hashes
TABLE V
LAM/MPI RESULTS
OSCAR Rocks Knoppix
4Char, 4Char, 4Char, 4Char, 4Char, 4Char,
2Nodes 4Nodes 2Nodes 4Nodes 2Nodes 4Nodes
Dictionary creation
time (sec) 11597.54207 6045.257304 9259.218 5377.231 7394.428 4042.565
Sorting Time (sec)
2124.546293 1365.344605 2097.126 1305.598 166.4217 84.25458
Hashes
5 0.103596 0.011243 0.055235 0.05926 0.010224 0.007302
10 0.176136 0.087434 0.069312 0.109876 0.019158 0.013489
15 0.201219 0.154762 0.085959 0.133579 0.027463 0.27452
Searching 20 0.223072 0.182779 0.114163 0.14077 0.04915 0.030749
Time 25 0.251057 0.248653 0.147085 0.211389 0.051786 0.033484
(sec)
30 0.292722 0.289317 0.456817 0.131953 0.059235 0.047573
35 0.333038 0.315672 1.035961 0.227971 0.073666 0.053172
40 0.851814 0.772133 1.196487 0.301945 0.088843 0.061406
45 1.528491 1.334176 1.874351 1.14137 0.100367 0.0674
50 1.901674 1.796431 2.224394 1.15227 0.112496 0.070624
4Charracter
4 Characters, 4Charracter
4 Nodes
2 Nodes 4 Nodes 4 Characters,
Rocks,
OSCAR, Rocks, 2 Nodes
5377.230585, 1305.597563, OSCAR,
12% 11597.54207,
4 Characters, 18% 2124.546293,
27%
2 Nodes 31%
Rocks, 4 Characters,
9259.218346, 2 Nodes
21% Rocks,
4Charracters,
2097.126034,
4 Nodes 4 Character 4Charracters,
4Charracters, 29%
4 Character OSCAR, 2 Nodes 4 Nodes
4 Nodes 6045.257304, OSCAR,
2 Nodes Knoppix,
Knoppix, 14% 4Charracters, 166.421677, 1365.344605,
Knoppix,
4042.565133, 4 Nodes 2% 19%
7394.42798,
9% Knoppix,
17%
84.254584, 1%
255
World Academy of Science, Engineering and Technology 27 2007
2.5
4 Characters, 2 Nodes
OSCAR
2 4Charracters, 4 Nodes
OSCAR
Time(Sec)
V. CONCLUSION
Application contain three different phases i.e. Dictionary
Creation, Sorting and Searching using the two API’s PVM
(Parallel Virtual Machine) and LAM/MPI (Local Area Multi-
computer /Message Passing Interface) with the help of three
different Clustering Tools i.e. OSCAR(Open Source Cluster
Application Resource), Parallel Knoppix and NPACI Rocks.
Analysis from the above results proves that LAM/MPI with
Parallel Knoppix can provide better solution in most of the
situations.
REFERENCES
[1] PVM and MPI are completely different by William Gropp and Ewing
Lusk, Mathematics and Computer Science Division Argonne National
laboratory.
[2] Dictionary Attack, http://en.wikipedia.org/wiki/Dictionary_attack
[3] MD5 Homepage (unofficial),
http://userpages.umbc.edu/~mabzug1/cs/md5/md5.html
[4] OSCAR, http://oscar.openclustergroup.org/
[5] NPACI Rocks, http://www.rocksclusters.org/
[6] ParallelKnoppix, http://idea.uab.es/mcreel/ParallelKnoppix/
256