View previous topic :: View next topic |
Author |
Message |
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Wed Jan 08, 2003 1:44 am Post subject: |
|
|
I finally got it working; one of the most important things to keep in mind, I think, is to be patient the first time you run; I was convinced that the thing wasn't working when it was in fact downloading the program files.
I have the same problem as hook running zeta_progress.sh though; and I'm definitely in /opt/zetagrid when I do so. The graphical progress meter works well, though.
Does zetagrid neet be run as root? That's what I've been doing. _________________ Man must shape his tools lest they shape him. |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Wed Jan 08, 2003 2:08 am Post subject: |
|
|
Sorry for being particularly thick this morning, but how do I commit the work units that I've done so far to the new common "Michael Imhof" individual user? Just edit the cfg, is that all? Will it automatically move the things on record to the other ID? And how do I delete the other entry? |
|
Back to top |
|
|
bakkus n00b
Joined: 17 Dec 2002 Posts: 33
|
Posted: Wed Jan 08, 2003 3:00 am Post subject: |
|
|
hmm.. I guess I'm just too impatient (referring to Carlos' post), but still..
when executing zeta.sh (as root, and in /opt/zetagrid) it just says
"nohup: appending output to nohup.out", and stops there.
I'm constantly monitoring my CPU usage, and it's currently about 99,9& idle.. Did I go wrong somewhere?
Just emerge zetagrid, edit zeta.cfg, abd then in /opt/zetagrid/ run ./zeta.sh right?
Progress-thingie only gives "Exception in thread "main" java.lang.NoClassDefFoundError: zeta/ShowProgress" |
|
Back to top |
|
|
plate Bodhisattva
Joined: 25 Jul 2002 Posts: 1663 Location: Berlin
|
Posted: Wed Jan 08, 2003 3:29 am Post subject: |
|
|
Go ahead and check nohup.out. If it has stopped, you'll see the error message in there, and you can start the script again. As Tantive said, it's normal to get the error at first. Just try it again. As long as the command 'java' does something on your machine, you should be fine. |
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Wed Jan 08, 2003 3:34 am Post subject: |
|
|
bakkus wrote: | hmm.. I guess I'm just too impatient (referring to Carlos' post), but still..
when executing zeta.sh (as root, and in /opt/zetagrid) it just says
"nohup: appending output to nohup.out", and stops there. | Do "cat nohup.out" to see what it's telling you; you may have to change the port the program uses, or some other setting.
plate wrote: | Sorry for being particularly thick this morning, but how do I commit the work units that I've done so far to the new common "Michael Imhof" individual user? Just edit the cfg, is that all? Will it automatically move the things on record to the other ID? And how do I delete the other entry? | From my (not that there's a lot of it) experience with other distributed computing projects, I don't think there's a way to transfer work units and such from user to user. I'm not sure, though. _________________ Man must shape his tools lest they shape him. |
|
Back to top |
|
|
gianbeos n00b
Joined: 16 Jun 2002 Posts: 7 Location: Turin
|
Posted: Thu Jan 09, 2003 1:45 pm Post subject: |
|
|
bakkus wrote: | hmm.. I guess I'm just too impatient (referring to Carlos' post), but still..
when executing zeta.sh (as root, and in /opt/zetagrid) it just says
"nohup: appending output to nohup.out", and stops there.
I'm constantly monitoring my CPU usage, and it's currently about 99,9& idle.. Did I go wrong somewhere? |
Try, removing the command nohup from the script zeta.sh;
the command should look like this Code: | nice -19 java -Xmx128m ....... |
|
|
Back to top |
|
|
Tantive Retired Dev
Joined: 14 May 2002 Posts: 72
|
Posted: Thu Jan 09, 2003 2:43 pm Post subject: |
|
|
It's not possible to transfer already computed (finished) work units from user to user.
By changing your setup in zeta.cfg any finished work units will be counted for the new user.
It's takes some time to show up in the stats for this user, so be patient!
I noticed we are currently on rank #12 in the team stats, but it seems there are many people in the group who are not contributing as "Michael Imhof" --> please change your config!
Currently there are only 2 users (beside from me) that are doing so.
The team contains 10 members overall.
TaT |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jan 09, 2003 5:42 pm Post subject: |
|
|
Tantive wrote: |
name=Michael Imhof
eMail=tantive@gentoo.org
team=Gentoo Linux Users Everywhere
as we are trying to win some money as single user!
All won money will be used for gentoo only!
|
Hi
I'd like to help out Gentoo users with this (I'm currently running seti aswell -- but willing to switch to ZetaGrid, seems more useful) but I have some questions first ..
1. Is it legal to run with different users in ZetaGrid, "pretending" we're just one ? (isn't that what the teams are for ?)
2. Is it fair vs. the other users ?
3. Is it installable on FreeBSD? I have a P3 500Mhz that could run it 24/7 aswell as my Athlon XP 2000+ (which is running Gentoo).
Thanks in advance.
PS: Any notes from Daniel Robbins on this for us to read ? |
|
Back to top |
|
|
Tantive Retired Dev
Joined: 14 May 2002 Posts: 72
|
Posted: Thu Jan 09, 2003 7:42 pm Post subject: |
|
|
Hi!
point 1):
Have a look at http://www.zetagrid.net/zeta/prizes.html
I think it says nowhere that this is not allowed.
Please note that this site speaks of "top 100 producers" and not users.
point 2):
I don't know if it's fair, but if you look at the stats on http://www.zetagrid.net/servlet/service/statistic you can see that there are users that are using up to 150 computers. Who can afford 150 computers as a private person?
point 3):
On http://www.zetagrid.net/zeta/downloads.html there is no software available for FreeBSD.
But the sources are available (if you are good in C/C++ you may have luck and be able to compile them, from the gentoo team no one manged to do that )
Daniel Robbins and Seemant Kulleen know about this project and have nothing against it.
When we manage to get/build a version of zetagrid that
a) Is compiled using gcc3 and
b) a little bit more optimized (the current version uses arch=i486)
I think there will be an anouncement on the mailing lists.
Who of you is using the zetagrid ebuild on a gcc3 system with no gcc2 installed? (Did anyone manage this?)
TaT |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jan 09, 2003 8:29 pm Post subject: |
|
|
Thanks Tantive, I decided to join, I've configured the config file like you said, so the results should go under your name (if everything goes ok )
We'll see soon.
Tantive wrote: |
Who of you is using the zetagrid ebuild on a gcc3 system with no gcc2 installed? (Did anyone manage this?)
|
I just emerged zetagrid. Seems to work (GCC 3.2.1). Does it matter ? It's not compiled with GCC3.x right .. ?
Also: Anyone tried running it as non-root ? Does that work ?
Thanks. |
|
Back to top |
|
|
TGL Bodhisattva
Joined: 02 Jun 2002 Posts: 1978 Location: Rennes, France
|
Posted: Thu Jan 09, 2003 9:18 pm Post subject: |
|
|
About the following error:
Code: | Exception in thread "main" java.lang.NoClassDefFoundError: zeta/... |
I think it's only because you launch the program without being in the /opt/zetagrid directory. A solution would be to update the two scripts to add the jar files to the CLASSPATH variable, or to put absolute paths in the "-cp ..." option.
Something else that may be interresting would be a runscript to go in /etc/init.d.
Just my 2 cents. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jan 09, 2003 9:37 pm Post subject: |
|
|
Tantive: Another small question, on this page at the bottom, there's 3 workstation's listed.
Will ours show up too there ? If you need to configure that, I use dyndns as well. The host that runs the zetagrid software here is: 'haku.ath.cx'
It would be cool to see how many workunits it's doing by itself and still contribute to the same user
If it's not possible, no problem, just asking.
Cheers |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Thu Jan 09, 2003 10:15 pm Post subject: |
|
|
My LAN-client got listed after a few hours, guess first 'work unit' had completed. Now I've added zeta to my idle gateway server as well, expect it to show up later. It seems to automatically report any hostname you choose. (In my case home LAN clients behind gateway are name.clarkconnect.lan). Guess next client on list will be gateway.clarkconnect.lan
Last edited by herring on Thu Jan 09, 2003 10:22 pm; edited 1 time in total |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Jan 09, 2003 10:21 pm Post subject: |
|
|
herring wrote: |
My LAN-client got listed after a few hours, guess first 'work unit' had completed. Now I've added zeta to my idle gateway server as well, expect it to show up later. It seems to automatically report any hostname you choose. (In my case home LAN clients behind gateway are name.clarkconnect.lan). Guess next client on list will be gateway.clarkconnect.lan |
Ok thanks, so it takes local hostnames..
Is everyone already aware of the fact they should use this configuration if they want to support Gentoo? (since there aren't any team prizes!)
Code: |
name=Michael Imhof
eMail=tantive@gentoo.org
team=Gentoo Linux Users Everywhere
|
|
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Thu Jan 09, 2003 10:26 pm Post subject: |
|
|
YES... I finally got the damn thing running I think... at least zeta_progress shows some action now, and some java stuff seems to use CPU time..
Hurrah.. and of course I'm crushing as Micheal as I was politely asked |
|
Back to top |
|
|
TGL Bodhisattva
Joined: 02 Jun 2002 Posts: 1978 Location: Rennes, France
|
Posted: Thu Jan 09, 2003 10:38 pm Post subject: |
|
|
Zu` wrote: | Is everyone already aware of the fact they should use this configuration if they want to support Gentoo? (since there aren't any team prizes!)
Code: | name=Michael Imhof
eMail=tantive@gentoo.org
team=Gentoo Linux Users Everywhere
|
|
Thanks for having clarified this point, I was thinking choosing the team was enough... I've probably not read enough doc before launching the app
Just a question: what are your "performance index" in the progress monitor? I have about 21 on an athlon-xp 1800+, is that okay? |
|
Back to top |
|
|
Tantive Retired Dev
Joined: 14 May 2002 Posts: 72
|
Posted: Thu Jan 09, 2003 10:49 pm Post subject: |
|
|
zu: yes, your work stations will appear there after completion of first work unit
Question to all: What Performance Index do you get?
Here: ~23 on a Athlon XP 1800+, 512mb pc133, asus a7v, sun jdk 1.4.1.01
TaT |
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Thu Jan 09, 2003 11:56 pm Post subject: |
|
|
TGL wrote: | Just a question: what are your "performance index" in the progress monitor? I have about 21 on an athlon-xp 1800+, is that okay? | Probably; I have an Athlon XP 1600+ with 512MB pc133 and Blackdown 1.4.1 beta, and get performance indices in the 17~21range. _________________ Man must shape his tools lest they shape him. |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Fri Jan 10, 2003 12:02 am Post subject: |
|
|
Tantive wrote: |
Question to all: What Performance Index do you get?
TaT |
~22 with Athlon 1,33 Gz 256 RAM, blackdown jre 1.3.1 using work_unit_size=m , sleep=0 , resources=1
Beeing a newbie, I admit having trouble understanding that
'./zeta_progress.sh'
and
'java -cp zeta_progress.jar zeta.JShowProgress'
only were monitoring programs, and not an eyecandy-alternative of running zetagrid.
Later I even realized that 'Ctrl-C' a "running" ./zeta.sh or even closing the x-term window from where I started it, did not stop the process
Running top also convinced me that 'java' was hugging my CPU.
Now I want to add ./zeta.sh
to my
/etc/conf.d/local.start
to have it up and running at boottime
Q: Will just adding
./opt/zetagrid/zeta.sh
do the trick ? |
|
Back to top |
|
|
Tantive Retired Dev
Joined: 14 May 2002 Posts: 72
|
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Fri Jan 10, 2003 12:22 am Post subject: |
|
|
Should be about 10-15% performance boost at best. |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Fri Jan 10, 2003 12:24 am Post subject: |
|
|
---(start copycat)
bash-2.05a# cat /opt/zetagrid/zeta.sh
# ======================================================================
# zeta.sh Start script for the ZetaGrid client
# ----------------------------------------------------------------------
#
# This script sets the environment for the ZetaGrid client.
#
# Please note:
#
# - You must adopte the Java call below for your environment.
#
# - If you have to access the Internet through a proxy server
# you must add -Dhttp.proxyHost=$PROXY_HOST
# and -Dhttp.proxyPort=$PROXY_PORT in the command below.
# Example: -Dhttp.proxyHost=proxy.computer.com
# -Dhttp.proxyPort=80
#
# Prerequisite: Java Runtime Environment 1.2.2 or higher,
# e.g. http://java.sun.com/j2se/1.3/download.html
#
# ======================================================================
# ======================================================================
nohup nice -19 java -Xmx128m -Djava.library.path=. -Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0 -Dnetworkaddress.cache.negative.ttl=0 -cp zeta.jar:zeta_client.jar zeta.ZetaClient &
bash-2.05a
---(end pastecat)
& = background process ?
Maybe 'nice' have anything to do with this fact ? |
|
Back to top |
|
|
Tantive Retired Dev
Joined: 14 May 2002 Posts: 72
|
Posted: Fri Jan 10, 2003 12:29 am Post subject: |
|
|
Yes, & sends processes into the background (test it with e.g. mozilla &).
The stats i posted are without nice on the above mentioned box doing nothing...
TaT |
|
Back to top |
|
|
herring Apprentice
Joined: 22 Jul 2002 Posts: 187 Location: Norway
|
Posted: Fri Jan 10, 2003 12:35 am Post subject: |
|
|
wow 6 clients submitting work-units now... |
|
Back to top |
|
|
Carlos Guru
Joined: 07 Aug 2002 Posts: 458 Location: Providence, RI
|
Posted: Fri Jan 10, 2003 1:40 am Post subject: |
|
|
That's definitely very strange... I have seen performance indices on my end around 60, but that usually lasts for only a few seconds after I start the progress monitor, and it goes back down to 18~20 soon after that. Since these indices were just sent in by users, maybe they just sent the fastest indices they ever saw, which in my case would be higher than any of the ones seen on the list.
By the way, I think we should all change our sigs to something like:
Tantive wrote: | Who of you is using the zetagrid ebuild on a gcc3 system with no gcc2 installed? (Did anyone manage this?) | Sorry I didn't notice your post earlier, but the only GCC on my system is 3.2.1-r6.
EDIT: misspelled Tantive's name. _________________ Man must shape his tools lest they shape him.
Last edited by Carlos on Fri Jan 10, 2003 11:55 am; edited 1 time in total |
|
Back to top |
|
|
|