World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Developers' Corner

Developers' Corner General World Wind development.

Reply
 
Thread Tools Display Modes
Old 05-16-2005, 11:18 AM   #1
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

I know you don't like comparisons with Keyhole.. But it really works much faster. I can zoom to my house almost smoothly (when data is in cache) and I can't do this in WW on the same hardware. Also K uses less memory and CPU and doesn't use CPU at all when idle.
Who knows what technologies K uses?
In any case I propose to port WW to C++/OpenGL. PLEASE no Java! I know it's much easier to develop in Java/C#, but in such apps I think performance is more important.

Of course, WW is great software because it's opensource and free.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 05-16-2005, 11:23 AM   #2
Beansprout
Cosmic laser
 
Join Date: Sep 2004
Posts: 2,998
Beansprout is an unknown quantity at this point
Default

It's not to do with the language, it's more to do with the fact that it's problems with the code, which the devs have been tweaking a lot recently.
Beansprout is offline   Reply With Quote
Old 05-16-2005, 11:27 AM   #3
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by TheBeansprout@May 16 2005, 02:23 PM
It's not to do with the language, it's more to do with the fact that it's problems with the code, which the devs have been tweaking a lot recently.
You want to say that managed .NET or Java is as fast as plain C++? I don't think so.
In any case C# isn't portable enough (however can try Mono). There are discussions in other threads about porting and technologies to use and I just vote for C++/OpenGL.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 05-16-2005, 11:30 AM   #4
Beansprout
Cosmic laser
 
Join Date: Sep 2004
Posts: 2,998
Beansprout is an unknown quantity at this point
Default

Quote:
Originally posted by pronvit@May 16 2005, 10:27 AM
You want to say that managed .NET or Java is as fast as plain C++? I don't think so.
In any case C# isn't portable enough (however can try Mono). There are discussions in other threads about porting and technologies to use and I just vote for C++/OpenGL.
I'm not getting into a language versus language debate - there's no point, the simple fact is that the World Wind coding is so slow at the moment that any language differences wouldn't matter.

For example, World Wind constantly uses high CPU, and for some strange reason it's constantly thrashing the hard disk for no apparent reason.

I believe the devs have fixed both of those issus though, so the next release (1.3.2 / 1.4) should be faster.

Anyhow, I'd like to close this thread, because you can join in the other thread - keep this place tidy
Beansprout is offline   Reply With Quote
Old 05-16-2005, 11:41 AM   #5
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by TheBeansprout+May 16 2005, 02:30 PM--><div class='quotetop'>QUOTE(TheBeansprout @ May 16 2005, 02:30 PM)</div><div class='quotemain'>I'm not getting into a language versus language debate - there's no point, the simple fact is that the World Wind coding is so slow at the moment that any language differences wouldn't matter.
[/b]

agree, no debates about this.

Quote:
Originally posted by TheBeansprout@May 16 2005, 02:30 PM
For example, World Wind constantly uses high CPU, and for some strange reason it's constantly thrashing the hard disk for no apparent reason.

I believe the devs have fixed both of those issus though, so the next release (1.3.2 / 1.4) should be faster.
Maybe disk usage is because of Windows swapping, last time I used WW it ate 300+ megs of memory. Currently I use version from CVS, it works slightly faster, but these two issues still are there . BTW, Celestia is also constantly using CPU.. So maybe there's some secret in Keyhole that we need to think about?

<!--QuoteBegin-TheBeansprout
@May 16 2005, 02:30 PM
Anyhow, I'd like to close this thread, because you can join in the other thread - keep this place tidy
[/quote]
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 05-16-2005, 03:16 PM   #6
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

FYI:

I was running profiler over CVS version of WW for some time.

WorldWindow.Render was called 6891 times, ok that's number of frames drawn.
But WindowsControlMenuButton.IsPushed() and WindowsControlMenuButton.Update() were called 57364 and 27564 times! Not so much CPU time but in any case not good.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 05-16-2005, 04:00 PM   #7
TomServo
God. Root. What is difference?
 
TomServo's Avatar
 
Join Date: Sep 2004
Location: Eastern Pennsylvania
Posts: 2,847
TomServo
Default

Ya know.. this may seem strange. But I am like that. Instead of moaning and groaning here on the forum. Why no log into the IRC channel and talk to the devs, maybe even join up as a dev.

I see it a lot.. "bitch and maon" and "I want a mac version" and "xxx and yyy are not working right." .. yet no one steps up to the plate and offeres to HELP.

I think we have added about .. one new dev in the last few months. Oh sure we have had people spout abaout helping.. but then they never come back.

And by the way.. it wasn't the "C# is easier to develop" reason Chris used it, it was "I am comfortable using C#" reason. Yes, it is causing some problems now on the porting front.. but that goes back to the above, no one has the guts to walk up and START doing something about it.
__________________


Earth is Square blog

PUBLIC NOTICE AS REQUIRED BY LAW: Any use of this forum post, in any manner whatsoever, will increase the amount of disorder in the universe. Although no liability is implied herein, the consumer is warned that this process will ultimately lead to the heat death of the universe.
TomServo is offline   Reply With Quote
Old 05-16-2005, 04:13 PM   #8
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Currently I'm trying to make WW better on my local machine. When I'll have some results, of cource I'll talkto developers to share them.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 05-16-2005, 05:26 PM   #9
adamhill
Senior Member
 
Join Date: Sep 2004
Posts: 147
adamhill
Default

One place to look is Casey Chestnut's port to the PocketPC. He has done some things like 'render the nearest N tiles' (ugly but fast) and pregenerating the meshes for eache level (which is hard to do for arbitrary level).

If you use Filemon you will see that WW is not actually loading, just checking for existance of the tile. We could use a tile cache and MS has a Caching Application Block that uses MemoryMapped files and would probably be pretty performant.

There is lots of low hanging fruit in the optimization department. Glad you are measuring, hope you find some easy fixes. Just in time for 1.4's new rendering system
__________________
Adam Hill - .NET and GIS Guy
Thregecy Inc. ::: TheBigPixel
Hack #24 - World Wind
adamhill is offline   Reply With Quote
Old 05-16-2005, 07:35 PM   #10
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by adamhill+May 16 2005, 08:26 PM--><div class='quotetop'>QUOTE(adamhill @ May 16 2005, 08:26 PM)</div><div class='quotemain'>If you use Filemon you will see that WW is not actually loading, just checking for existance of the tile. We could use a tile cache and MS has a Caching Application Block that uses MemoryMapped files and would probably be pretty performant.
[/b]

I was just going to try Filemon to see what WW is doing. Thanks for info.

<!--QuoteBegin-adamhill
@May 16 2005, 08:26 PM
There is lots of low hanging fruit in the optimization department. Glad you are measuring, hope you find some easy fixes. Just in time for 1.4's new rendering system
[/quote]
Is there any branches (other than HEAD) in CVS with new code that I can try?
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux/Mac development Suite? cmaxwell Ports 49 10-28-2009 07:05 AM
Improving performance on older machines Neimo Suggestion Box 1 04-12-2006 09:39 PM
World Wind 1.3.3 released Randy Kim Announcements & News 0 10-22-2005 05:37 AM
addons and system performance nova Suggestion Box 0 04-11-2005 01:48 AM
slight performance problem after patching to 1.31 Guest_max_* Technical Support 2 04-03-2005 02:45 PM


All times are GMT +1. The time now is 06:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.