Sign Up!
Login

Welcome to Target For Today
Thursday, September 09 2010 @ 05:41 AM CDT

eMail Article To a Friend View Printable Version

Native Build by Paul (Outlaw) @ Simulab

Simulation Laboratory Project

 

Native Build



Written by Paul   
Thursday, 22 April 2010 08:03

SimuLab development is not conventional in many ways: we favored Java and not C++, which is historically THE standard language of choice for real-time high performance applications. This project evolves to prove Java as suitable development platform for high performance and high quality desktop applications.

Compared to C++ features Java greater manageability of large code bases, extensive and free tool set for performance and quality analysis. Java as platform provides their users great chances to produce high quality and high performance applications.

The maintainability has its price: the “compile once, run everywhere” philosophy removes OS dependency of Java programs but also induces sensible startup delays due on-the-fly compilation requirement.

I chose reduced performance in the hope to gain in the performance with application code trimmed for performance and quality. All the time I was looking for a chance to bypass the compilation delay problem. I finally discovered Excelsior JET Java compiler and gave it a run:

The compilation process went just perfect and the resulting executable is very impressive. I gave just a short run, but here the results at the glance:

  1. CPU peaks (highest cycle consumption): JRE 62%, Jet 53%
  2. Memory: JRE 227MB, Jet 133MB
  3. Startup: not measured but Jet outperformed the JRE BY FAR as expected.

I was not expecting to see reduced memory requirement or significant improvement on the CPU side, but Jet shown its shiny side here. In short, I was thrilled Smile. The CPU offload comes probably from improved interfacing with native code (there are many dependencies in SimuLab).

Feature releases of SimuLab will be shipped as OS independent classic java applications as well OS specific binary releases for Windows and Linux platforms.

Graph for the performance comparison:

 

Last Updated on Saturday, 01 May 2010 22:30
eMail Article To a Friend View Printable Version

SimuLab: Debug Build 001

Simulation Laboratory Project

This build should help to investigate flight controller problems.
Features:
1. Reactivated flight controls
2. All application output delegated to log files
3. Fixed: switching from GUI to simulation

Installation:
1. backup "classes" folder inside of your installation
2. Unzip classes.zip (
http://www.simtechnologies.de/pub/sl/classes.zip) inside installation folder

Start command line (place in simulab.bat or a new *.bat):
java -splash:content/splash.png -Djava.library.path=.;native -Xms256m -Xmx1024m -Xverify:none -XX:+UseParallelGC -XX:CompileThreshold=500 -Xss2m -cp libs/sqlitejdbc-v054-pure.jar;libs/gluegen-rt.jar;libs/joal.jar;libs/j3dext-linux.jar;libs/j3dext-win32.jar;libs/jinput.jar;classes simulab.Main

Ensure following features:
1. GUI starts, Configuration button click able, displays conf. menu, tabs can be clicked, GUI tab has click able controls responding with empty alert boxes
2. Click on "Flight Operations" launches 3D view and closes the gui
3. Click on Exit leaves the gui and terminates the application.

For bugtrack:
If your flight controls work well, just post here your controller model. Otherwise attach log files produced by debug build to the ticket in bugtracker (files should be available in the application directory named log.*).

Edited By: outlaw  4/27/10

 

Posted on SimuLab by Outlaw: 4/28/10

There is an issue with flight controls wiring in simulab and there is a debug build for testing;http://cms.simtechnologies.de/the-commu … .html?id=4 . Any feedback?

Note posted by Outlaw: 4/21/10

I just updated the build packet on the server (the classes.zip). No functional changes but improved performance. I identified 2 hot spots in the GUI code and eliminated them.

P.S. Would someone run a longevity test? Let the gui run for 7 - 12 hours and compare memory use after the start and after 12 hours of runnning.

 

eMail Article To a Friend View Printable Version

SimuLab Goes Native

Simulation Laboratory Project

 

SimuLab goes native


Written by Paul   
Thursday, 22 April 2010 08:01
As announced on the board, our development team received a license for linux and windows native java compilers from Excelsior JET. From now on, all major releases of SimuLab will be available in 3 favors: native windows, native linux and cross platform version for JRE. Native builds are much faster and consume less memory.


eMail Article To a Friend View Printable Version

Simulab Alpha Release

Simulation Laboratory Project

Released Friday, 16 April 2010: Posted to http://cms.simtechnologies.de/ by Outlaw78

I'm pleased to announce the first public release of the technology demonstrator.

Key Features:
1. Multi-Plattform: works with Windows 32bit, Linux 32bit (tested with XP SP3, Vista and Ubuntu 9.04, 9.10)
2. Java Based, technologies: Java3D, JOAL, JInput, Batik
3. (still) native flight simulation engine also in use with FlightGear (the JSBSim)
4. CLOD Terrain Optimizing Engine
5. Real World height data from SRTM GTOPO 30 v.4 Dataset (world height data packed qualityloss in 13GB)
6. Aircraft performance described in XML format (very accessible)
7. SVG Renderer for GUI (entire gui is implemented in XML + JavaScript).
8. Visual model from F-16D (my old model)
9. Flight dynamics from F-22A (so don't wonder about performance :D)

Installation:
1. Install Sun Microsystems JRE 1.6.++ http://www.java.com/de/download/manual.jsp
2. Unpack release.exe on a path without spaces ("My Documents" might be problematic)
3. start run.bat with doubleclick to start in gui mode
4. start simulab.bat to begin simulation

Download:
http://www.simtechnologies.de/pub/sl/release.exe

Additional release information and discussion:  SimHQ Thread

Random Image

56__088.jpg
Browse Album

Who's Online

Guest Users: 4

Upcoming Events

There are no upcoming events

My Account





Sign up as a New User
Lost your password?