Skip to content

Instantly share code, notes, and snippets.

@1oh1
Last active May 12, 2024 04:55
Show Gist options
  • Save 1oh1/c095b0808627ef1cf2c887ce17a4681d to your computer and use it in GitHub Desktop.
Save 1oh1/c095b0808627ef1cf2c887ce17a4681d to your computer and use it in GitHub Desktop.
Dell OptiPlex 3060 - Enable NVMe Gen 3 speeds (Enable PCIe 3.0)

Enable PCIe 3.0 speeds for NVMe SSDs on Dell OptiPlex 3060

Out of the box, any M.2 NVMe SSDs connected to the Dell OptiPlex 3060 runs at PCIe Gen 2.0 speeds (Max 5 GT/s; 2 GB/s) so the speed tests look like this:

screen1

However, after this BIOS mod, the SSD can reach PCIe Gen 3.0 speeds (Max 8 GT/s; 3.9 GB/s) so the speed tests look like this:

screen2

Steps to enable PCIe 3.0

Click here to watch a video tutorial

  1. Disable Secure Boot in the BIOS:

    SettingsSecure BootSecure Boot Enable → select Disabled

  2. Download the latest version of RU.EFI from http://ruexe.blogspot.com/

  3. Format a USB pen drive as FAT32 using MBR partitioning

  4. Copy RU.EFI to the root of the pen drive (e.g. D:\RU.EFI)

  5. Reboot the OptiPlex 3060 with the pen drive plugged in and enter BIOS by pressing F2

  6. Under Settings → General → Boot Sequence click on Add Boot Option

  7. Under File System List select your USB pen drive. It has a name like

    PciRoot(0x0)/Pci(0x14,0x0)/USB(0x7,0x0)/HD(1.MBR,0x52DED30C)

  8. Click on the 3 dots ... and select RU.EFI from the list of files

  9. For Boot Option Name enter a name and click OK. This will be displayed on the boot selection screen (e.g. RU.EFI)

  10. Click Apply and select Save as Custom User Settings and click OK

  11. Click Exit

  12. The system will now reboot. Repeatedly press F12 until you get to the boot device selection screen

  13. Under UEFI BOOT: select the boot device with the name you entered in Step 8 (e.g. RU.EFI) and press Enter

  14. Press Enter to dismiss the RU.EFI splash screen

  15. Press Alt+= to get to the UEFI variable editor screen

  16. Press the key until you get to the Setup UEFI variable and press Enter

  17. Press Ctrl+PgDown keys until you see 0C40 on the left

  18. Press until your cursor is at the first number in the 0C40 row

  19. Press Enter and press 0 and 3 and press Enter again to update the first number in the row from 02 to 03

  20. Change all 02 to 03 in line 0C40 and 0C50

  21. Press Ctrl+W to write changes and press Alt+Q to exit and reboot

Test the change

Besides the obvious speed difference that can be noticed in a CrystalDiskMark benchmark, you can also check to see if the PCIe version reported in HWiNFO has changed

Before

After

Credit

https://github.com/Lorys89/DELL_OPTIPLEX_3060_MFF

@MichaelMebert
Copy link

hello. just find your amazing work. as i had successfully patched some optiplex biosses for nvme boot support i am not completely new in this topic.
but here i understand that this changes had to be done in a special area of the bios, which -i guess- is different on every machine/bios.
so my question is.
could this be done on a optiplex 5050 series too?
if yes, how i can find and identify which bytes have to be changed on other optiplex bios ( especially the 5050 SFF as i have a bunch of those).
thanks for your help michael

@be-Berserker
Copy link

Thanks so much, I haven't found any other work forcusing on how to converting pcie smaller gen. to larger gen., which almost made me give up. People who comes up with this idea is literally genius!

@1oh1
Copy link
Author

1oh1 commented Oct 25, 2023

I just wanted to mention that none of this is my work. I simply made it somewhat easier to follow along for beginners. Thanks to Lorys89 who figured this out. You can check out their work here: https://github.com/Lorys89/DELL_OPTIPLEX_3060_MFF

@ripka-sam
Copy link

ripka-sam commented Dec 19, 2023

Thank you so much! Now it's working much better!
2
3
I also did the following and got a better result:
Bios settings:
Enable:
SATA Operation : AHCI
Fastboot : Thorough
Integrated NIC : Enable
Disable :
Secure Boot
Absolute
Intel SGX
Enable UEFI Network Stack
And got this result
4

@Joergen8
Copy link

Worked great on my 3060 Micro and Samsung 970 EVO Plus 1TB. Thanks!

Might add a note about european/other kb layouts, that RU.EXE defaults to the US keyboard layout, so "Alt" + "=" is "Alt" + "whatever is immediately left of backspace". Things like this are not obvious to people who aren't used to text-based interfaces and tools.

Also, hitting "Alt"+"Q" quit and went into the HP support assistant, then hitting ESC shuts down the PC. Not "to quit and reboot".
Sams_PCI2_default_CrystalDiskMark_20240119185336
Sams_PCI3_mod_CrystalDiskMark_20240119201455

@Joergen8
Copy link

Thanks so much! Worked fine on my 3060 - my read speeds are up but the write speeds are down. Can anyone perhaps help?

SSD Speedtest SSD Speedtest-3 0

The SSD might be heat throttling on the PCIe 3.0 speeds under the stress of the test. Try changing the number of tests from 5 to 1 to see if that helps.

@robh946
Copy link

robh946 commented Jan 20, 2024

Thanks Joergen - write speeds did improve

@DocYoda47
Copy link

I have two Dell 3060 micros. 1 with 8100T and one with 8700. Planning to get more of the 3060 coz it is selling like pancakes here. Looking for a copper heatsinks to replace to the stock CPU heatsink. Care to share links where to buy? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment