Re: Re:migrating, load-balancing, 2.4.26, 2.4.24, Virtual PC
"Bastian Kemmler" <[email protected]>
| Newsgroups | gmane.linux.cluster.openmosix.general |
|---|---|
| Message-ID | <[email protected]> |
Thank's a lot. your perl script works. So there seems to be problem with migrating shell scripts. Unfortunately one other problem ist still left. In 1 out of 20 cases the script returns a memory error instead of returning results. (<- I added a line with print $i and changed the while statement to $i<100000) "Ian Latter" <[email protected]> schrieb im Newsbeitrag news:200604080211.k382Btb07035-JN3Mhpvxl8yNkZ0PL4EKFRtOlzBf9vR2VIuBW6zZ0iQ@public.gmane.org > > Hmm .. you might be fighting two problems here. > > Your test script looks like a shell script, but I don't > recognise the $((var+i)) operation .. I'm used to > $(( $var + $i )) ... In the testing I did for the build > paper, I found that my shell script's wouldn't auto- > migrate, which is why I resorted to Perl .. try this out; > > #!/usr/bin/perl > $i=1; > while($i) { > $i++; > } > > .. it should auto-migrate .. all things being equal. > > > > ----- Original Message ----- >>From: "Bastian Kemmler" <[email protected]> >>To: <openmosix-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> >>Subject: [openMosix-general] migrating, load-balancing, 2.4.26, 2.4.24, >>Virtual PC >>Date: Fri, 07 Apr 2006 18:31:58 +0200 >> >> Hi there. >> >> Maybe someone can help me with this setup. >> I installed openMosix 2.4.26 for i686 using VirtualPC 2004 for >> virtualization. Nodes are recognizing each other. openMosixView looks >> fine. >> Process locks are disabled and processes should migrate. master node's >> speed >> is manually set low. >> >> Unfortunately processes won't migrate. >> If started with mosrun -c they process extremely slow. While using about >> 60% >> on the main node (where the process was started) they use about 5% on a >> slave node. It seems as if there is still some capacity used on the main >> node. >> >> mosrun -<NodeID> works, but is also very slow with similar symptoms. >> >> I tried downgrading to 2.4.24 to use oMfs, but nothing changed. (mfs was >> mounted properly to /mfs -> nodes appeard) [also tried i368 because of >> Virtual PC] >> >> For testing my setup i used the following script-file: >> >> { >> var=0; >> for ((i=1;i<100000;i++));do var=$((var+i));done; >> echo $var; >> } & >> >> I also tried it without the echo, to minimize i/o-processes. >> >> Could this be a problem resulting from networkspeed? -> 100Mbit/s >> >> Thanks for spending some time on this matter, >> Bastian >> >> >> >> >> >> >> ------------------------------------------------------- >> 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 >> _______________________________________________ >> openMosix-general mailing list >> openMosix-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org >> https://lists.sourceforge.net/lists/listinfo/openmosix-general >> > > > -- > Ian Latter > Late night coder .. > http://midnightcode.org/ > > > > ------------------------------------------------------- > 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 ------------------------------------------------------- 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