Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

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 Desktop Discussion forums, part of the Map Forums category; I have an application that uses the Mappoint2004 Control to plot pushpins in the mappoint application. We have found that ...

  1. #1
    Matt Foroughi is offline Junior Member White Belt
    Join Date
    Feb 2006
    Posts
    1

    Mappoint 2004 slowness on dual processor/dual core machines

    I have an application that uses the Mappoint2004 Control to plot pushpins in the mappoint application. We have found that mappoint preforms very very slowly on Dual core or dual processor machines running XP, 2000 server or server 2003. I have tried setting the process affinity for Mappoint.exe and it still seems to be very slow on these machines. If I disable the processor in hardware, then it runs fine.

    Has anyone else experienced mappoint performance problems on dual core machines?

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Wow, no, this is new to me.. good finding.. can you explain it more?

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    Joe Willie is offline Junior Member White Belt
    Join Date
    Jan 2008
    Posts
    2

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    I have the same problem with an application built using the MapPoint 2006 control.

    On a Pentium 4 machine, Windows XP Pro with SP2, 1 GB of RAM, the application can draw 500 line shapes in a few seconds.

    On a "faster" dual core T7700 machine, Windows XP Pro with SP2, 2 GB of RAM, the same application draws the same 500 line shapes in about 45 seconds.

    The dual core machine performs most other operations faster than the Pentium 4 machine.

    Also, the draw time on the Pentium 4 seems linearly proportional to the number of shapes, but the dual core machine draws the 500th shape much slower than the draw time of the first shape.

    Has anyone else seen this behavior? Any ideas on what is happening or how to resolve? Thanks -JW

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    Hi,

    Very strange. Maybe video card slow? There is an windows API call LockWindowUpdate(). You can use this to prevent writing to the window until last line is draw. Btw this speed up a lot things if you have to draw many.

  5. #5
    Joe Willie is offline Junior Member White Belt
    Join Date
    Jan 2008
    Posts
    2

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    Wilfried,

    Here is some interesting related information. When I enable hyper-threading on the Pentium 4 machine, the shapes draw more than an order of magnitude slower than when HT is disabled. So a draw time of 500 shapes goes from seconds with HT disabled to a couple of minutes with HT enabled. Nothing else is changed - just enabling or disabling HT.

    Other draw and display operations appear unaffected. Drawing 1000 pushpins in a dataset takes about one second whether HT is enabled or disabled. Shape drawing is the only case I can see so far where HT has an impact on MapPoint performance.

    I suspect the HT problem has the same underlying cause as the slow shape draw time on dual core machines. I don't understand much about multi-threading so I'm at a loss to determine a solution. I could try and disable one of the processors on the dual core machine but that seems like a silly solution.

    Do the HT timing results provide any insight into what is happening?

    Thanks -JW

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    Hi,

    No sorry this gives me not more insight. My advice is to try LockWindowUpdate() while drawing. It speedup performance enormoes for every program that has to write a lot of graphical data.

  7. #7
    mpocxuser is offline Junior Member White Belt
    Join Date
    Apr 2008
    Posts
    7

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    I have encountered the same issue with the mp ocx being slow at drawing on a dual core machine. MP simply cannot keep up with my requests (unless I set the App and ocx to run on the same CPU). I also noticed the performance is significantly worse when using the flat view vs globe view...

    Since my customer is still running MP2004 on a Pentium 4 (single core) machine, I havent had to provide him with a solution yet, but he is planning to upgrade his systems later this year, so my clock is now ticking...It will kind of defeat the purpose of the upgrade if he can only utilize one of the CPU cores.

    Does anyone have any more info? Any word on if this might be fixed in the next version? The feeling I get is that MS is not doing much to fix or enhance the desktop version of the product.

  8. #8
    lfdmike's Avatar
    lfdmike is offline Member Green Belt
    Join Date
    May 2004
    Posts
    56
    Blog Entries
    7

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    My experience was with MP02 on a dual P3 machine- I did not have any noticable performance changes running on 1 or 2 CPUs

  9. #9
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    However, if there is a locking problem then it makes sense that Hyperthreading is worse than single cpu or double cpu.

    HT adds any potential slowness from threading (eg. locking) and at the same time adds only a small potential increase (from parallel processing). When HT was first released, there were a lot of reports of it making no or negative difference for many applications.

    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  10. #10
    mpocxuser is offline Junior Member White Belt
    Join Date
    Apr 2008
    Posts
    7

    Re: Mappoint 2004 slowness on dual processor/dual core machines

    It is almost certainly the same issue between HT and dual core. I first saw this when I tried to run on an XP machine with HT enabled a few years ago. The only way it would run was to disable HT. With DC, I must set the affinity of both the app and mappoint to the same CPU (or of course disable DC).

    I have been hoping eventually a MP update would be able to run in such an environment (let alone take advantage of additional resources), but so far that is not the case. Maybe the silence on the next MP release means MS is working feverishly to address this... or more likely, they havent decided whether to ever release another version...

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My first VB 6 App with Mappoint 2004
    By bgower in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-15-2005, 04:58 AM
  2. Add In for Mappoint 2004
    By fattystud69 in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-14-2005, 06:45 AM
  3. how can i extend MLS service to other machines
    By Anonymous in forum Bing Maps and MapPoint Web Service
    Replies: 1
    Last Post: 03-30-2005, 06:48 AM
  4. dual processor
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-05-2004, 01:51 PM
  5. MapPoint 2004
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-10-2003, 10:51 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91