1
1
openmpi/orte/mca/gpr/replica/transition_layer
George Bosilca 6afbc02052 The idea behind this patch is to decrease the number of strcmp used in the replica
by using a small hash function before doing the strcmp. The hask key for each
registry entry is computed when it is added to the registry. When we're doing a
query, instead of comparing the 2 strings we first check if the hash key match,
and if they do match then we compare the 2 strings in order to make sure we
eliminate collisions from our answers.

There is some benefit in terms of performance. It's hardly visible for few
processes, but it start showing up when the number of processes increase. In fact
the number of strcmp in the trace file drastically decrease. The main reason it
works well, is because most of the keys start with basically the same chars
(such as orte-blahblah) which transform the strcmp on a loop over few chars.

This commit was SVN r14791.
2007-05-29 18:40:07 +00:00
..
gpr_replica_dict_tl.c The idea behind this patch is to decrease the number of strcmp used in the replica 2007-05-29 18:40:07 +00:00
gpr_replica_segment_tl.c Fix a potential bug in the registry where it didn't fully check a segment's name when searching for it. Will have to verify that this doesn't break other things. 2006-11-23 04:17:37 +00:00
gpr_replica_tl.h With the branch to 1.2 made.... 2006-08-15 19:54:10 +00:00
Makefile.am Update the copyright notices for IU and UTK. 2005-11-05 19:57:48 +00:00