Page 1 of 3 123 LastLast
Results 1 to 25 of 56

Thread: Phenom TLB Disable Tool and Phenom MSR tweaking tool

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    47

    Phenom TLB Disable Tool and Phenom MSR tweaking tool

    Phenom TLB Disable Tool [Update Version 1.04]
    Finally finished the GUI version of TLB disabling program. It is useful when you mobo BIOS doesn't has option to disable the TLB walkaround. And it is also useful if you are using Vista SP1 which enabled the TLB after boot up even if you disable the TLB in the BIOS. Added GUI interface, and user can choose to automatically close the window after successful applying of patch. The default time for closing the window is 8 seconds. You can also change the default in the INI file.

    You will need to put the program in the same directory as CrystalCPUID (x86 version, NOT the x64 version) to run the program. In Vista, you also need to run as administrator. For how to setup the program so that it starts automatically with Vista see here. You can also use that link for older versions of the program and how to use the program and how to do the benchmarking.

    Works for XP, Vista32/64



    USE AT YOUR OWN RISK!!!

    Download
    TLB ver 1.04.RAR

    If you are experiencing VCL.bpl dynamic library problem trying using the following download. It has all the required dynamic library built in but slightly large in size (260KB download).
    TLB_ver1.04.RAR with Built in Dynamic Libraries

    [Update v1.05]
    Fixed icons, and updated the TLB patch enable tool.
    TLB ver 1.05.RAR
    Last edited by sam2008; 06-29-2008 at 09:27 PM.

  2. #2
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    [Phenom MSR Tweaking Tool Ver 1.02]
    It is done under the suggestions from KTE and justapost. Original posted HERE. Move it over here for convinience.

    Spent all night working on this dann program, finally got it done. Crashed my computer several times when doing the mask debuging.



    This PhenomMSR.EXE program is based on CrystalCPUID. You will need CrystalCPUID for the program to function. PhenomMSR is a free program for personal use. It is meant for studying and experimenting purposes only. The author holds NO responsibility for the consequences caused by this program. Program may not function on CPUs other than AMD Phenom (haven't tested outside Phenom). To set it up, please refer to HERE for how to properly set it up.

    Use at YOUR OWN RISK!!!

    Change the MSR settings in the PhenomMSR.INI file for your needs.

    (1) You can read and write up to 4 MSRs at same time for all 4 cores
    (2) INDEX is the address of the MSR you want to modify
    (3) HIGH is the 64-33 bits of the MSR value you want to write
    (4) Low is the 32-1 bits of the MSR value you want to write
    (5) MASK_HIGH is the mask for 64-33 bits; MASK_LOW is the mask for 32-1 bits.
    (6) If INDEX for that [MSR] is set to 0x0, the program will skip that MSR and do nothing.
    (7) If MASK is set to 0x00000000, the program will directly write the values in HIGH and LOW into MSR
    (8) If MASK is set to 0xFFFFFFFF, the program will basically do nothing to the original value of MSR
    (9) For other cases, changing the MASK value accordingly.

    Use at YOUR OWN RISK!!!

    Download PhenomMSR.RAR 1.01

    About the MASK
    Here is the how the MASK works. If O is the original value in MSR, W is the value need to be written, and M is the mask, the logic operation is (O and M) or ((NOT M) and W).
    For example, if O=01 10 00, and you want to write W=10 11 01 into the MSR but would like the 3-4 bit in the original O unchanged, then you should use M=00 11 00.
    (O and M)=(01 10 01 & 00 11 00)=00 10 00
    (Not M)=~ 00 11 00=11 00 11
    (Not M) and W= 11 00 11 & 10 11 01=10 00 01
    (O and M) or ((Not M) and W)= 00 10 00 | 10 00 01=10 10 01.
    As you can see the center 2 bit as masked by M is unchanged.


    [Update PhenomMSR v1.02]
    Added Support for Core Masking in the INI file.
    Now you can use the COREMASK to specify which core you want the MSR value to be written. It is 4-bit binary value. The lowest bit is core 1, second bit is core 2, third bit is core 3, and fourth bit is core 4. When a bit is set to 1, MSR for that core will be written. If a bit is set to zero, the program will skip the MSR for that core. For example, 0b1011 means core 1, 2, and 4 will be written, and core 3 will be skipped. If COREMASK is set to 0b1111, then the selected MSR for all four cores will be written. If COREMASK is set to 0b0000, then selected MSR won't be written to any of the cores. Changing the COREMASK value accordingly. It is set at 0b1111 by default (all 4 core enabled).


    Download PhenomMSR v1.02
    Last edited by sam2008; 03-13-2008 at 11:15 AM.

  3. #3
    Xtreme Mentor
    Join Date
    Dec 2007
    Location
    State of Confusion, USA
    Posts
    2,513
    Thanks for all your work on these tools sam2008!

    I'm sure the TLB disable tool will come in handy for alot of folks. Fortunately my board has the option in the bios and it works fully. But I'll run your warez just to make sure.

    I'm still just getting my feet wet with editing MSR registers, but once I figure it out I'm sure your Tweaktool will come in handy too. My board doesn't alow for adjusting NB/IMC voltages, so I'm hoping if I can figure this out (and it helps) I can run this during the INI portion of Windows to adjust those V's, before the dreaded Windows hang at boot....
    AMD FX-8350 (1237 PGN) | Asus Crosshair V Formula (bios 1703) | G.Skill 2133 CL9 @ 2230 9-11-10 | Sapphire HD 6870 | Samsung 830 128Gb SSD / 2 WD 1Tb Black SATA3 storage | Corsair TX750 PSU
    Watercooled ST 120.3 & TC 120.1 / MCP35X XSPC Top / Apogee HD Block | WIN7 64 Bit HP | Corsair 800D Obsidian Case








    First Computer: Commodore Vic 20 (circa 1981).

  4. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    45
    there is an issue with this program.

    your missing a DLL in your compile. Read FAQ : faq101-189 for Borland C++
    and I quote : "To stop using runtime packages, you will need to go to your project or compiler options. Select the Packages tab and uncheck "Build with runtime packages." This will reduce the number of external DLL your program needs but will increase the size of the program."



    simple mistake i think :P

  5. #5
    Xtreme Enthusiast
    Join Date
    Feb 2007
    Location
    Norway
    Posts
    704
    Great work Sam2008! Very useful program, running it at log on. Much better than doing it manually with CrystalCPUID.

  6. #6
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    Thanks dr_drache. I tested the program in my other XP and Vista 32 machines, both without Borland C++ installed. It all worked fine without issue. But I guess, it might be some other programs installed the required DLL for me.

    Anyway, I have updated one version with built in DLL. It slightly larger than the original one, but should work fine in you machine now. Try it out and let me know if there's any problem.

    Quote Originally Posted by dr_drache View Post
    there is an issue with this program.

    your missing a DLL in your compile. Read FAQ : faq101-189 for Borland C++
    and I quote : "To stop using runtime packages, you will need to go to your project or compiler options. Select the Packages tab and uncheck "Build with runtime packages." This will reduce the number of external DLL your program needs but will increase the size of the program."

    simple mistake i think :P

  7. #7
    Xtreme Addict
    Join Date
    Jan 2008
    Location
    Vancouver,British Columbia, Canada
    Posts
    1,178
    Good man!


    World Community Grid's mission is to create the world's largest public computing grid to tackle projects that benefit humanity.
    Our success depends upon individuals collectively contributing their unused computer time to change the world for the better.

  8. #8
    Xtreme Mentor
    Join Date
    May 2007
    Posts
    2,792
    Excellent work man!

    Tool will be very handy for Phenom users... unlike for me.
    If I still used it, I prefer the command line personally.

    Now get learning to oc using it, all of ya

  9. #9
    Xtreme Member
    Join Date
    Nov 2007
    Location
    philippines
    Posts
    279
    highly appreciated...nice work!
    AMD Athlon 64 x2 6000+ AM2 CCB8F 0740 FPMW
    MSI K9A2 Platinum v1.2
    4 x 1GB Corsair XMS2 (rev 5.1 and rev 5.2)
    Zalman CNPS9700LED
    PowerColor ATi HD 3870 512MB DDR4 256bit PCIe 2.0
    Corsair TX750 Watts (12v @ 60A on a single rail)
    80 GB WD SATA I (primary)
    250 GB WD SATA II (backup)




  10. #10
    Xtreme Addict
    Join Date
    Jul 2007
    Posts
    2,103
    Amazing SAM simply amazing....
    "AMD...Like the perfect Storm,...Everything needs to be just right"
    X555x4SuperCore@4450mhz@1.64v..........

    RYZEN 7 1800x/ ASUS ROG STRIX VEGA64/ =EK NICKEL WB, Feser THC 2x360 1x480
    X470 Gigabyte Aorus7, Patriot 3400mhz 16gb dual2x8
    SSD Samsung 970pro,,860EVO

  11. #11
    Xtreme Member
    Join Date
    Feb 2004
    Posts
    381
    TLB Disable Tool with built in DLL (vista x64 here) works nicely! Thanks sam2008!

  12. #12
    Registered User
    Join Date
    Mar 2008
    Posts
    45
    works perfect sam, (x64 vista) thanks, and hopfully i didn't step on too many toes..

  13. #13
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    300
    New large download:

    Biostar TA770-M2, 9500, XP 32bit:

    Last edited by JWilson; 03-13-2008 at 11:55 PM.
    Biostar T-Power I45 Motherboard
    P45AA918 BIOS
    E8600 450x9 1.35V
    Danger Den Water Cooled
    2x1Gig Super Talent PC6400 5-5-5-15
    EVGA 7800GS
    WD SATA 120GB
    Rosewill 750W

  14. #14
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    You have to put them in the same directory as CrystalCPU. Read carefully on the instructions on the fisrt post.

    Quote Originally Posted by JWilson View Post
    New large download:

    Biostar TA770-M2, 9500, XP 32bit:

  15. #15
    Xtreme Member
    Join Date
    Sep 2006
    Posts
    300
    Thanks over here too. Nice work!
    Biostar T-Power I45 Motherboard
    P45AA918 BIOS
    E8600 450x9 1.35V
    Danger Den Water Cooled
    2x1Gig Super Talent PC6400 5-5-5-15
    EVGA 7800GS
    WD SATA 120GB
    Rosewill 750W

  16. #16
    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

  17. #17
    Xtreme Mentor
    Join Date
    May 2007
    Posts
    2,792
    Sam2008: ASRock made a TLB Fix Enable-Disable Tool which they give out with there boards... is this not the same tool as yours? http://www.asrock.com/support/TLB.asp

    I can't check since I'm not using an AMD CPU/chipset but it definitely looks like it, especially being v1.03. If it is, they should be paying you or at least making mention of you

  18. #18
    Registered User
    Join Date
    Mar 2008
    Posts
    45
    that asrock utility won't run on anything but their boards.

    some sort of check in place, so i can't tell you how it works... lol

  19. #19
    Xtreme Mentor
    Join Date
    Apr 2005
    Posts
    2,550
    why it doesn't work with 64bit crystalcpuid?
    Adobe is working on Flash Player support for 64-bit platforms as part of our ongoing commitment to the cross-platform compatibility of Flash Player. We expect to provide native support for 64-bit platforms in an upcoming release of Flash Player following the release of Flash Player 10.1.

  20. #20
    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.

  21. #21
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    KTE:Thanks for looking out for me, KTE. That program is not mine. Before I decided to write my own code, I also download it from ASRock. It just won't run on any other boards except ASRock's. That's why I decided to write my own program to do it. But thanks anyway.

    BTW, have you tried your dead Phenom recently? It might come back to life after so long of resting...

    Quote Originally Posted by KTE View Post
    Sam2008: ASRock made a TLB Fix Enable-Disable Tool which they give out with there boards... is this not the same tool as yours? http://www.asrock.com/support/TLB.asp

    I can't check since I'm not using an AMD CPU/chipset but it definitely looks like it, especially being v1.03. If it is, they should be paying you or at least making mention of you
    Last edited by sam2008; 03-20-2008 at 07:55 AM.

  22. #22
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    The complier I am using only supports 32-bit, so...
    Download the 32 Bit version CrystalCPU. It works on for Vista 64bit too. I use it on Vista x64 SP1.

    Quote Originally Posted by Nedjo View Post
    why it doesn't work with 64bit crystalcpuid?

  23. #23
    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.

  24. #24
    Xtreme Mentor
    Join Date
    Apr 2005
    Posts
    2,550
    Quote Originally Posted by sam2008 View Post
    The complier I am using only supports 32-bit, so...
    Download the 32 Bit version CrystalCPU. It works on for Vista 64bit too. I use it on Vista x64 SP1.
    it's Ok, I can live with that

    Sam is it possible to design another version that would be used just to enable patch at the startup w/o need for GPU, and 10 sec. waiting to confirm patching?
    I'm asking this 'cos I just want to have patch enabled as fast as possible upon entering Vista.
    Adobe is working on Flash Player support for 64-bit platforms as part of our ongoing commitment to the cross-platform compatibility of Flash Player. We expect to provide native support for 64-bit platforms in an upcoming release of Flash Player following the release of Flash Player 10.1.

  25. #25
    Registered User
    Join Date
    Feb 2008
    Posts
    47
    You mean you want the patch automatically enabled upon startup? You can use the windows Task Scheduler. You can refer to here for how to let it auto start with vista (2nd post).

    [TLB auto startup with vista]


    You can change the wait time in the INI file that comes with the program (min 1 sec, max 30 sec).

    Quote Originally Posted by Nedjo View Post
    Sam is it possible to design another version that would be used just to enable patch at the startup w/o need for GPU, and 10 sec. waiting to confirm patching?
    I'm asking this 'cos I just want to have patch enabled as fast as possible upon entering Vista.
    Last edited by sam2008; 03-20-2008 at 09:25 AM.

Page 1 of 3 123 LastLast

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
  •