Jump to content

Question about CPU power draw

I have noticed that my CPU varies quite a bit in how much power it draws based on the workload, even with workloads that put 100 percent load on every thread.

 

I recently wrote a program in Java that generates images from the Mandelbrot set. It is multithreaded and puts a 100 percent load on my 8 core CPU while running. However when I check the power draw, its only around 85 watts. When I run something like a Blender render the CPU draws around 110 watts, and if I run a prime 95 stress test, it can draw up to 150 watts. All of these workloads report 100 percent usage across all cores, and the top boost clock is the same in each.

 

Can anybody explain this difference, I am just curious! 

 

Thank you! 

Link to comment
Share on other sites

Link to post
Share on other sites

I am most definitely not an expert but I believe this is due to each load having different length instruction pipelines and the instruction (for example, AVX is notorious for it) used in the process. Longer it works without a wait state = more heat it generates. I too would like to learn more if anyone knows more or if I am wrong.

mY sYsTeM iS Not pErfoRmInG aS gOOd As I sAW oN yOuTuBe. WhA t IS a GoOd FaN CuRVe??!!? wHat aRe tEh GoOd OvERclok SeTTinGS FoR My CaRd??  HoW CaN I foRcE my GpU to uSe 1o0%? BuT WiLL i HaVE Bo0tllEnEcKs? RyZEN dOeS NoT peRfORm BetTer wItH HiGhER sPEED RaM!!dId i WiN teH SiLiCON LotTerrYyOu ShoUlD dEsHrOuD uR GPUmy SYstEm iS UNDerPerforMiNg iN WarzONEcan mY Pc Run WiNdOwS 11 ?woUld BaKInG MY GRaPHics card fIX it? MultimETeR TeSTiNG!! aMd'S GpU DrIvErS aRe as goOD aS NviDia's YOU SHoUlD oVERCloCk yOUR ramS To 5000C18

 

Link to comment
Share on other sites

Link to post
Share on other sites

It has also to do with how much cache is used, how much the cpu has to hit the ram, and what instruction sets are used.

Your program is so small it may fit inside the level 2 cache of your cpu and basically have minimal ram access and use only the basic instruction sets.

Blender will use AVX and other instruction sets, and pi is very optimized.

Link to comment
Share on other sites

Link to post
Share on other sites

19 minutes ago, Levent said:

I am most definitely not an expert but I believe this is due to each load having different length instruction pipelines and the instruction (for example, AVX is notorious for it) used in the process. Longer it works without a wait state = more heat it generates. I too would like to learn more if anyone knows more or if I am wrong.

This pretty much is it. You have a set amount of processing power but how it is used determines the power draw.

Link to comment
Share on other sites

Link to post
Share on other sites

and it's Java. It is not a pure compiled programming language and your memory is managed by your JVM. So with that kind of architecture, it's diffucult to take advantage of the whole computing power of your CPU.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×