Windows 10: Performace of malloc/free is very slower than Windows 7

Discus and support Performace of malloc/free is very slower than Windows 7 in Windows 10 Performance & Maintenance to solve the problem; Hello all, I've created a simple program for measuring malloc() and free() by QueryPerformanceCounter() in a few byte size like this. Code: for... Discussion in 'Windows 10 Performance & Maintenance' started by pleiades92, Sep 26, 2016.

  1. Performace of malloc/free is very slower than Windows 7


    Hello all,

    I've created a simple program for measuring malloc() and free() by QueryPerformanceCounter()
    in a few byte size like this.

    Code: for (int i = 0; i < 100; i++) {QueryPerformanceCounter(&gStart);p = malloc(size);free(p);QueryPerformanceCounter(&gEnd);printf("%d, %g\n", i, gEnd.QuadPart-gStart.QuadPart);if (p == NULL)printf("ERROR\n", size); }[/quote] As a result of measuring this program in both windows 7 and windows 10 in same PC,
    I've noticed performance of malloc() and free() in windows 10 is very slower than windows 7.

    Below table is 100 time average of malloc() and free() execution time.
    bytes for malloc/free windows 7 (sec) windows 10 (sec) windows 10 / 7 1 0.000006553 0.000008245 1.258 100 0.000007092 0.000010218 1.441 1000 0.000009091 0.000012938 1.423 10000 0.000008815 0.000015623 1.772 100000 0.000225812 0.000326278 1.445 1000000 0.000574674 0.000972999 1.693 10000000 0.000391392 0.004254411 10.870 100000000 0.000602178 0.038713946 64.290
    In all data size , especially over 10000000 byte, windows 10 is slower than windows 7.

    Do you have any suggestions to improve this performance on windows 10?
    I believe windows 10 has some switch for this.

    Regards,

    :)
     
    pleiades92, Sep 26, 2016
    #1
  2. Rakeyay Win User

    error code 0x803F7003

    The only advantages from upgrading are you are get slightly better performace on slower computers/laptops and due to the DX12 support, high spec PCs will perform slightly better. OTher than that win10 is just annoying, I lasted just over a week with it,
    then went back to windows 7.
     
    Rakeyay, Sep 26, 2016
    #2
  3. mortamer Win User
    slow game play windows 10

    I down loaded free windows 10 spider solitaire and it runs slower than I do? Is this typical? Windows 7 games ran fast.
     
    mortamer, Sep 26, 2016
    #3
Thema:

Performace of malloc/free is very slower than Windows 7

Loading...
  1. Performace of malloc/free is very slower than Windows 7 - Similar Threads - Performace malloc free

  2. Internet becoming slower and slower than usual

    in Windows 10 Software and Apps
    Internet becoming slower and slower than usual: I notice it recently but my download and upload sleep was dropping. I notice it by playing my game and I keep lagging. I check always my adapter and network but ther seems no problem. Is there any options to check what causes this?...
  3. Internet becoming slower and slower than usual

    in Windows 10 Gaming
    Internet becoming slower and slower than usual: I notice it recently but my download and upload sleep was dropping. I notice it by playing my game and I keep lagging. I check always my adapter and network but ther seems no problem. Is there any options to check what causes this?...
  4. internet becoming slower and slower than usual

    in Windows 10 Gaming
    internet becoming slower and slower than usual: I don't know what may cause the prboelm but I notice that my download and upload speed is deopping I noticed it when I'm playing my game, however I don't know what might be the reason behind it, I always do troubleshootimg in network adapter but recently it's not working...
  5. internet becoming slower and slower than usual

    in Windows 10 Network and Sharing
    internet becoming slower and slower than usual: I don't know what may cause the prboelm but I notice that my download and upload speed is deopping I noticed it when I'm playing my game, however I don't know what might be the reason behind it, I always do troubleshootimg in network adapter but recently it's not working...
  6. SD Reader on Surface Pro 7 is slower than Moses!

    in Windows 10 Drivers and Hardware
    SD Reader on Surface Pro 7 is slower than Moses!: Just purchased a Surface Pro 7 and I have to report that the SD card reader is so slow, if it were going any slower, it'd be going backwards in time. Any idea how to fix this? I tried updating everything I could thing of. Thanks...
  7. performace

    in Windows 10 Customization
    performace: Right click is not responding on desktop and rest windows is working good. As I right click on desktop, timer icon appears and no response is displayed. https://answers.microsoft.com/en-us/windows/forum/windows_10-start-win_desk/performace/9d4655b5-2ce2-440a-a6fd-e64773bef7e0
  8. Windows 10 internet slower than windows 7

    in Windows 10 BSOD Crashes and Debugging
    Windows 10 internet slower than windows 7: Hello, I have recently got a new windows 10 PC. However, I am unfortunately gaining severely low internet speeds in comparions to my old system. I have moved the cable from one PC to the other, with my existing windows 7 PC getting over 100mb on speedtest, however with the...
  9. Windows 10 32bit slower on SSD than Windows 7

    in Windows 10 Performance & Maintenance
    Windows 10 32bit slower on SSD than Windows 7: Have upgraded from Win 7 to Win 10 a few times already and keep going back to Win 7 'cause it system slows down (start up and shutdown) after second reboot on Win 10. It takes about 30 seconds to load on Win with all kinds of installed programs. Win 10 takes at least...
  10. Programs load slower than windows 7

    in Windows 10 Performance & Maintenance
    Programs load slower than windows 7: So I upgraded finally after I felt that windows 10 was on the right track. I noticed my programs load 5 to 8 seconds slower than with windows 7. I have 2 ssd drives and sometimes when I am searching for a file it will tell me "WORKING ON IT". This never happened with windows...