Windows 10: Multithreading Performance issue in windows 10

Discus and support Multithreading Performance issue in windows 10 in Windows 10 BSOD Crashes and Debugging to solve the problem; Hi, I have a program developed in VB.Net a specific operation in the application uses memory(arrays) to store the details. We use threading in the... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by Yuvarajt25, Aug 24, 2018.

  1. Multithreading Performance issue in windows 10


    Hi,

    I have a program developed in VB.Net a specific operation in the application uses memory(arrays) to store the details. We use threading in the application.

    The application was running perfectly around 15 mins in Windows 7 OS. The problem started when we have migrated into new OS i.e. Windows 10.

    It takes around 3 hours to complete the same operation which looks abnormal in any kind of application.

    Can any one help me out this to sort this down?

    Sys Config: Win'10 Intel(R) Core(TM) i5-7500T CPU @ 2.70GHz 2.71GHz, 8GB RAM, 4 Core

    Win'7 Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz 3.20GHz, 4GB RAM, 4 Core.

    The code which taking more time to get execute is added here:


    Private Sub ComputeAverageMark(ByVal ExamAndMarkDS As DataSet, ByRef ErrorDetailsObj As ErrorDetails)
    Try
    Dim ExamValue As New Exam
    Dim ExamForAnalysisValue As New ExamForAnalysis
    Dim ExamDT As New DataTable
    Dim ExamListArgsValue As ExamListArgs
    Dim MarkDT As New DataTable
    Dim count As Integer = 0
    Dim ExamListArgsList As New List(Of ExamListArgs)

    ExamDT = ExamAndMarkDS.Tables(
    0)
    MarkDT = ExamAndMarkDS.Tables(
    2)

    Dim MarkHashTable As Hashtable = GetMarkHashTable(MarkDT)

    For Each ExamDR As DataRow In ExamDT.Rows

    count = count +
    1
    If MarkHashTable.ContainsKey(ExamDR.Item("ExamName")) Then
    MarkDT = MarkHashTable(ExamDR.Item(
    "ExamName"))
    Else
    MarkDT = MarkDT.Clone
    End If

    ExamListArgsValue =
    New ExamListArgs(ExamDR, False, MarkDT, True, 1, ErrorDetailsObj)

    ExamListArgsList.Add(ExamListArgsValue)

    If count >= 100 Then
    Dim paralleOptions As New ParallelOptions
    paralleOptions.MaxDegreeOfParallelism =
    4

    Parallel.ForEach(ExamListArgsList.ToArray, paralleOptions,
    Sub(ExamListArgs)
    ComputeAverageMark(ExamListArgs)
    End Sub)
    ExamListArgsList.Clear()
    count =
    0
    End If

    Next

    If count > 0 AndAlso count < 100 Then
    Dim paralleOptions As New ParallelOptions
    paralleOptions.MaxDegreeOfParallelism =
    4
    Parallel.ForEach(ExamListArgsList.ToArray, paralleOptions,
    Sub(ExamListArgs)
    ComputeAverageMark(ExamListArgs)
    End Sub)
    End If

    Catch ex As Exception
    Throw ex
    End Try
    End Sub


    Thanks in advance

    Regards,

    Yuvaraj

    :)
     
    Yuvarajt25, Aug 24, 2018
    #1

  2. Performance issues with File Explorer in Windows 10

    Hello,

    Thank you for your reply, appreciate the time taken by you in keeping us updated on the status of the issue.

    As the issue still persists, I suggest you to try the below steps and check if this helps.

    I would suggest you to perform System Maintenance troubleshooter on the computer and check if it fixes the issue.

    Please follow the steps to perform System maintenance check to improve performance of the computer:


    • Press Windows and x key together and select Control Panel.

    • Click on Troubleshooting.

    • Click on View all on the left side panel.

    • Click on System Maintenance and follow the onscreen instructions.

    I also suggest you to install the latest Windows updates and check.

    Windows Update helps keep your computer up to date with the latest system updates and drivers. You can check Windows Update manually to help ensure you have the latest updates.


    • Hit Windows Key and type

    • Type Windows Updates

    • Click on Windows Updates

    • Click on Check for updates
      and install the latest windows updates.
    Hope this helps. Please do let us know if you need any further assistance.
     
    ThofikhAhamad, Aug 24, 2018
    #2
  3. Ahhzz Win User
    Windows 10 Tweaks

    Pressing “Windows+Pause Break” (it’s up there next to scroll lock) opens the “System” Window.

    Windows 10: In the new version of Windows, Explorer has a section called Quick Access. This includes your frequent folders and recent files. Explorer defaults to opening this page when you open a new window. If you’d rather open the usual This PC, with links to your drives and library folders, follow these steps:

    • Open a new Explorer window.
    • Click View in the ribbon.
    • Click Options.
    • Under General, next to “Open File Explorer to:” choose “This PC.”
    • Click OK


    credit to Lifehacker.
     
    Ahhzz, Aug 24, 2018
    #3
  4. Multithreading Performance issue in windows 10

    Issues with the performance and the connectivity in Windows 10

    Hi Krishna,

    Please answer the below questions to assist you better.

    1. When you say “connectivity” what is the exact issue you are facing?

    2. Did you make any changes in the settings of the system prior to this issue?

    As you say that the system is slow and the file explorer doesn't responds well i suggest you to perform the System Maintenance troubleshooter which improves the performance of the computer. Follow the below methods and check if it helps.

    Method 1: Run the System Maintenance troubleshooter

    Please follow the steps to run System Maintenance troubleshooter on the computer:

    • Type “Control Panel” on the search box.
    • Click on Troubleshooting.
    • Click on View all option on the left side of the Windows.
    • Click on System Maintenance option.
    • Click on Next and follow the onscreen instructions to troubleshoot the issue.
    • Check if it has improved the performance.
    If you are facing issues with the connectivity I suggest you to refer the Microsoft article and perform all the troubleshooting steps and check if it helps.

    Fix network connection issues

    http://windows.microsoft.com/en-us/windows-10/fix-network-connection-issues

    Hope this helps in issues with the performance of the computer and the connectivity.
    Please do let us know if you need further assistance, we’ll be glad to assist you.
     
    Anup Karkal, Aug 24, 2018
    #4
Thema:

Multithreading Performance issue in windows 10

Loading...
  1. Multithreading Performance issue in windows 10 - Similar Threads - Multithreading Performance issue

  2. Performance issue with windows 10.

    in Windows 10 Gaming
    Performance issue with windows 10.: So I built a new PC that has no problems and I decided to put in my hard drive from my previous computer into it. I activated windows any everything. I updated windows and all my drivers. But my PC is very slow at loading things like chrome, and my videos are buffering and I...
  3. Performance issue with windows 10.

    in Windows 10 BSOD Crashes and Debugging
    Performance issue with windows 10.: So I built a new PC that has no problems and I decided to put in my hard drive from my previous computer into it. I activated windows any everything. I updated windows and all my drivers. But my PC is very slow at loading things like chrome, and my videos are buffering and I...
  4. Multithreading Windows Update

    in Windows 10 Installation and Upgrade
    Multithreading Windows Update: Is there any way to enable multi-threading for Windows Update in 10? I just re-enabled updates and saw the process take a long time to complete, all while using roughly 16% of my Core i7-4790K. Which was basically only 1 processor out of 8 logical processors. My SSD barely...
  5. Performance issues with Windows 10

    in Windows 10 BSOD Crashes and Debugging
    Performance issues with Windows 10: I have scanned my PC with Malwarebytes, Bitdefender, Roguekiller, Super Antispyware, Microsoft Defender Offline, and Microsoft Safety Scanner. But all of them detected no threats and no unwanted programs. My PC's version is 20H2, and I have updated all to the latest. I have...
  6. Windows 10 Performance issue

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 Performance issue: Hello there, My Windows 10 PC , was running fine for months, but from last week abruptly started slowing, as soon as windows logs on, no internet connectionconnected via Wifi even though i could connect through laptops and phone devices, commands @ command prompt isnt...
  7. windows 10 performance issue

    in Windows 10 BSOD Crashes and Debugging
    windows 10 performance issue: auto restart and slow one app open take 10 second how to fix https://answers.microsoft.com/en-us/windows/forum/all/windows-10-performance-issue/ae68cf08-d670-4b49-90b3-cb4c6ffc8cd9
  8. Windows 10 Performance issue

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 Performance issue: Why is it that lately the screen on one of my Windows 10 PCs just goes blank and displays the following message: “Reboot and select proper Boot device or insert Boot Medium in selected Boot device and press a key” Then, if I turn off the PC and restart, Windows 10 boots...
  9. Windows 10 Performance Issues

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 Performance Issues: After upgrading from windows 7 to windows 10 I am experiencing much lower battery life (even with battery saver). I am also having slow performance on startup and freezing/crashing from time to time. Is there anything I can do to fix this or should I try to go back to Windows...
  10. Windows 10 performance issue

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 performance issue: Hello, I bought a new laptop with the following configuration 1. 1TB HDD 2. 4 GB RAM 3. Intel i3 8 gen 4. Windows 10 From the start of the day, it's taking more than 20 sec to respond on any action, Like File Explorer, Edge etc I didn't installed any external...

Users found this page by searching for:

  1. multithreading windows 10