none
Threading in 4.0 vs 4.6 RRS feed

  • Question

  • We have a windows forms application which uses 4 concurrent threads to call a sproc to get data. This sproc is called for several databases in the background while the application loads. The load time was typically under 2 min in framework 4.0. When we migrated the app to Windows 10 machines which have 4.6 framework thread processing increased to 10 min and longer. Is there any difference in the way concurrent threads are processed in 4.0 vs 4.6.
    Wednesday, May 3, 2017 8:04 PM

All replies

  • Hi chasepooh,

    According to your description, I am not sure what cause the issue, I would suggest that you could debug your code and check what line of code cause the issue. you could also use database tools to connect the database and check if it spend much times.

    In addition, please check if network or firewall works well.

    Best regards,

    Cole Wu


    MSDN Community Support<br/> Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact <a href="mailto:MSDNFSF@microsoft.com">MSDNFSF@microsoft.com</a>.

    Thursday, May 4, 2017 2:17 AM
    Moderator
  • Is the machine architecture different on the older machines (more cores etc)? You have to factor in the machine architecture when you are dealing with a multithreaded application architecture. That may be your variable here.

    william xifaras

    Thursday, May 4, 2017 3:03 PM