PDA

View Full Version : Next DF client to run 200% faster


dnar
20th July 2002, 23:58
Client SPEED enhancement

I've been thinking about this for awhile but haven't gotten around to it until now. Anyhow, with surprisingly minor code changes, I have sped up the client 200%! Yes, that's right, twice as fast, that's not a typo.

The catch? Well, it loads the entire protein.trj into RAM at once, rather than reading one residue at a time. Thus it will require a total of roughly: 25 + 0.64N MB RAM where N is the number of residues. Thus a 200-residue protein (about the largest we will ever attempt in the near future) would suck up 143MB RAM. Still, a small price to pay for speed doubling, especially if you use your machine only for DF, or if you have 512MB RAM. Note that's EACH process, so a dual machine would need 286MB RAM. Needless to say, this is an 'optional' switch. If should speed up the screensaver as well so an option will be added there as well.

Just though I'd whet your appetites for what's coming up.


__________________
Howard Feldman


Source: Free-DC forums (http://www.free-dc.org/forum/showthread.php3?s=&threadid=1223)

Time for more RAM...

Billy_Bat
21st July 2002, 01:38
Yeeha! Already gpt 512, so I guess I am set. Well, for this one... the others all have 256. Although right now I am taking a small break, to run G@H for a couple of weeks more.

Daniel, Laura, and Nora
21st July 2002, 02:04
Hmmm. For the cruncher at home it means more resources devoted to the program. Won't the RAM dedication get in the way of everything else running on the machine?

I'm surprised at Howard. Doubling the rate means an increase of 100%, not 200%. He seems to be doing The Math (tm) rather than the math.

LBaker
21st July 2002, 11:04
[conspiracy mode on] Howard must have stock in the ram producers. I can see the rush to buy more ram from the DC community already. [conspiracy mode off] :D