Re: unusable migration daemon for 2.6

Evan Hisey <[email protected]>
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
Neils-
  hehe, Your at the same point we are at, that scheduler is a pain in
the arse. That said, the main difference we are at then is we have
done it in C.  Looks like the main differences are ours can be run on
both om and none om nodes. This lets it act as a remote cluster
monitors. And we took the apporach of letting a user agent track the
migrate process instead of the deamon.

Evan

On 9/21/05, Moshe Bar <[email protected]> wrote:
> Very cool, Niels!! I can't wait to try the migration daemon!
>
> Moshe
>
>
> On 9/21/05, Niels de Vos <[email protected]> wrote:
> > Hello everyone,
> >
> > Today I'be put up an anonymous svn-server for downloading my python
> > migration daemon. As I'm only having my laptop for testing at the
> > moment, the daemon is NOT TESTED AT ALL. My previous message was about
> > kernel-panics on manual migration. As long as I'm not able to migrate a
> > process by hand, I won't be testing migration-functionality... That far
> > for a migration-daemon :(
> >
> > The principle of the daemon is fairly easy. There is an agent and a
> > master implemented. The master should run on a
> > 'master-server' (processes are started from here), the agent runs on
> > dumb-nodes. Every second or so, the /proc-directory is checked for
> > processes to migrate. When a candidate is found, the master sends a
> > migration-request to a free (load <= 0.50 - for now) agent. The agent
> > checks the migration-request (containing all info from /proc/<pid>/stat
> > and more) and decides to accept/decline migration.
> >
> > An agent anounces itself every 30 seconds, by broadcasting it's
> > load-info and ip-address. The master keeps a list of migrated-processes,
> > agents, migratable-processes and things like that.
> >
> > The real schedulers are very simple, a port of the 2.4-om-scheduler is
> > planned. Because of the little documentation, this is not expected to be
> > done soon. For the moment the agent doesn't do any scheduling (always
> > accepts migrationrequests) and the master takes a random process to
> > migrate.
> >
> > If someone could have a look at this and make suggestions of some kind,
> > I would really be pleased.
> >
> > You can download my code like this:
> > $ svn co http://nixbox.nixpanic.net/repos/dev/om-userspace nixpanic-omus
> >
> > All scripts are than located in 'nixpanic-omus/trunk/src'. The
> > start-script is called 'omd', use it like './omd agent' or './omd
> > master'. All debugging is turned on by default, no cmd-line-options to
> > turn it off at the moment. As said before, it's only tested on
> > 'localhost' without really migrating anything...
> >
> > Thanks for reading this and sending a reply :)
> > Niels
> >
> > PS: As I'm in the middle of moving between appartments, I can only read
> > my email rarely; living in Berlin (GMT+1) earliest friday afternoon,
> > don't expect fast replies...sorry
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (GNU/Linux)
> >
> > iD8DBQBDMYfjUHyL+FAJ7UYRApoaAJsGFPqXICl33YH1zPZPJumTAfFXlACg9Sml
> > f2koMFEv8/FqVTjEmVGhY3o=
> > =B6eX
> > -----END PGP SIGNATURE-----
> >
> >
> >
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> openMosix-devel mailing list
> openMosix-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openmosix-devel
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
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.