Author Topic: [Solved] Acad: 50% CPU when hanging; 9% CPU when working  (Read 5409 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 650
[Solved] Acad: 50% CPU when hanging; 9% CPU when working
« on: July 08, 2019, 06:42:15 AM »
(This happened on Map 2018; but I suppose this is a basic question).

AFAIK AutoCAD uses is not "multi-threading", so it uses only one thread. My PC has 6 Cores and 12 Threads, and when I run the Cadalyst-benchmark, I get a CPU of approx. 8% (100%Total / 12cores = 8% full load of one core).

See Picture.

When it "began to hang" in MAP 2018 - I can still work, but I see that the CPU is going to 20-25%. Continuing work, and then close database and close drawing - so Acad should to absolutely nothing - I have a stable CPU load of 50%, spread over all cores.

See other picture.

How can this happen? 50% on a one-thread-application?

Does it happen to others too?

« Last Edit: July 10, 2019, 04:31:39 AM by Peter2 »
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: Acad: 50% CPU when hanging; 9% CPU when working
« Reply #1 on: July 08, 2019, 08:27:04 AM »
Who knows. I doubt anyone at Autodesk could even answer this.
There are certain functions that are multi-threaded in ACAD however, such as rendering and Regen.

This document says only 2D regens....
https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Support-for-multi-core-processors-with-AutoCAD.html

while this Autodesk employee says it's for 2D regens _and_ rendering:
https://forums.autodesk.com/t5/autocad-forum/new-multithread-multi-core-support/m-p/8718450#M975483


dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Acad: 50% CPU when hanging; 9% CPU when working
« Reply #2 on: July 08, 2019, 11:04:04 AM »
Change to something like System Monitor to look at actual activity.  Seeing as this is Map3D there may be extra daemons/database "stuff" involved that doesn't apply to vanilla.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

Peter2

  • Swamp Rat
  • Posts: 650
Re: Acad: 50% CPU when hanging; 9% CPU when working
« Reply #3 on: July 10, 2019, 03:59:14 AM »
Just to add more information: I found that when Acad hangs (run with 16.6% CPU load) I have
- 8.33% CPU from acad.exe
- 8.33% CPU from AdDownloaderCore.dll

See image



EDIT:
Seem to be solved. Searching for AdDownloaderCore.dll brings a lot of results, starting from 2012 until 2018.
Solution:
rename the DLL

Links:
http://docs.autodesk.com/MAP/2013/ENU/files/readme-map.htm
https://forums.autodesk.com/t5/autocad-forum/autocad-uses-100-cpu-core/m-p/8402750/highlight/false
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/AutoCAD-does-not-respond-waiting-for-svchost-exe-process-in-Resource-Monitor.html

« Last Edit: July 10, 2019, 04:30:20 AM by Peter2 »
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23

rkmcswain

  • Swamp Rat
  • Posts: 978
Re: [Solved] Acad: 50% CPU when hanging; 9% CPU when working
« Reply #4 on: July 10, 2019, 07:25:22 AM »
@Peter2 - thanks for this valuable information, the screen shot, and the links!

MSTG007

  • Gator
  • Posts: 2598
  • I can't remeber what I already asked! I need help!
Re: [Solved] Acad: 50% CPU when hanging; 9% CPU when working
« Reply #5 on: July 10, 2019, 02:00:06 PM »
Thank you so much for sharing that. Its amazing what you find. lol
Civil3D 2020

Peter2

  • Swamp Rat
  • Posts: 650
Re: Acad: 50% CPU when hanging; 9% CPU when working
« Reply #6 on: July 11, 2019, 02:56:35 AM »
...
Solution:
rename the DLL
...

Maybe NOT solved.

Today morning, when starting the PC, a setup-routine for AutoCAD popped up.
I cancelled it, rebooted - same game.
I cancelled again, gave the DLL its original name, rebooted - and the  setup does not appear.

So maybe the diagnosis is OK, but not the therapy ...
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23