Announcement

Collapse
No announcement yet.

New tool for undervolt/overclock AMD K8L and K10 processors

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

  • #11
    Originally posted by kfgz View Post
    Thx. Now it's working but I've notice one thing - when I monitor core usage while mrpime is running at 4 cores, tpc shows that only 3 cores are at 99% (core 2 is at 0%) but top/htop shows all 4 at 99%.
    Mmmh, thanks for reporting this. I need to investigate on this fact.

    Comment


    • #12
      try to rerun tpc, maybe some other program (or perhaps the kernel) is manipulating the processor counters.

      Also it would be nice if you could post here the output of the program launched with -pcgetinfo switch

      Comment


      • #13
        Originally posted by blackshard View Post
        try to rerun tpc, maybe some other program (or perhaps the kernel) is manipulating the processor counters.

        Also it would be nice if you could post here the output of the program launched with -pcgetinfo switch
        Here's mine. I have a 1055T, running boinc on all cores (htop shows 100% usage). Also the CPUs reporting zero usage have changed since my last run (~hour ago).

        Code:
        sudo ./bin/TurionPowerControl -cpuusage
        Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
        Detected CPU:
        Family: 0xf             Model: 0xa              Stepping: 0x0
        Extended Family: 0x10   Extended Model: 0xa
        Package Type: 0x1       BrandId: 0x50   
        Detected Physical Cores: 6
        Core 0 is using already set Performace Counter 0
        Core 1 is using already set Performace Counter 0
        Core 2 is using already set Performace Counter 0
        Core 3 is using newly set Performace Counter 0
        Core 4 is using already set Performace Counter 0
        Core 5 is using already set Performace Counter 0
        CPU Usage: core 0: 99 core 1: 99 core 2: 0 core 3: 100 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 100 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 99 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 99 core 1: 100 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 99 core 2: 0 core 3: 100 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 99 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 99 core 1: 100 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 100 core 4: 0 core 5: 0
        CPU Usage: core 0: 99 core 1: 100 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 99 core 1: 99 core 2: 0 core 3: 99 core 4: 0 core 5: 0
        CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 100 core 4: 0 core 5: 0
        Code:
        > sudo ./bin/TurionPowerControl -pcgetinfo
        Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
        Detected CPU:
        Family: 0xf             Model: 0xa              Stepping: 0x0
        Extended Family: 0x10   Extended Model: 0xa
        Package Type: 0x1       BrandId: 0x50   
        Detected Physical Cores: 6
        Core 0 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
        Core 0 - Perf Counter 1: EAX:151d6f7f EDX:108 - Evt: 0x7f En: 0 U: 1 OS: 0
        Core 0 - Perf Counter 2: EAX:501fdf3b EDX:7 - Evt: 0x3b En: 0 U: 1 OS: 1
        Core 0 - Perf Counter 3: EAX:1095bff3 EDX:20d - Evt: 0xf3 En: 0 U: 1 OS: 0
        Core 1 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
        Core 1 - Perf Counter 1: EAX:f897e74b EDX:30f - Evt: 0x4b En: 0 U: 1 OS: 1
        Core 1 - Perf Counter 2: EAX:f99fb418 EDX:107 - Evt: 0x18 En: 0 U: 1 OS: 1
        Core 1 - Perf Counter 3: EAX:d89bb04c EDX:107 - Evt: 0x4c En: 0 U: 1 OS: 1
        Core 2 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
        Core 2 - Perf Counter 1: EAX:151d6f7f EDX:108 - Evt: 0x7f En: 0 U: 1 OS: 0
        Core 2 - Perf Counter 2: EAX:501fdf3b EDX:7 - Evt: 0x3b En: 0 U: 1 OS: 1
        Core 2 - Perf Counter 3: EAX:1095bff3 EDX:20d - Evt: 0xf3 En: 0 U: 1 OS: 0
        Core 3 - Perf Counter 0: EAX:2b9db4f6 EDX:101 - Evt: 0xf6 En: 0 U: 1 OS: 0
        Core 3 - Perf Counter 1: EAX:3f95bbfe EDX:101 - Evt: 0xfe En: 0 U: 1 OS: 0
        Core 3 - Perf Counter 2: EAX:d13ab1f EDX:30e - Evt: 0x1f En: 0 U: 1 OS: 1
        Core 3 - Perf Counter 3: EAX:71d9d9d EDX:20a - Evt: 0x9d En: 0 U: 1 OS: 0
        Core 4 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
        Core 4 - Perf Counter 1: EAX:151d6f7f EDX:108 - Evt: 0x7f En: 0 U: 1 OS: 0
        Core 4 - Perf Counter 2: EAX:501fdf3b EDX:7 - Evt: 0x3b En: 0 U: 1 OS: 1
        Core 4 - Perf Counter 3: EAX:1095bff3 EDX:20d - Evt: 0xf3 En: 0 U: 1 OS: 0
        Core 5 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
        Core 5 - Perf Counter 1: EAX:f897e74b EDX:30f - Evt: 0x4b En: 0 U: 1 OS: 1
        Core 5 - Perf Counter 2: EAX:f99fb418 EDX:107 - Evt: 0x18 En: 0 U: 1 OS: 1
        Core 5 - Perf Counter 3: EAX:d89bb04c EDX:107 - Evt: 0x4c En: 0 U: 1 OS: 1

        Comment


        • #14
          Code:
          # tpc -pcgetinfo
          Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
          Detected CPU:
          Family: 0xf        Model: 0x4        Stepping: 0x2
          Extended Family: 0x10    Extended Model: 0x4
          Package Type: 0x1    BrandId: 0x1857    
          Detected Physical Cores: 4
          Core 0 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
          Core 0 - Perf Counter 1: EAX:8008f13f EDX:200 - Evt: 0x3f En: 0 U: 0 OS: 0
          Core 0 - Perf Counter 2: EAX:cc0af51d EDX:3 - Evt: 0x1d En: 0 U: 0 OS: 1
          Core 0 - Perf Counter 3: EAX:17cdbf EDX:20f - Evt: 0xbf En: 0 U: 1 OS: 1
          Core 1 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
          Core 1 - Perf Counter 1: EAX:320ea74b EDX:30a - Evt: 0x4b En: 0 U: 0 OS: 1
          Core 1 - Perf Counter 2: EAX:a06565f EDX:10a - Evt: 0x5f En: 0 U: 0 OS: 1
          Core 1 - Perf Counter 3: EAX:c084e30f EDX:309 - Evt: 0xf En: 0 U: 0 OS: 0
          Core 2 - Perf Counter 0: EAX:430076 EDX:0 - Evt: 0x76 En: 1 U: 1 OS: 1
          Core 2 - Perf Counter 1: EAX:8008f13f EDX:200 - Evt: 0x3f En: 0 U: 0 OS: 0
          Core 2 - Perf Counter 2: EAX:cc0af51d EDX:3 - Evt: 0x1d En: 0 U: 0 OS: 1
          Core 2 - Perf Counter 3: EAX:17cdbf EDX:20f - Evt: 0xbf En: 0 U: 1 OS: 1
          Core 3 - Perf Counter 0: EAX:3952649 EDX:a - Evt: 0x49 En: 0 U: 1 OS: 0
          Core 3 - Perf Counter 1: EAX:2291342c EDX:208 - Evt: 0x2c En: 0 U: 1 OS: 0
          Core 3 - Perf Counter 2: EAX:2a9e623b EDX:9 - Evt: 0x3b En: 0 U: 0 OS: 1
          Core 3 - Perf Counter 3: EAX:1a963c2b EDX:10f - Evt: 0x2b En: 0 U: 0 OS: 1
          With rerun, cpu usage is the same as before

          Code:
          # tpc -cpuusage
          Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
          Detected CPU:
          Family: 0xf        Model: 0x4        Stepping: 0x2
          Extended Family: 0x10    Extended Model: 0x4
          Package Type: 0x1    BrandId: 0x1857    
          Detected Physical Cores: 4
          Core 0 is using already set Performace Counter 0
          Core 1 is using already set Performace Counter 0
          Core 2 is using already set Performace Counter 0
          Core 3 is using newly set Performace Counter 0
          CPU Usage: core 0: 94 core 1: 99 core 2: 0 core 3: 99
          CPU Usage: core 0: 100 core 1: 99 core 2: 0 core 3: 100
          CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 99
          CPU Usage: core 0: 99 core 1: 100 core 2: 0 core 3: 99
          CPU Usage: core 0: 99 core 1: 100 core 2: 0 core 3: 100
          CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 99
          CPU Usage: core 0: 100 core 1: 99 core 2: 0 core 3: 100
          CPU Usage: core 0: 99 core 1: 99 core 2: 0 core 3: 100
          CPU Usage: core 0: 100 core 1: 100 core 2: 0 core 3: 99

          Comment


          • #15
            Yup, probably I found the bugs.

            You should be able to fix them yourselves editing the file K10Processor.cpp and changing these two instructions:

            at line 1017 change this line:
            Code:
            RdmsrPx (BASE_PESR_REG+perf_reg,&eaxMsr,&edxMsr,coreId+1);
            with this line:
            Code:
            RdmsrPx (BASE_PESR_REG+perf_reg,&eaxMsr,&edxMsr,1<<coreId);

            then at line 1207 change this line:
            Code:
            RdmsrPx (BASE_PESR_REG+perf_reg,&eaxMsr,&edxMsr,coreId+1);
            with this line:
            Code:
            RdmsrPx (BASE_PESR_REG+perf_reg,&eaxMsr,&edxMsr,1<<coreId);

            Then recompile and check if it works. Well, I hope it works...

            Comment


            • #16
              Originally posted by blackshard View Post
              Yup, probably I found the bugs.

              <snip/>

              Then recompile and check if it works. Well, I hope it works...
              Seems to work for me.

              Comment


              • #17
                One more bug (??) - CPU temp is equal 0

                Code:
                # tpc -temp
                Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
                Detected CPU:
                Family: 0xf        Model: 0x4        Stepping: 0x2
                Extended Family: 0x10    Extended Model: 0x4
                Package Type: 0x1    BrandId: 0x1857    
                Detected Physical Cores: 4
                Detected processor: AMD Family 10h Processor
                Processor has 4 cores
                Processor has 5 p-states
                
                Processor Tcl Temperature register: 0
                Processor temperature slew rate:slewing disabled
                Code:
                # sensors
                atk0110-acpi-0
                Adapter: ACPI interface
                Vcore Voltage:     +1.15 V  (min =  +0.85 V, max =  +1.60 V)
                +12V Voltage:     +12.48 V  (min = +10.20 V, max = +13.80 V)
                +5V Voltage:       +5.00 V  (min =  +4.50 V, max =  +5.50 V)
                +3.3V Voltage:     +3.38 V  (min =  +2.97 V, max =  +3.63 V)
                CPU FAN Speed:    1331 RPM  (min =  800 RPM)
                Chassis FAN Speed:   0 RPM  (min =  800 RPM)
                Power Fan Speed:   927 RPM  (min =  800 RPM)
                
                CPU Temperature:   +33.0?C  (high = +65.0?C, crit = +95.0?C)
                
                MB Temperature:    +45.0?C  (high = +45.0?C, crit = +95.0?C)

                Comment


                • #18
                  Originally posted by kfgz View Post
                  One more bug (??) - CPU temp is equal 0

                  <---cut--->
                  This is pretty strange.
                  I checked the documentation and code looks good.
                  I need to check by myself for this bug.

                  Again, thanks a lot for reporting!

                  Comment


                  • #19
                    sudo ./TurionPowerControl -temp issues

                    Thank you for the script!!!

                    I am running Linux Base-1 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux

                    Turion Power States Optimization and Control - by blackshard - v0.29.1 (alpha)
                    Detected CPU:
                    Family: 0xf Model: 0x5 Stepping: 0x2
                    Extended Family: 0x10 Extended Model: 0x5
                    Package Type: 0x1 BrandId: 0x3a86
                    Detected Physical Cores: 4
                    Detected processor: AMD Family 10h Processor
                    Processor has 4 cores
                    Processor has 5 p-states

                    Processor Tcl Temperature register: 0
                    Processor temperature slew rate:slewing disabled

                    Any suggestions for the 0 Temp?

                    Comment


                    • #20
                      Sorry for the ignorance, but it does support the Athlon Neo MV-40 preocessor? In case if not, it will suppor it?

                      Thanks in advance.

                      Comment

                      Working...
                      X