Re: getting the default node speed

Peter Cordes <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.general
Message-ID <[email protected]>
On Thu, Feb 23, 2006 at 11:41:21AM +0100, Michal Szymanski wrote:
> Hi,
> 
> I have noticed that after manual change of speed of any node, this speed
> gets saved somehow and even after restarting OM service it is still
> changed. And I could not find how to get the default speed for a node.
> Any ideas?

 Restarting OM doesn't touch /proc/hpc/admin/speed, so yeah, it stays set
the way you set it.  The default speed is the one in /proc/hpc/admin/speed
after a reboot, as long as your init scripts don't touch it (including the
OM init script that will set it if you have a NODESPEED= line in
/etc/default/openmosix).

 If you want restarting oM to reset the speed, you could boot up and note
the speed value, and put that into NODESPEED.

 It might be nice if there was a way to reset it to the measured default, or
at least a userspace version of the measuring code...  AFAIK neither exists.

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@cor , des.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BC


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.