Announcement

Collapse
No announcement yet.

Need Beta testers for CoreMod

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

  • Need Beta testers for CoreMod

    Hi All,
    I have programmed a software to read clock frequencies, ratio, temperatures of the Intel Core i7
    It also give details from BIOS: proc, mb, ram, ...
    I need some Linux users and Core iX to tell me what's work or not
    Fyi my testbed is a Bloomfield 920 + Rampage II Gene X58 + 12 GB DDR3 (3x2 Corsair + 3x2 OCZ)

    Source code is available in my wiki:

    http://wiki.cyring.fr/index.php?title=CoreMod

    U just need to compile and run as root

    Let me know how it goes ?

    Regards,
    CyrIng

  • #2
    I thought there is already i7z for this task.

    Comment


    • #3
      Originally posted by Kano View Post
      I thought there is already i7z for this task.
      Off course, i7z is a great software and far away than mine, such as C STATS.
      However it does not fetch the Base Clock from BIOS, but does a division between current estimated frequency and Core ratio from MSR registers.

      I wanted another path which opened me to the BIOS instrumentation and the structure of components.

      If feasible, my next goal is to deal with core moding and on fly overclocking.

      To be short my main motivation was and is to go deep into the i7 & others specifications and share these readings through my software. DIY is my best way to learn.

      Any help & suggestion are welcomed. It's opened source.

      CyrIng

      Comment


      • #4
        How about doing a tar.gz with at least a makefile (to compile and clean)? I do not intend to use copy+paste and remove numbers later. You can use git as well.

        Comment


        • #5
          Dealing with Howto Makefile + the 14K lines of the gcc manual take me more time than programming
          So far I wrote this and it just don't do what I want
          coremod --> bin
          coremod.o --> obj
          Code:
          CC = gcc
          CFLAGS = -O0
          APP_SRC=./coremod.c
          APP_INC=./coremod.h
          APP_OBJ=./obj/coremod.o
          APP_BIN=./bin/coremod
          #
          all : $(APP_BIN)
          #
          clean :
          	-@rm $(APP_BIN) $(APP_OBJ)
          #
          $(APP_BIN) : $(APP_OBJ)
          	$(CC) -o $(APP_BIN) $(APP_OBJ)
          #
          $(APP_OBJ) : $(APP_SRC) 
          	$(CC) $(CFLAGS) -c $(APP_SRC) $(APP_INC)

          Comment


          • #6
            Well i tried it without, compared to i7z you can not run show the frequency all the time, why not? If you want to test some more flags, how about aes, avx, ht? Why do i get:
            Code:
                    Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz       
                    Base clock  @ 100 MHz
                    Overclocked @ 3123 MHz
                    1/4 cores enabled, 2 threads detected.
                    Socket : LGA1155
                    Tension: 1.0 V
                    L1-Cache [ 256]     L2-Cache [1024]     L3-Cache [8192]
            I am sure my cpu has 4 cores + ht.

            Comment


            • #7
              Originally posted by Kano View Post
              Well i tried it without, compared to i7z you can not run show the frequency all the time, why not? If you want to test some more flags, how about aes, avx, ht? Why do i get:
              Code:
                      Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz       
                      Base clock  @ 100 MHz
                      Overclocked @ 3123 MHz
                      1/4 cores enabled, 2 threads detected.
                      Socket : LGA1155
                      Tension: 1.0 V
                      L1-Cache [ 256]     L2-Cache [1024]     L3-Cache [8192]
              I am sure my cpu has 4 cores + ht.
              Thanks a lot for this shoot. It's a great help

              If by "all the time" you mean showing in a loop, that's definitely a functionnality to add which would be completed by some triggers [+] [-] to up & down the cores ratio, for instance.

              About the issue, it seems to be a wrong reading of the SMBIOS or this last one is badly populated.
              At least, some attributes looks OK, such as your CPU name, frequencies, socket and caches.

              I don't have your i7 model (mine is the Bloomfield) but I much check for its factory value. Or you can reply if the tension is true or false ?

              I do agree with you: the core counting is wrong and I see 2 reasons why.
              - my software is buggy : the answer might be around the lines 180 of coremod.h (SMBIOS_PROCINFO_PACKED and the structure SMBIOS4) or the routine SMB_Read_Structure @ line 110 in coremod.c
              - It could also mean that the DMI instrumentation by the motherboard manufacturer is not fully compliant. (but it is too easy for me to say )

              I'm using ArchLinux and there's a tool called dmidecode; it should available for any distrib.

              Code:
              dmidecode -t 4
              The last lines of the displayed structure will confirm or not the "Core Count", "Core Enabled" and "Thread Count"

              Regards
              CyrIng

              Comment


              • #8
                Yes there i see the same, but is is not correct. You can easyly get the number of cores (+ht):
                Code:
                grep -c "model name" /proc/cpuinfo 
                8
                Btw. i7z shows 4 cores, HT, Turbo.

                Comment


                • #9
                  Originally posted by Kano View Post
                  Yes there i see the same, but is is not correct. You can easyly get the number of cores (+ht):
                  Code:
                  grep -c "model name" /proc/cpuinfo 
                  8
                  Btw. i7z shows 4 cores, HT, Turbo.
                  Because if you look its sources, i7z parse the same file as you do : /proc/cpuinfo and CPUID

                  So what does it means, the SMBIOS of your board might be badly implemented.
                  I wonder how many motherboards will cross the same issue.
                  I also ask myself if the MS Windows WMI API supply the same values ?

                  Comment


                  • #10
                    Also about HT and other features, it is just matter of time for me to work more on CPUID, but it requires to understand Intel's specs and that's a job

                    Comment


                    • #11
                      Well HT is a major info when you count the cores with /proc/cpuinfo. Should not be that hard however. Other systems do not have got those dmi values you parse, so better forget em.

                      Comment


                      • #12
                        It works with my motherboard : ASUS Rampage 2 Gene
                        The HT status is retrieved from SMBIOS (my dmi is a 2.5 release)

                        As I said I have to rely on something else. I believe CPUID or MSR are the key.
                        I may also give a look into kernel sources how it builds /proc/cpuinfo
                        So far, I have programmed a nice Makefile, and I'm building a virtual server to provide code files.

                        Comment


                        • #13
                          DDR3 Timings

                          I have released my source code to display the DDR3 Timings

                          1- download Source/C/DDR3_Timings/timings.c in the code server
                          2- compile
                          Code:
                          cc timings.c -o timings
                          3- run as root
                          Code:
                          sudo ./timings
                          Folks, I just need your tests !
                          Let me know if it matches your BIOS settings ?

                          Comment


                          • #14
                            Originally posted by Kano View Post
                            How about doing a tar.gz with at least a makefile (to compile and clean)? I do not intend to use copy+paste and remove numbers later. You can use git as well.
                            +1 for the tarball

                            Comment


                            • #15
                              Originally posted by deanjo View Post
                              +1 for the tarball
                              timings.c is so tiny !
                              it just requires to do a cc

                              btw, this code will join next release of CoreMod which have the whole thing (Makefile, tgz)

                              Comment

                              Working...
                              X