Defection time

Status
Not open for further replies.

riskin

Ars Praefectus
3,125
Subscriptor++
Well, it would appear that G@H has mustered the numbers necessary to keep the [H]orde at bay. Since G@H hasn't really captured my imagination the way S@H did, I don't feel any particularly strong ties to it. I joined to help out Ars, so now I'd like to help out on a different project. I've done S@H and G@H already. F@H isn't something I want to do either, along with RC5. I've given some thought to Prime Rib, but pure math doesn't really inspire me too much. (I'm starting to sound picky.)

Here are the projects that I DO find interesting.

Team Frozen Yogurt for Sengent Thread found here.

Team Vodka Martini for the ECCp-109 challenge

Team Chili Pepper for Ubero

Team Crab Cake for United Device

I like the non-profit and altruism of Ubero. However, the client seems to require Java, so I'm not sure how efficient the code is, or how well it lends itself to optimization.

I like Sengent because of its beautiful GUI display. Trust me, after looking at the CLI of G@H for a while, even S@H looks good. It appears that this effort is less altruistic, which is OK. I don't know if I would want my Sengent client helping out with an investment model instead of helping to fight bioweapons. Is there any way to control what the client processes?

Team Vodka Martini seems a little esoteric in its endeavor, and I'm not sure what the benefit would be to Ars, the world, and myself.

United Devices is trying to help cure cancer today, obviously a noble goal. Again, my concern about processing for profit (specifically for profit that Ars or myself won't see) that I raised with Sengent comes to mind. How do I know/control what I'm crunching?

Which of these projects do you all think I should join, and why? Which of these will benefit Ars the most, either in stats, profit, or any other way?
 

badsac

Ars Tribunus Militum
2,421
Originally posted by riskin:
I like Sengent because of its beautiful GUI display. Trust me, after looking at the CLI of G@H for a while, even S@H looks good. It appears that this effort is less altruistic, which is OK. I don't know if I would want my Sengent client helping out with an investment model instead of helping to fight bioweapons. Is there any way to control what the client processes?

As far as I know, there will be a separate client for broker and for D2OL.

If you're worried about Java in Ubero, then you'll worry about D2OL. It's completely written in Java as well. I think Larry Leon will have some disagreements with you though, if you think Java results in a big performance hit these days. In another thread a while back, he made some arguments for Java performing quite well these days.

D2OL is still young, and a lot of bugs are getting ironed out as we speak. The good thing about the project is that the software, and project are being modified to the wishes of the volunteers at the minute. Of course you can't please everyone, but they seem to make a real effort to listen to and take on board their volunteers opinions. That and the fact I believe in the project means I'll be sticking with it for the long haul. I hope some other Arsians do to. After all, the old GRGI is looking to hand us our butts in this project after we kicked theirs in genome. Lets not make it too easy for them. ;)

Whichever team you chose to join, I hope you have fun there. :D
 
I like the non-profit and altruism of Ubero. However, the client seems to require Java, so I'm not sure how efficient the code is, or how well it lends itself to optimization.

If you get IBM's or Sun's JVM, you'll do just fine.

Anyway, there's no way to know whether Java is slower these days without re-writing Ubero in C to compare.

And, performance in DC is often based on the optimization of a handful of inner "loops". Java (these days) may do as good a job as C.

Besides, how do you know the C code in a given DC client is all that fast? Or, that is is compiled with -O3 instead of -O2 or even -g?

A lot of folks are taking a lot for granted around here in C versus Java these days.

If you like the project, who cares what language it is in? Your machine will contribute as much as anyone else's.
 
I agree with you wholeheartedly riskin in regards to f@h and g@h . . .the two Stanford projects have been more of a pain to me than all of the other projects combined!

s@h is beatiful to me and I still try to run it a couple of times a week since it was the first project I signed up on over two years ago "pre-Ars".

TCC and TBR I have only done as a member of AFS.

But, I do like Ubero, even with it's occasional server problems (yeh fellow Chili Peppers . . .I do like it!) and the Java has proved to be no problem at all on my two boxes (750 Athlon classic and 1.33 @ 1470 T-Bird). In fact, I run the console (text) version which uses less of my total CPU and the "agressiveness" of the agent/client can be controlled through modifications of the agent.cfg file. I find myself doing this two or three times a day now whenever I need to use my T-Bird for other things, or if my daughter wants to use Morpheus on the 750.

The choice is yours riskin . . .I do not proselytize for Team Chili Pepper, but:

Wouldn't Ya Like To Be A Pepper Too?

Jammy


Originally posted by riskin:

Here are the projects that I DO find interesting.

For [URL=http://www.ubero.com[/url%5D]http://www.ubero.com[/URL]


[blockquote]
I like the non-profit and altruism of Ubero. However, the client seems to require Java, so I'm not sure how efficient the code is, or how well it lends itself to optimization. [/blockquote]


Which of these projects do you all think I should join, and why? Which of these will benefit Ars the most, either in stats, profit, or any other way?
 

theseum

Ars Tribunus Militum
2,879
I would recommend TCC because of the four projects you listed, the Think project seems to have the most immediate benefit to humanity. Don't worry about the corporate sponsership; as long as you disable the corporate projects in your profile you will be crunching only for charity. Of course, you forfeit your monetary rewards, but that's what charity's all about, right? Sorry, I forgot, it's about tax breaks... Anyway, I digress.

Another reason to crunch for TCC is that we are in imminent danger of losing our top ten spot to of all teams [H]ardOCP! Unlike Ubero where we are already winning...
 
Just go to IBM's main site and do a search. I'm not sure of the terms and conditions, but I think they used to be pretty liberal in terms of folks getting the stuff. It's free for me, so I never have to worry about it ;) . Don't know about nowadays, but check. I do know that SuSe Linux PowerPC has agreed to distribute the IBM JVM (1.3) with its PPC Linuxes. You may have to dig a bit to find it, but it is available. I don't know about the other Linux, like Intel, but again, check either IBM's site or maybe the major distributors like SuSe, Red Hat, or Turbolinux. It isn't GPL, that's for sure. But, it is probably available on terms people reading these words can accept.

JREs (Java Runtime Environment, which is basically a "bare" JVM without a compiler, etc.) are or were always available for free from either Sun or IBM and are also all you should need to run a client. JREs were treated (and, AFAIK still are) treated about like the Visual Basic Runtime you used to get with half the code in the world. They contain the optimizing JVM.

IBM has put out JVMs for at least Intel and PowerPC practically from day one. Windows, Linux, AIX, OS/400 have been supported also from pretty much day one. I've run Linux (PPC and Intel) and Windows besides the obvious OS/400.

I'm convinced of Java's performance not because of my employment bias, but because of actual measurement I do for a living. I have gone to the iSeries user group for several years and given a talk on Java performance.

When I first gave the talk, I had to admit that Java performance wasn't anywhere near parity with C and all. But, I predicted that it would get there. Much to my gratifiaction, it got well within a binary order of magnitude over time. Every time I gave the talk, the story got better until it got to where I've been posting the last couple of days. There were good technical reasons to expect improvement (including the fact that the early bad Java everyone remembers were pretty pure interpreters and not today's "just in time" compilations that are so good and incorporate a fairly large fraction of regular compiler optimizations).

Again, if you run your DC application by the hour or day, the upfront "just in time" compilation cost is unnoticable and the performance should be in the ballpark of what a typical C client would be.

There are isolated cases where Java is still bad, but there are also cases where it actually can outrun C.

[This message was edited by Larry Loen on December 18, 2001 at 00:46.]
 

riskin

Ars Praefectus
3,125
Subscriptor++
Larry, you certainly have laid aside my fears of Java. If I read your last post correctly, since I have Sun's Java 2 Runtime Environment I should be pretty well set to run Java apps quickly, yes? You say that the J2RE is just a JVM sans compiler. Does that mean I should download a separate JIT compiler or am I OK with the J2RE?

Now for something completely different.

I know that S@H benefitted heavily from a fast cache/memory subsystem, that RC5 loves G4 CPUs, etc. Regarding the four projects I listed above, are they all pretty CPU dependent or are there other ways to optimize the clients?

Badsac- What's GRGI? What sort of bugs are you facing with TFY? Client/system lockups? Stats problems? You're right, one of the things I like about TFY is the ability to impact the project with suggestions. That and the amazing GUI. I'm a sucker for eye candy.

Anyone have screenshots of the UD and Ubero clients?
 

badsac

Ars Tribunus Militum
2,421
Originally posted by riskin:

Badsac- What's GRGI? What sort of bugs are you facing with TFY? Client/system lockups? Stats problems? You're right, one of the things I like about TFY is the ability to impact the project with suggestions. That and the amazing GUI. I'm a sucker for eye candy.

GRGI stands for Genome Research Group Italy. Back in the day before [H] came onto the scene, we were fighting with them for the number 1 position in Genome@Home. They left G@H on mass after the troubles of a while back, and now, after a brief flirtation with Seti, it looks like they're going to make D2OL their thing. If they can allocate the same resources to D2OL that they did to G@H, then they'll be the team to beat. TFY will have their work cut out beating them, with the current state of the Ars DC empire.

As for what my problems are with D2OL, for me they are minor. My main problem is, that if I try to let the client launch on startup, it will make my system extremely unresponsive. I've not long ago put Win2k on my system and I don't understand it very well. But on bootup, there is a file called winlogon.exe that takes a fair bit of processor. If that is taking processor (according to task manager) when D2OL is started, then the system will be very unresponsive. I have to wait a couple of minutes until winlogon.exe has stopped taking processor, to launch D2OL. If I do that, everything is sweet. I haven't heard anyone else complain of that though, so it might just be a problem with my setup.

Apart from that, the only real problems are the lack of team stats, and the fact that the units, most of which take about an hour long on a fast machine, don't have any checkpointing yet. Both these probelms will be fixed very soon though, so they haven't discouraged me.

On the whole, I find the D2OL client very good. It certainly doen't crash, or play as nasty with other program like genome did. I could hardly be happier.

Then there's the purdy client!!!! :eek: :D
 

badsac

Ars Tribunus Militum
2,421
The big problem is that D2OL doesn't let winlogon.exe go on it's merry way. D2OL takes all the processor and wont let winlogon.exe complete. For me at least anyway. The Sengent fellas said they might have some threads or wisps or some bloody thing in the client running at the wrong priority which will be fixed soon.

So it sounds like you might potentially have the same problem as me. I hope not though.
 
(JRE) is just a JVM sans compiler. Does that mean I should download a separate JIT compiler or am I OK with the J2RE?

There are really two compilers under discussion in any talk about Java. The "javac" compiler converts Java source code to Java byte codes (ie, the "class" files).

It is the byte codes that are the truly remarkable thing about Java.

If you are a writer of interpreters, you say "Oh, I can interpret these byte codes, but what's all this other junk about the variables?"

BUT, if you are a compiler writer you say, "Oh, javac did the first pass of compiling and here's the compiler intermediate text, including the symbol table ('the other junk' interpreter writers ignore). Somebody gave them the fancy name of bytecodes, but it is compiler intermediate text, pure and simple. Let me take all this and feed it to the optimization and code generation phases of a typical compiler I wrote. Since I did it at run time and just before it was needed, I'll call it 'just in time' compiling."

What the JRE gives you is the latter half of the compiler, in effect. It is self-contained in that regard and includes the JIT part (which operates wholly on bytecodes). What a JRE won't let you do is develop new code with javac and a series of other related tools. But, you can run someone else's byte codes just fine.

This sort of discussion should be documented all over the web, if you want to know more about it.
 
Re: The Ace's Hardware review.

I would say it roughly matches my own, separate experiences with different source code. If anything, these comparisons show Java to come out better versus C/C++ than my own results. I don't necessarily regard these as contradicting my own -- all of these kinds of things are hard to compare, but it is in the same ballpark.

I should also point out something only hinted at -- heap optimization.

The JIT/JVM includes "garbage collection" (something heretofore limited to LISP and, to a degree, Basic interpreters). IBM's and Sun's JVMs implement parameters pair called -ms and -mx which can be used to "tweak" performance. -ms is described as the "initial" heap size, but it also indirectly controls much of the internals of garbage collecting. -mx is the overall maximum size of storage used (you have to make this at least big enough or things don't run).

You can steal an Ubero march on everyone else by picking the right JVM (probably not Microsoft's jview by now, which also lacks these parameters) and tweaking these parameters a bit.

Generally speaking, later levels of Java run a bit faster (though you may see a slight decrease between 1.1.8 and 1.2). Try and get 1.3 or newer. Theoretically, the only difference between a 1.2 and a 1.3 is "more stuff" but JIT improvements also slip in in virtually all cases. Since C/C++ is very mature and Java is getting there, I would predict that Java will (if anything) further close any remaining performance gap over time. Both will continue to improve.

Finally, I should note for my company's benefit, that there isn't much practical different between 'Hot Spot' and what IBM JVMs do (which the above link confirms). I must congratulate Sun on its mindshare achievement with 'Hot Spot', but IBM's JVM is doing much the same thing (as confirmed by the above link and the general shape of the curves).

But, hey, if you can get your hands on both JVMs for your machine, go right ahead and try both. Whichever happens to run Ubero faster (after you tweak the -ms and -mx a bit in each case) is the one you should use obviously enough. Heck, if jview unexpectedly wins, use that.
 

Supp

Smack-Fu Master, in training
65
Originally posted by badsac:
Quote: "Originally posted by riskin:
I like Sengent because of its beautiful GUI display. Trust me, after looking at the CLI of G@H for a while, even S@H looks good. It appears that this effort is less altruistic, which is OK. I don't know if I would want my Sengent client helping out with an investment model instead of helping to fight bioweapons. Is there any way to control what the client processes?
"

As far as I know, there will be a separate client for broker and for D2OL.

If you're worried about Java in Ubero, then you'll worry about D2OL. It's completely written in Java as well. I think Larry Leon will have some disagreements with you though, if you think Java results in a big performance hit these days. In another thread a while back, he made some arguments for Java performing quite well these days.

D2OL is still young, and a lot of bugs are getting ironed out as we speak. The good thing about the project is that the software, and project are being modified to the wishes of the volunteers at the minute. Of course you can't please everyone, but they seem to make a real effort to listen to and take on board their volunteers opinions. That and the fact I believe in the project means I'll be sticking with it for the long haul. I hope some other Arsians do to. After all, the old GRGI is looking to hand us our butts in this project after we kicked theirs in genome. Lets not make it too easy for them. ;)

Whichever team you chose to join, I hope you have fun there. :D

D2OL processing code is written completely in C. Only GUI, which can (and in order to archive best speed, should) be closed, uses Java.
 
For IBM JVMs (apparently, either a full development kit or just the JRE, you pick it) try This Link.

I didn't see any terms and conditions attached to this page or any others nearby, but there may be some you discover at install time. They can't be too onerous or they'd be mentioned up front, but do look as I am not a lawyer and can't commit IBM to anything in that regard.

Note that for all you guys running OS/400 (and, I know some of you read this) , it is handled differently (you install it as an LPP).
 

riskin

Ars Praefectus
3,125
Subscriptor++
Keep the Java discussion going. While it is a bit off topic of my original post it certainly has value and relevance to these DC clients. Performance is key, and if IBM or Sun outperforms the other it is important to know.

Here's a Java question for you. Can Java be optimized for SIMD instructions (MMX, SSE, 3DNow!, SSE2, etc.)?

Also, what do you guys think of this tool for optimizing DC clients. Yes, I know it is a C compiler. But doesn't it sort of remove the "assembly language is too time consuming to be worth implementing for a DC client" argument? Rather than write assembly by hand, just write the code as you would (using the compiler hints, of course) and then compile versions optimized for every CPU you want. The cost of this tool aside, is this a good idea?

Back to the original topic:

Regarding performance, I thought of another question to help narrow my choices. My current farm is only 3 machines. Sad, I know. Even more sad is that two of those 3 are on the slower side. My laptop is a P2 300 w/ 512k full-speed cache and 256 MB of PC66 RAM. My mom's computer is a Celeron 466 with 128 MB of PC66 RAM. The FSB and RAM speed of these machines is pretty modest, so I wouldn't want a client that relies on a fast FSB (such as seti). Cache is also a limit for the Celeron. Are any of the clients above particularly well or poorly suited for these systems? I'd like to get the most bang for the buck out of my hardware.
 
General benchmarking of the two Java JVMs isn't really necessary or relevant here.

Run the client against each JVM -- it is its own best benchmark. The best one may even vary by processor family for all I know. If downloading both is too much trouble, divvy up the work.

The winner may well be based on a few optimization triffles local to this application in a handful of key loops. The results may agree with public benchmarks or may wholly contradict them. There's no way to know in advance.

Run the client!
 

riskin

Ars Praefectus
3,125
Subscriptor++
Well, it looks like I'm going to start with Team Frozen Yogurt. The Sengent client looks great, and the project is interesting. It is unfortunate that there are no teams or stats yet (as far as I can tell), but this will eventually change. After some time with TFY, I think I might devote some of my processors to Team Crab Cake. Thanks for all your help guys.

I can't seem to figure out what Ubero crunches for. I think it crunches for a variety of non-profit projects, but I don't know what those are or what the current project is. Can anyone enlighten me?

[edit] I noticed that the Sengent client recommends a 450Mhz processor. Will my P2 300Mhz w/ 256 RAM be too weak to hand the client? Would any of the other 3 projects be better suited for this computer?
 
Originally posted by riskin:

Here's a Java question for you. Can Java be optimized for SIMD instructions (MMX, SSE, 3DNow!, SSE2, etc.)?

I don't think Java has any explicit SIMD support (although I could be wrong). What it neat however is that JIT compilation can optimise the code for the processor you happen to have in your system. In principle that can give it a performance edge over typical compiled C code. However it is difficult to generate code that uses SIMD instructions unless the source code organises data formats and perhaps also operation order in such a way as to be compatible with them.

Also, what do you guys think of http://www.codeplay.com/vectorc/index.html for optimizing DC clients. Yes, I know it is a C compiler. But doesn't it sort of remove the "assembly language is too time consuming to be worth implementing for a DC client" argument?p/QUOTE]

That depends on wether the code is produces is competitive with hand written assembly code. The benchmarks seem to put the Intel compiler behind Visual C++ in most cases which makes them highly suspect.
 
Status
Not open for further replies.