|
|
Possibilies for D2OL/TSC
|
|
|
|
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status:
Offline
|
|
D2OL and TSC use java as well as vector math.
I found this file it uses for configuring the javaVM
SengentD2OL.app/Contents/MacOS/launch.xen
A few comments down there is the line
# Defines other parameters to pass to the JVM
jvm.params=-Dcom.apple.macos.useScreenMenuBar=true...(and other stuff)
I stuck part of the java tweaks we used in ubero in front of everything else so it looks like
jvm.params=-Xmx300m -Xms100m -Dcom.apple.macos.useScreen...
I have a boatload of ram in the machine i am testing on.
I also launched the app from the Terminal as root with a nice of -20.
/usr/bin/nice -n -20 ./SengentD2ol.app/Contents/MacOS/D2OL &
This lets all the processes that D2OL spawns get a nice of -20, the max.
We shall see if it makes any difference.
Most of the computation stuff is done in the grid/dockwin.exe and I have no idea if that is using java or what but speeding up the other stuff that is done in java can't hurt.
Someone else should try this and see if it helps at all.
You could also just turn on the -server switch or adjust the ram tweak to something your machine can handle if you dont have 512Mb in the machine.
-ugh the new code tag is way too small to read and the size tags dont seem to work. Looks like one would have to go html instead of vB code :-(
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Apr 2002
Location: In front of monitor above keyboard.
Status:
Offline
|
|
Thanks for sharing the information mikkyo.
|
Tag ur it.
|
|
|
|
|
|
|
|
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status:
Offline
|
|
Another thing this file contains is the name of the App for the menu and for the Dock Icon.
I have found it handy when running two insances to rename one version and change the dock name to like D2OL1 and D2OL2.
To do that, edit the line in this file that looks like
"-Dcom.apple.mrj.application.apple.menu.about.name=D rug Design Optimization Lab" "-Xdock:name=Drug Design Optimization Lab"
Change the "Drug Design Optimization Lab" to "D2OL Client 1" or whatever you like for both the apple.menu.about.name and the -Xdock:name.
Now you can tell your versions apart.
Make sure you rename the application to match your new java names.
I leave one at as SengentD2OL.app and change the other to SengentD2OL2.app.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2002
Location: Mile High City
Status:
Offline
|
|
Awesome! I am going to benchmark the stock version on my PowerMac 800 for a few days and then give that a try to see if it makes a difference.
|
|
|
|
|
|
|
|
|
Administrator
Join Date: Jun 2000
Location: California
Status:
Offline
|
|
I have a gig of RAM on the way, and should have some free time again in a week or two. (crosses fingers)
With a little luck, I can do some testing too, and get the stats / site upgrades rolling again.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status:
Offline
|
|
Here is a Fix if you are running on Jaguar (Mac OS X 10.2.x)
Quit D2OL Agent and the Drug Design Optimization Lab.
Did you quit D2OL completely? Good.
Control click on the SengentD2OL.app and choose Show Package Contents as above.
Open Contents.
Drag the Info.plist onto TextEdit or double-click it if you have the Property List Editor installed (comes with the Dev Tools).
Be careful while editing this file, don't add any spaces or extra characters between keys.
Go to the last key which is NSUIElement.
Change the 1 to 0, if you are using TextEdit you will see it between the <string> tags.
Save.
Quit.
Launch SengentD2OL.
Be glad you have your GUI back.
Bonus points:
Make sure you don't edit this file while the app is running.
While editing the above plist, you can change the CFBundleName and CFBundleGetInfoString to match your client name changes in the launch.xen file, to further remove any confusion when runnign D2OL.
You'll notice they were left as CommunityTSC which is the same app with a different server.
Enjoy!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2002
Location: Mile High City
Status:
Offline
|
|
Originally posted by mikkyo:
Be glad you have your GUI back.
It worked!!
Darn you're good Mikkyo. Thanks!
(
Last edited by Shaktai; Oct 7, 2002 at 09:12 PM.
)
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jun 2000
Location: Cincinnati, OH USA
Status:
Offline
|
|
Mikko, you java mastah! Domo Arigato!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|