Announcement

Collapse
No announcement yet.

Processor, Memory, OS, SSD and TPM information

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    If I understand you well... Let's assume we have 2 CPU's .
    So, I should get clock speed for first CPU and second CPU. Compare them and return data for faster cpu... Than can be done relatively easy.

    Btw, most computers have 1 CPU and 1 graphic card.
    OFICJALNY POLSKI PAKIET JĘZYKOWY WINAMPA

    Polski Pakiet Językowy Winampa 5.91.0.10029
    (WINAMP 5.91.0.10029)
    Polski Pakiet Językowy Winampa 5.6.6.3516 (WINAMP 5.6.6.3516)

    WINAMP PL | NSIS PL | WINAMP ICON PACKS | WINAMP COLOR THEMES | ULTIMATE FILE MANAGER

    !!! PLEASE DONATE !!!

    Comment


    • #17
      Just to clarify, when I say CPU (in software) I mean physical core or logical core, never physical package/socket. Most CPUs these days have multiple physical cores.

      A physical CPU package (the hardware chip you see on the motherboard with your eyes) is usually just one except on big servers. They contain one or several physical cores. Each physical core is able execute one or several logical cores (hyper threading).

      GetFastestCPUMaximumCoreSpeed should compare either every physical core or every logical core. The result should be the same AFAIK but testing logical cores may be easier.


      (2 physical packages, 4 cores in each for a total of 8. 16 logical cores in total.)
      IntOp $PostCount $PostCount + 1

      Comment


      • #18
        Originally Posted by Anders View Post
        Just to clarify, when I say CPU (in software) I mean physical core or logical core, never physical package/socket. Most CPUs these days have multiple physical cores.
        I fully agree. But, the plugin purpose is to show basic PC parameters to know software can be installed or not.

        As you said, almost all PC has single CPU (with many cores/logical cores). But, in my opionion I don't need to get speed of single core. Just max clock is enough to know user can run installed software or not.

        Example:
        Let's assume that installed software require at least:
        Specification:
        - CPU 2 [GHz]
        - RAM 8 [GB]
        - VRAM 2 [GB]

        NSIS script can get that data using the SysInfo plugin and make a comparison.
        User:
        - CPU 2.4 [GHz] -> OK
        - RAM 16 [GB] -> OK
        - VRAM 1 [GB] -> ! -> Can not install - not enough memory.


        There is a small problem with multiple devices, best example is Video Adapter (Graphic Card). My laptop has 2 GPU:
        - integrated with CPU (Intel 4600)
        - dedicated GPU (GeForce GTX 850M)
        What is the best way to choose better one? I decided to use the following alghoritm.

        I get graphics card RAM ("AdapterRAM" in WMI Win32_VideoController class query) for each graphic card and gather data for GPU with more RAM. Simple and easy!

        Of course, the problem is that in my laptop my GeForce is Offline (Intel is active). However, NVIDIA GPU is more powerfull and this is the choice (if user for example install a game that requires more GPU RAM).

        I will try to implement this in SysInfo 1.1
        OFICJALNY POLSKI PAKIET JĘZYKOWY WINAMPA

        Polski Pakiet Językowy Winampa 5.91.0.10029
        (WINAMP 5.91.0.10029)
        Polski Pakiet Językowy Winampa 5.6.6.3516 (WINAMP 5.6.6.3516)

        WINAMP PL | NSIS PL | WINAMP ICON PACKS | WINAMP COLOR THEMES | ULTIMATE FILE MANAGER

        !!! PLEASE DONATE !!!

        Comment

        Working...
        X