CPU Counter not going past 32

Forums Desktop Info CPU Counter not going past 32

Tagged: 

  • This topic has 13 replies, 1 voice, and was last updated 1 week ago by GlennGlenn.
Viewing 11 reply threads
  • Author
    Posts
    • #2990 Reply
      AvatarSR

      The CPU counter will not go past 32. I have updated to the latest 2.5 version. I made sure the DesktopInfo64.exe is running. Thank you

      SR

      1+
    • #2994 Reply
      GlennGlenn
      Keymaster

      If you’re reporting a bug or asking for help, I need as much information as you can give me. Simply stating a thing doesn’t work is no help to me. Please include the following information:

      Windows version
      Product version
      A full and accurate description of the problem or error
      The expected output
      The actual output
      For Desktop Info, a code snippet from the ini file of the items in question or just the whole ini file

      0
    • #2996 Reply
      AvatarSR

      I apologize for not providing all the information. Please see the following:

      Windows Version:

      Server 2016 Standard & Datacenter (Tested on All builds)
      Server 2019 Standard & Datacenter (Tested on All builds)

      Desktop Info v2.4 to latest

      Problem Description:

      CPUCOUNT=%1
      – the variable will not display a CPU count over 32. If the server has 64 CPUs it will only show 32 no matter what.

      My DESKTOP.INI file:

      [options]

      font-face=Segoe UI
      font-size=12
      cleartype=1
      ssfontsize=18

      Contextmenu=0
      nav=0

      DesktopInfo64=1

      [items]

      HOST=active:1,color:000099,style:b,font-size:16

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      USER=%1,color:00ccff,style:b

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      BOOTTIME=active:1,interval:0,color:000099,style:b,font-size:9
      UPTIME=set:uptime,display:%1d :%2h :%3m :%4s,color:000099,style:b,font-size:9

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      CPUCOUNT=%1,color:00ccff,style:b
      WMI=active:1,interval:5,hide-no-result:1,text:Cpu Temp,namespace:root\wmi,query:MSAcpi_ThermalZoneTemperature,display: {{1.1f:%CurrentTemperature%/10-273.15}}C / {{1.1f:%CriticalTripPoint%/10-273.15}}C
      CPU=active:1,interval:3,chart:line linear 100 1 00ff00 2 bb00bb,threshold1:1 80 0000ff,style:b,threshold2:2 40 0000ff,style:b,display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Queue: %3,color:00ccff,style:b

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      PHYSICALRAM=active:1,interval:5,color:000099,style:b,threshold1:3 80 0000FF,style:b,display:%1[3.1b]B / %2[3.1b]B (%3% used)

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      WMI=active:1,interval:3,hide-no-result:1,color:60e8ff,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 4000000 2222ee,threshold2:2 4000000 1010f0,text:Wifi Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Atheros AR9285%”,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: %CurrentBandwidth%[1.0B]B,color:00ccff,style:b,font-size:9
      WMI=active:1,interval:3,hide-no-result:1,color:60e8ff,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 4000000 2222ee,threshold2:2 4000000 1010f0,text:Ethernet Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Ethernet%” and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: %CurrentBandwidth%[1.0B]B,color:00ccff,style:b,font-size:9
      NETPACKETSRATE=active:1,interval:5,color:00ccff,chart:1,threshold:500,tcolor:000099,style:b,font-size:9
      NETWORKADAPTER=active:1,interval:30,color:00ccff,style:b,activeonly:0,count:20,filter:
      NETWORKINTERFACES=active:1,display:MAC: %4|IP: %8 — %5 MTU|GW: %17,color:00ccff,style:b,font-size:9,descfilter:+vmxnet3

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      DOMAIN=active:1,interval:30,color:000099,style:b,style:b,font-size:9
      DOMAINCONTROLLER=active:1,interval:30,color:000099,style:b,style:b,font-size:9

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      LOGICALDRIVES=active:1,interval:5,diskio:1,chart:bar linear 100 7 75,threshold1:11 10000000 0000f0,threshold2:13 10000000 0060f0,row-text:Drive %1:%3|(%2),display:%6[1.0B]B/%5[1.0B]B (%7[1.1f]% used)|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17\, i: %19%,color:00ccff,style:b,font-size:9

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      OSBUILD=%1,color:000099,style:b,style:b,font-size:9

      COMMENT=active:1,interval:0,color:777777,style:b,text:—

      set=key:battery1,value:Disconnected,color:000099,style:b
      set=key:battery2,value:Connected,color:000099,style:b

      0
    • #2997 Reply
      GlennGlenn
      Keymaster

      Thanks for the info. The CPUCOUNT item uses the HKEY_PERFORMANCE_DATA registry key. The CPUUSAGE item also uses this key so I expect that will suffer the same issue.

      Microsoft says this key is not subject to wow64 redirection so I can’t explain what is causing the limitation.

      I’ll raise a bug and study the code.

      0
    • #3005 Reply
      GlennGlenn
      Keymaster

      Well I’ve studied the code and I can’t see anything that would limit the cpu count. I’ve searched about and haven’t found anyone talking about any limitations with HKEY_PERFORMANCE_DATA. So it remains a mystery until I can either get hold of a 64 cpu machine or figure out how to simulate one.

      Are you able to see the 64 processors using other tools such as Task Manager, Resource Monitor etc?

      0
    • #3022 Reply
      AvatarSR

      Hello Glenn,

      Yes,

      In task manager and sys info I can see the accurate count. These are virtual servers so I can change the count on the fly and see the change take effect. I am also happy to set up a remote session if you would like and test real-time. Your application is amazing and the CPU COUNTER is vital for my purposes. My cell is 213-270-4025.

      SR

      0
      • #3023 Reply
        GlennGlenn
        Keymaster

        How are the virtual servers set up? Is that something I can do?

        0
    • #3029 Reply
      GlennGlenn
      Keymaster

      Can you check the following on your computer

      1. Run perfmon.exe
      2. Select the Performance Monitor node on the tree.
      3. In the chart window on the right, right click and select Add Counters.
      4. In the list on the left, find and select the Processor category.
      5. If this category is missing, the Processor performance counters are not installed.
      6. If the category is present you will see entries in the list view below for “Total”, “” and several numbers representing the cpu cores on the system.

      0
    • #3051 Reply
      AvatarSR

      Hello Glenn,

      Apologies for the tardy response. I have been jamming on some COVID projects for work. So I followed your steps and it does show the 64 Cores. Is there a way I can email you the screen shots?

      The virtual servers are on a VMware environment running ESXi 6.7U3 with vSphere 6.7U3. The Hosts are a mix of R940xa and FC630s Sleds inside FX2s Chasses.

      Regards,

      SR

      0
      • #3055 Reply
        GlennGlenn
        Keymaster

        Screen shots not needed. If those performance counters shows 64 cores, I’ll have to think what to do next. I don’t have access to VMWare. I tried to run a VM with 64 cores using qemm but my machine is not up to the task.

        0
    • #3167 Reply
      AvatarSiddharth Raj

      If you would like to setup a time to do a remote session to see if you can figure out the problem I would be open to that. I would like to get it see it working!

      Regards,

      SR

      0
    • #3168 Reply
      GlennGlenn
      Keymaster

      This has nothing to do with the problem but I found it a reasonable discussion on virtual CPUs.

      0
    • #3169 Reply
      GlennGlenn
      Keymaster

      Would you say that your machine has 32 physical processors and 64 logical processors?

      • This reply was modified 1 week ago by GlennGlenn.
      Attachments:
      0
    • #3172 Reply
      GlennGlenn
      Keymaster

      what about the environment variable, NUMBER_OF_PROCESSORS ?

      0
Viewing 11 reply threads
Reply To: CPU Counter not going past 32
Your information:




Cancel
Do NOT follow this link or you will be banned from the site!