Newsgroups: comp.parallel.pvm
From: tw41770@vub.ac.be (GODERIS KAREL)
Subject: Re: hi_speed in pvm_config
Organization: Brussels Free Universities (VUB/ULB), Belgium
Date: 13 Jan 1995 09:26:54 GMT
Message-ID: <3f5h0u$ht8@rc1.vub.ac.be>

Chui Chee Kong (cheekong@iss.nus.sg) wrote:
: I am using PVM version 3.3.6.

: In pvm_config(int *nhost, int *narch, struct hostinfo **hostp)

: the user guide mentioned that
: hostp.hi_speed is an integer returning relative speed of this host.
: Default value is 1000. (relative to what?)

: so I have the following machines inn my virtual configuration:
: a 4 processors SGI Onyx, a Sun Sparc 2 and a Sun Sparc 20.
: the hostp.hi_speed for these machines is 1000. 
: will appreciate if someone can tell me how is this figure derived.


the purpose of that speed_integer is that the programmer can set it, and
use it in load balancing algorithms. That '1000' is just a default value,
pvm doesn't calculate it. Pvm sets 1000 as default for every machine in
the config. How the different machines are related to each other is up to
the programmer. for example, you can set 1000 for a Sparc20, and 500 for a
sparc5 or something alike.

Using the speed integer in your app, you can for exampel decide to run a
process on the fastest machine available,...

--

 Karel Goderis
 Free University Brussels - Applied Sciences.



