MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Mappoint 2004 slowness on dual processor/dual core machines

This is a discussion on Mappoint 2004 slowness on dual processor/dual core machines within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Also seeing lockups on dual-core, even after setting processor affinity on the application and mappoint to pin each to the ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 06-03-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 7
Re: Mappoint 2004 slowness on dual processor/dual core machines

Also seeing lockups on dual-core, even after setting processor affinity on the application and mappoint to pin each to the same CPU. The lockup usually occurs on a GetLocation() call. When this occurs, my application message loop is hung inside the mappoint code never to return, hence mappoint must be killed via task manager.

I have setup my test to repeat the same drawing calls over and over again-- and it may run ok for several minutes, or it may lock up within just a few seconds. I have also throttled back the application requests to the point where there is at least 20 milliseconds between any two requests to the map.

Of course, when I disable dual core in the BIOS the problem goes away. MP02/04/06 all exhibit the same behavior. This is a bummer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 06-05-2008
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 899
Blog Entries: 10
Re: Mappoint 2004 slowness on dual processor/dual core machines

I've just been doing some proof of concept stuff with .NET 2 (C#), and I'm not seeing this slow down, although I'm using MapPoint as an external application rather than as a control. This may explain the difference?

Initially I was running with MapPoint 2002 due to these objects being registered correctly.
Each unit of work involved FindPlaces() and route calculation.

On a Core 2 Duo (2400 I think), this ran 4898 units of work in 1hr 13min 41 sec (real time). Cpu usage was about 90% - ie. it was using more than one cpu.

With MapPoint 2006, 4355 units of work ran in 1hr 3min 14sec (real time), but cpu usage dropped to about 70%. Ie. still more than one cpu, but it appears to be running more efficiently in terms of pure cpu cycles.

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 06-06-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 7
Re: Mappoint 2004 slowness on dual processor/dual core machines

I think the performance issue (at least the one I've seen) is related to drawing shapes on the map. I'm not using FindPlaces or routes.

The lockup usually occurs inside GetLocation().
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 07-29-2008
Junior Member
Yellow Belt
 
Join Date: Jun 2008
Posts: 13
Re: Mappoint 2004 slowness on dual processor/dual core machines

Just wondering if anyone ever found a fix for this? Am using VB5 with the MP2006 activex. It appears to run about 6x slower on a Dell D430 duo-core than on a Dell D800 non-duo-core.

In my case shutting down the 2nd core did NOT fix anything.
Initial placing of shapes:
D800 = 2.2 seconds
D430 = 13.06 seconds (dual core ON and "SpeedStep Enabled")
D430 = 18.328 seconds (dual core ON but "SpeedStep" Disabled)
D430 = 25.72 seconds(dual core OFF but "SpeedStep" Enabled)

Moving Shape times: Dual core enabled and SpeedStep enabled on D430
D800 Add Shape = 20 ms
D800 Delete Shape = 5 ms
D430 Add Shape = 110 ms
D430 Delete Shape = 12 ms

Also, I was at the open source developers conference last week and
spoke with the parallel processing guru at Intel about this and his
response was that Microsoft(writer of mappoint) messed up in their
thread management causing the processor(s) to have to flush the cache
when doing certain operations. In our case its the "getlocation"
mappoint method used when creating shapes.

Any comments?
Thanks,
Bartj
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15 (permalink)  
Old 07-30-2008
Junior Member
White Belt
 
Join Date: Apr 2008
Posts: 7
Re: Mappoint 2004 slowness on dual processor/dual core machines

I have a message into someone at Microsoft, even provided some source code about a month ago, but still havent heard anything back. Apparently they are very busy working on the upcoming MP release. I had half-hoped the new version would fix the problem, but my guess is the problem is too difficult to fix in the short run, or they wont even look at it until after the new version is ready.

I will post if/when I get some kind of response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
core, dual, machines, mappoint 2004, processor or dual, slowness


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

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
My first VB 6 App with Mappoint 2004 bgower MapPoint 2006/2009 Discussion 1 09-15-2005 05:58 AM
Add In for Mappoint 2004 fattystud69 MapPoint 2006/2009 Discussion 0 09-14-2005 07:45 AM
how can i extend MLS service to other machines Anonymous MapPoint Web Service and Virtual Earth 1 03-30-2005 07:48 AM
dual processor Anonymous MapPoint 2006/2009 Discussion 2 07-05-2004 02:51 PM
MapPoint 2004 Anonymous MapPoint 2006/2009 Discussion 1 10-10-2003 11:51 PM


All times are GMT -5. The time now is 04:55 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54