Results 1 to 25 of 56

Thread: Phenom TLB Disable Tool and Phenom MSR tweaking tool

Hybrid View

  1. #1
    Xtreme Addict
    Join Date
    Sep 2007
    Location
    Munich, DE
    Posts
    1,401
    @sam2008: fyi the source code for crystalcpuid and sysinfo can be downloaded here.

    http://dl.crystaldew.info/download/C...PUID414Src.zip

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    Thanks justapost . Had I known about this, it would have saved me tons time from reading the assembly code in the sysinfo.dll to get the functions needed for doing readmsr/writemsr. Good thing is I won't be in legal trouble if I disclose the code,. I can also post my source code if you guys need it.

    Quote Originally Posted by justapost View Post
    @sam2008: fyi the source code for crystalcpuid and sysinfo can be downloaded here.

    http://dl.crystaldew.info/download/C...PUID414Src.zip
    Last edited by sam2008; 03-20-2008 at 07:40 AM.

  3. #3
    Xtreme Addict
    Join Date
    Sep 2007
    Location
    Munich, DE
    Posts
    1,401
    Quote Originally Posted by sam2008 View Post
    Thanks justapost . Had I known about this, it would have saved me tons time from reading the assembly code in the sysinfo.dll to get the functions needed for doing readmsr/writemsr. Good thing is I won't be in legal trouble if I disclose the code,. I can also post my source code if you guys need it.
    Yeah, realized it cuz i had forgotten my benchmark software usb stick and had to download it again.
    So I dropped my plans to write an gui tool for multi management. CrytalCPU has multi management for intel chips which should be extendable to support phenoms p-states.
    But at the moment i'm more interested in writing an power saving module with tweakable p-states for linux.

  4. #4
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    justapostSounds interesting. Although I am not very familiar with Linux programing. If GCC supports inline assembly code, it might work.


    Code:
    __declspec(naked) void Ring0ReadMSR()
    {
    _asm
    {
    rdmsr
    mov [ebx],eax
    mov [edi],edx
    retf
    }
    }
    
    //////////////////////////////////////////////////////////////////////
    // WRMSR
    //////////////////////////////////////////////////////////////////////
    __declspec(naked) void Ring0WriteMSR()
    {
    _asm
    {
    mov eax,[ebx]
    mov edx,[edi]
    wrmsr
    retf
    }
    }
    Quote Originally Posted by justapost View Post
    Yeah, realized it cuz i had forgotten my benchmark software usb stick and had to download it again.
    So I dropped my plans to write an gui tool for multi management. CrytalCPU has multi management for intel chips which should be extendable to support phenoms p-states.
    But at the moment i'm more interested in writing an power saving module with tweakable p-states for linux.

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •