OCNG versions 4 and below have been obsoleted.
For your OC needs please refer to OCNG5: http://hardforum.com/showthread.php?t=1836265
 
After six weeks, way too many sleepless nights, two (temporarily) bricked boards
and with tremendous amount of work by extremely dedicated individuals... I present you:
Supermicro H8QGi/6 and H8QGL Next Generation OC BIOS
Some of you may have heard (or even taken advantage) of Supermicro OC solution
(called 'classic OC' from now on). It was cumbersome and time consuming to set up,
required manual intervention after every boot and had a limit of 12.5% OC.
OCNG (OC Next Generation) is a complete revamp of OC approach and, consequently,
is free of these drawbacks.
Important bits --
Usage instructions:
Reference clock discussion (refclock) --
Default refclock is 200 MHz. Consequently, 220 gives you 10% OC. 225 -- 12.5% OC
and so on. See next post for good starting points (as they do depend on CPUs and
cooling).
NOTE: OCNG BIOS takes advantage of XMP memory profile, if available.
    You can disable usage of XMP profile in the advanced section of the configuration.
NOTE: IPMI (BMC) must be disabled on H8QGL boards
NOTE: Exceeding effective frequency of DDR3-1600 may not be possible with certain
    DDR3 DIMMs. This is IMC limitation.
Supported memory configurations:
Currently unsupported memory configurations that have been reported to work well (w/higher memory OC):
Speaking of cooling. You will need very good cooling. Dynatrons are only good for mild
overclocks. 212+'s, Sunbeams CCF, Noctuas are all good picks. WC is, naturally,
welcome as well
When you hit a refclock that causes the board not to POST first thing to do is NOT
PANIC. Then reset CMOS per board's manual. Make sure to completely
unplug the machine, DO NOT remove the battery. Given amount of charge
high-end PSUs accumulate you may need to keep the contacts short for 10-15 seconds!
Once CMOS is reset you will need to re-set the time/date and (again) load optimal
defaults. Then you can go ahead and resume OC operation.
List of utilities in ocng-utils package:
Credits -- none of this would have been possible if not for the following individuals,
listed alphabetically:
Enjoy!
════════════════════════════════
UPDATE: Mar 5, 2012
New ROM is available. A number of early adopters
reported HT-related issues with refclocks above 230.
This should be fixed now.
════════════════════════════════
UPDATE: Mar 26, 2012
GL series ROM is available. Functionally identical to
Gi/6 version 2. Enjoy!
════════════════════════════════
UPDATE: Jun 9, 2012
Version 3 ROM is now available.
All frequencies from 200-262 range are now set up properly
in the clockgen, including ones described there.
tFAW calculation (rounding issue in the original BIOS) is fixed as well.
BIOS now allows testing memory w/XMP settings but without OC.
To take advantage of it you first need to update (delete and re-download)
smocng.sh. Then, to test XMP settings use: sudo ./smocng.sh 200.
To revert to stock (JEDEC and no OC) use: sudo ./smocng.sh reset.
════════════════════════════════
UPDATE: Nov 18, 2012
Version 4 ROM is now available.
It supports memories with non-standard MTB values (notably Crucial
Ballistix DDR3-1866).
Also fixes tWR setup in certain configurations.
Additionally, OCNG4 allows relaxing memory timings a bit -- shall one
be at timings' "edge" (e.g. CL6/CL7 edge at 225 w/G.Skill DDR3-1333 CL7
memories). See respective option in advanced section of the configuration
utility.
Includes alternative HT tuning option. If you're running into HT
retries and have done due diligence w.r.t. cleaning CPU pads you
can try alternative HT tuning and see if it improves things.
See respective option in advanced section of the configuration utility.
And last, but not least; it features spanking new configuration utility
that's hopefully more robust and user-friendly.
OCNG versions 4 and below have been obsoleted.
For your OC needs please refer to OCNG5: http://hardforum.com/showthread.php?t=1836265
 
After six weeks, way too many sleepless nights, two (temporarily) bricked boards
and with tremendous amount of work by extremely dedicated individuals... I present you:
Supermicro H8QGi/6 and H8QGL Next Generation OC BIOS
Some of you may have heard (or even taken advantage) of Supermicro OC solution
(called 'classic OC' from now on). It was cumbersome and time consuming to set up,
required manual intervention after every boot and had a limit of 12.5% OC.
OCNG (OC Next Generation) is a complete revamp of OC approach and, consequently,
is free of these drawbacks.
Important bits --
- NO WARRANTY. Neither expressed nor implied. By flashing the BIOS you will void
your board's warranty. Vendor will only service boards with original BIOS. - Make sure to flash ROM appropriate for your board! DO NOT use Gi/6 ROM with a GL
board or vice-versa; doing so will brick the board - You MUST NOT use SATA ports 4 or 5 of the board -- their use is known to interfere with
the OC - If you're currently using classic OC you'll need to revert all previously performed
changes. I'm deliberately omitting details here -- we'll cover that in another thread
or even keep it off the forum to avoid confusion. - No Interlagos/Bulldozer or Abu Dhabi/Piledriver support whatsoever.
THIS BIOS WILL NOT BOOT W/IL OR AD CHIPS _AT_ _ALL_ and you will need
a 6100 chip to recover shall you flash it while running IL/AD chips
Opteron 6200/6300 support is under development, read more at http://area51dev.blogspot.com/p/ocng-oc-bios-for-supermicro-4p-g34.html
Usage instructions:
- If you're using H8QGL board and need IPMI, see this thread: http://hardforum.com/showthread.php?t=1728050
If you don't absolutely need IPMI, disable BMC (IPMI) by means of a jumper;
refer to motherboard manual for details.
IPMI has been reported to work fine on H8QGi/6 boards. - Prepare or otherwise round up bootable DOS USB drive. If you don't know how to make
one, visit: http://www.sevenforums.com/tutorials/46707-ms-dos-bootable-flash-drive-create.html (Windows required) - Download OCNG BIOS ROM (IMPORTANT: pick appropriate ROM for your board)
  H8QGi/6: http://darkswarm.org/sm-bios/G60NG4.A11
  H8QGL: http://darkswarm.org/sm-bios/GL1NG4.511 - Download SM BIOS package. Package choice will depend on the board you own,
  H8QGi/6: http://www.supermicro.com/support/resources/getfile.aspx?ID=1283
  H8QGL: http://www.supermicro.com/support/resources/getfile.aspx?ID=1278 - Unzip SM BIOS archive contents (from step #4) to root directory of the USB drive (e.g. D:\)
- Copy OCNG BIOS ROM from step #3 to root directory of the USB drive
- Safely remove the USB drive
- Boot the 4P machine using USB drive
- Flash the ROM: type flash.bat followed by OCNG BIOS ROM name from step #3 and press Enter
      NOTE FOR ADVANCED USERS: if, for any reason, you decide to use
      AFUDOS.EXE, you MUST provide SM-mandated options at the end of command
      line, that is /P /B /N /C /R -- failure to do so will result in bricked board
  - Wait for flash process to complete
- Power the machine off
- Wait few moments
- Power the machine on (known issue: GL boards may not boot after warm reset; please power-cycle shall you run into this)
- BIOS should report incorrect CMOS checksum at this time
- Press DEL to Enter Setup
- Load BIOS' optimal defaults (F9 key) (very, very important)
- Save and exit (F10 key)
- Boot to Linux and open new terminal
- Download OCNG utilities
Code:wget -O ocng-utils-4.6.tar.gz http://darkswarm.org/sm-bios/ocng-utils-4.6.tar.gz
- Untar OCNG utilities
Code:tar -xzf ocng-utils-4.6.tar.gz
- Build OCNG utilities
Code:make -C ocng-utils-4.6
- Install OCNG utilities (as root; prepend with sudo if running on Ubuntu):
Code:
make -C ocng-utils-4.6 install
- If you're running anything but [H] Ubuntu Folding Appliance, configure the system so appropriate modules are loaded boot-time (as root; prepend each line with sudo if running on Ubuntu):
Code:sh -c "echo msr >> /etc/modules" sh -c "echo cpuid >> /etc/modules" sh -c "echo nvram >> /etc/modules"
- Load nvram module (as root; prepend with sudo if running on Ubuntu)
Code:modprobe nvram
- Launch OCNG configuration utility (as root; prepend with sudo if running on Ubuntu)
Code:ocng-cu
- Follow on-screen instructions; once set, changes persist across reboots (only need to do it once)
- Upon completing configuration, power-off the machine; need to shut it off completely, DO NOT reboot.
- Wait few moments and power the machine back on again.
Reference clock discussion (refclock) --
Default refclock is 200 MHz. Consequently, 220 gives you 10% OC. 225 -- 12.5% OC
and so on. See next post for good starting points (as they do depend on CPUs and
cooling).
NOTE: OCNG BIOS takes advantage of XMP memory profile, if available.
    You can disable usage of XMP profile in the advanced section of the configuration.
NOTE: IPMI (BMC) must be disabled on H8QGL boards
NOTE: Exceeding effective frequency of DDR3-1600 may not be possible with certain
    DDR3 DIMMs. This is IMC limitation.
Supported memory configurations:
- DDR3-1333 or faster: refclocks 201 through 250 (effective DDR3-1072 through DDR3-1333, respectively)
- DDR3-1600 or faster: refclocks 251 through 262 (effective DDR3-1338 through DDR3-1397, respectively)
Currently unsupported memory configurations that have been reported to work well (w/higher memory OC):
- DDR3-1600 or faster (if enabled in advanced section of the configuration): refclocks 201 through 240 (effective DDR3-1340 through DDR3-1600, respectively)
Speaking of cooling. You will need very good cooling. Dynatrons are only good for mild
overclocks. 212+'s, Sunbeams CCF, Noctuas are all good picks. WC is, naturally,
welcome as well
When you hit a refclock that causes the board not to POST first thing to do is NOT
PANIC. Then reset CMOS per board's manual. Make sure to completely
unplug the machine, DO NOT remove the battery. Given amount of charge
high-end PSUs accumulate you may need to keep the contacts short for 10-15 seconds!
Once CMOS is reset you will need to re-set the time/date and (again) load optimal
defaults. Then you can go ahead and resume OC operation.
List of utilities in ocng-utils package:
- clockspeed -- reports CPU's clock speed (run w/sudo)
- ht-retries -- reports HT retry counts (run w/sudo)
- ocng-cu -- OCNG configuration utility, used to configure the OC and related parameters (run w/sudo)
- ocng-version -- reports OCNG version (run w/sudo)
- voltcheck -- reports actual (measured) CPU voltages (minimal/maximal/average over 10 samples) (run w/sudo)
Credits -- none of this would have been possible if not for the following individuals,
listed alphabetically:
- dreadwing
- DSee
- firedfly
- mullet
- musky
- sfield
- tear
- tjmagneto
Enjoy!
════════════════════════════════
UPDATE: Mar 5, 2012
New ROM is available. A number of early adopters
reported HT-related issues with refclocks above 230.
This should be fixed now.
════════════════════════════════
UPDATE: Mar 26, 2012
GL series ROM is available. Functionally identical to
Gi/6 version 2. Enjoy!
════════════════════════════════
UPDATE: Jun 9, 2012
Version 3 ROM is now available.
All frequencies from 200-262 range are now set up properly
in the clockgen, including ones described there.
tFAW calculation (rounding issue in the original BIOS) is fixed as well.
BIOS now allows testing memory w/XMP settings but without OC.
To take advantage of it you first need to update (delete and re-download)
smocng.sh. Then, to test XMP settings use: sudo ./smocng.sh 200.
To revert to stock (JEDEC and no OC) use: sudo ./smocng.sh reset.
════════════════════════════════
UPDATE: Nov 18, 2012
Version 4 ROM is now available.
It supports memories with non-standard MTB values (notably Crucial
Ballistix DDR3-1866).
Also fixes tWR setup in certain configurations.
Additionally, OCNG4 allows relaxing memory timings a bit -- shall one
be at timings' "edge" (e.g. CL6/CL7 edge at 225 w/G.Skill DDR3-1333 CL7
memories). See respective option in advanced section of the configuration
utility.
Includes alternative HT tuning option. If you're running into HT
retries and have done due diligence w.r.t. cleaning CPU pads you
can try alternative HT tuning and see if it improves things.
See respective option in advanced section of the configuration utility.
And last, but not least; it features spanking new configuration utility
that's hopefully more robust and user-friendly.
Last edited: