Giter VIP home page Giter VIP logo

v3x4's Introduction

v3x4

Intel(R) Xeon(R) Processor Max Effort Turbo Boost UEFI DXE driver

Description:

  • Does the work that Intel refuses to provide (say can't be done). God Wins.

  • Programs Intel(R) Xeon(R) "Haswell-E/EP(4S)/EX" E5/E7 v3 processors (cpuid = 306F2h, 306F3h, 306F4h) on X99 (single), C612 (dual), including QUAD (C602J?) and ABOVE (presumed up to 8S albeit unverified at this time) platforms to allow for maximum all-core turbo boost for all cores regardless of whether there are motherboard options present for overclocking/voltage control or not. For example, the 18-core Xeon(R) E5-2696 v3 processor has set from the factory an all-core turbo of 2.8GHz. This driver programs the highest un-fused ratio (i.e. the 1C Turbo bin) as the new Turbo bin for all boost configurations including all-core turbo. In other words, the 1C turbo bin becomes the all-core turbo bin and the E5-2696 v3 processor now demonstrates an all-core turbo of 3.8GHz!

  • Allows for per-package, dynamic undervolting (retains PCU control while applying a fixed negative Vcore offset) IA (i.e. Core), CLR (CBo/LLC/Ring) a.k.a Uncore, and System Agent (SA) voltage domains independently which provides for higher all-core sustained clocks during heavy workloads, including AVX2 workloads

  • Allows for setting static Uncore ratio for maximum performance (lowest typical access latency and accompanying maximum throughput) or setting to limit less than maximum (typical 30x). It is possible to trade cache speed for Core speed and studies show that 100MHz of Core speed-up is roughly equivalent to 1GHz of cache speed-up. That being said, lowering your Uncore power budget to make it to that next-higher Core speed bin is often a worthwhile trade-off

  • Allows to disable CPU SVID telemetry (a.k.a. "PowerCut") which may reduce or remove altogether TDP power limitations for some system combinations. Allows to set a fixed VCCIN voltage (not recommended if available to be set in BIOS)

  • Driver is designed to work on up to 8S systems. Verified functional on multiple 1S, 2S, and 4S systems with accompanying modified BIOS (remove any microcode revision update patches)

Successful use requirements:

  • Haswell-E/EP(4S)/EX processor (cpuid = 306F2h, 306F3h, 306F4h) or processors. This can be overriden at compile time

  • CPU microcode revision patch must not be loaded during POST process (requires modified BIOS). Instructions on how to modify BIOS ROM image to remove microcode for external SPI programming will not be provided here

  • Use EFI Shellx64 or other suitable UEFI shell to set automatic load (and execution) of v3x4.efi during system boot. Use cmd ' bcfg driver add 0 fs1:\EFI\Boot\v3x4.efi "V3 Full Turbo" ' where 'fs1:\EFI\Boot\v3x4.efi' is path to DXE driver file on UEFI boot partition (use cmd 'mountvol x: /s' to mount in Windows as drive X: for writing) {Note: there is a bug which prevents accessing the mounted drive through File Explorer in Windows 10 build 1803. Workaround is to open Task Manager and use new process launch dialog to navigate to mounted drive and copy directly}. Toggle enable/disable in BIOS (if presented as an option; default: enabled)

"Features:"

  • If you program too great a negative of an offset voltage for any of the enabled domains, this is the equivalent of setting too low a VID in BIOS and expecting your system to be remain stable. Since this is always done (no recovery), then to recover you would need to temporarily disconnect the disk source for the driver binary (preventing load with automatic bypass). Similiar to the trial-and-error method of overclocking, so will there be here, too
  • Driver will abort if microcode revision update patch detected and there is no point in defeating this feature as this is a hard requirement for successful driver execution
  • Driver will abort if not expected CPUID. This can be programmed to whatever you want or entirely overridden using special build flag at compile time. At this time, only Haswell-E/EP(4S)/EX has been verified workable

To COMPILE for point-releases, in Windows:

  1. Download and install UDK2015: http://www.tianocore.org/udk/udk2015/ Note: will also in turn require Windows 2003 DDK 3790.1830 installed (separate download)

  2. Any C-compiler that is supported by UDK2015. Currently verified working with Visual Studio 2015

  3. Edit file [UDK2015]/BaseTools/Conf/target.txt to change and/or verify proper the following parameters:

ACTIVE_PLATFORM = MdeModulePkg/MdeModulePkg.dsc

TARGET = RELEASE

TARGET_ARCH = X64

TOOL_CHAIN_TAG = VS2015x86 (or VS2013x86, etc.)

  1. open admin command prompt and change path to [UDK2015]/BaseTools

  2. Execute edksetup(.bat)

  3. Execute build. If it prints "- Done -" all is fine and the UDK2015 build environment is properly setup ...

  4. Unpack/copy source into [UDK2015]/BaseTools/MdeModulePkg/v3x4 (create this subdirectory)

  5. Edit file [UDK2015]/BaseTools/MdeModulePkg/MdeModulePkg.dsc and add "MdeModulePkg/v3x4/v3x4.inf" to [Components] section

  6. Execute build again. Wait for "- Done -" and take compiled EFI DXE driver from: [UDK2015]/BaseTools/Build/MdeModule/RELEASE_VS2015x86/X64/MdeModulePkg/v3x4/v3x4/OUTPUT/v3x4.efi

v3x4's People

Contributors

freecableguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

v3x4's Issues

ASUS Z10PED8-WS

Hi,

I noticed that you are maybe using ASUS Z10PED8-WS motherboard. I am asking tips for regular bios settings for the best performance with this driver. What is best settings for:

Option / [ in use ]

CPU1/CPU2 Load-line Calibration [Auto]
CPU1/CPU2 Current Capability [140%]
CPU1/CPU2 Power Phase Control [Optimized]
CPU1/CPU2 Power Thermal Control [140]

Xeon Turbo Charger [Disabled]
CPU1/2 Input Voltage [1.900]

Power Technology [Custom]
Energy Performance Tuning [Disabled]
Config TPD [Disabled]
ACPI T-States [Disabled]

Something else? I just cannot get turbo over 2.8 Ghz on linux. I used to have 3.8 Ghz turbo with Supermicro X10SRA single socket motherboard with same CPU(s).

Compile for OS X?

I have a Mac Pro 3,1 with dual quad core Xeons. Is there a way to compile this for Mac?

Turbo freq downgrade

Hi! After applying v3x4-0.10b-i306f2-rc9.efi on xeon e5 2695 v3 (qs) its turbo frequencies has been limited to 3100. Before applying it runned with 3500 mhz. Is it possible to manually set old multiplier 35x in efi or restore default (manufacturer) multiplier?

SVID / General Question

Hey, nice work.

Considering wether I should use this or the payne ffs injection. Are there any benefits over the other?

Especially regarding the SVID - my bios has the setting "SVID Communication = Disable" -- Is this equivalent to ""disable CPU SVID telemetry (a.k.a. "PowerCut")"" ?

Am I right that you can just remove the microcode from the bios, but the OS can later load newer microcode (with meltdown/spectre fixes) without affecting the multi unlock?

Thank you!

about the microcode

I remove the microcode from the bios.
But the motherboard donβ€˜t allow boot...

So is there a older microcode can do the same? Which verison.

And i used a older microcode.But when the windows10 boot it loaded the 43 verison microcode auto....
how to solve it...

❓ Is it possible to compile v3x4 driver into PEI?

The current implementation is available in two forms:

  • EFI driver, it can be installed on the OS level.
  • DXE driver, it can be injected into the BIOS itself.

The problem with the DXE driver is that this section is not loaded when the PC goes live from the sleep mode.

Would it be possible to produce a PEI driver, which can be injected into the BIOS section, which is executed upon wake up?

P.S. I apologize if this is a stupid question and the answer is obvious.

Questions about compability

I read that you have ASUS Z10PED8-WS and i am curios that will it work with my chines huananzhi x99 tf?
Sorry that my englisch isnt wery well.

Missing include file: 'Library/PrePiLib.h'

My UDK2015 build environment on Windows with VS 2015 is working properly. When compiling v3x4.c I get the following error:

c:\mywork\edk2\MdeModulePkg\v3x4\v3x4.c(4): fatal error C1083: Cannot open include file: 'Library/PrePiLib.h': No such file or directory

Any help is greatly appreciated.

Help with compiling

All of the instructions seem wrong...

  1. The dependency on Cygwin was not noted and I cannot find anything that actually depends on Windows 2003 DDK 3790.1830
  2. The instructions say to "install" UDK2015 but I can't find anything to install; does it just need to be downloaded?
  3. All of the file paths in the instructions are wrong; for example the edksetup.bat file is not in the basetools directory
  4. Even if I move files around and edit batch scripts the build still fails
  5. The build command is ignoring the content of target.txt

Can I trouble you to provide a LOT more detail so that I can build this on my own?

turbo boost on i9

is it possible enable turbo boost hack when speedstep/speedshift disabled ? i have two boards z390 dark and xii apex in apex i can do turbo boost without speedstep/speedshift but in dark i cant because EIST

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.