Skip to content

Instantly share code, notes, and snippets.

@1oh1
Last active February 23, 2025 20:46
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

@mglakner
Copy link

mglakner commented Dec 5, 2024

any idea if this works on Optiplex 5060?
i tried this, and the 0C40 and 0C50 are all 00.

I think the 50 series are already pcie 3.0 compliant

I thought so as well, but my GPU bus is 2.0 and my crystaldiskmark seems slow

I couldnt find the PCI bus speed in HWinfo except under GPU.

Any thoughts?

Screenshot 2024-12-04 204816
Screenshot 2024-12-04 205522

@1oh1
Copy link
Author

1oh1 commented Dec 5, 2024

I couldnt find the PCI bus speed in HWinfo except under GPU

You need to look in the Summary screen of HWiNFO. You might have checked the 'Sensors only' option then running HWiNFO. Uncheck that and the Summary page will load.

@mglakner
Copy link

mglakner commented Dec 5, 2024

I couldnt find the PCI bus speed in HWinfo except under GPU

You need to look in the Summary screen of HWiNFO. You might have checked the 'Sensors only' option then running HWiNFO. Uncheck that and the Summary page will load.

I believe i put my summary in my last post sensors only unchecked.

here it is again for reference
392624439-484b2268-6811-45c9-afe5-93e80c1dd0d4

@ElitSnip
Copy link

ElitSnip commented Dec 5, 2024

Don't look the GPU PCIe version. Just check the bus part, here :

68747470733a2f2f692e696d6775722e636f6d2f37374664715a592e706e67

@1oh1
Copy link
Author

1oh1 commented Dec 6, 2024

here it is again for reference

This is just the CPU and GPU spec screen. There's another window that should show the hardware summary. Look for the link speed associated with the PCI bus as shown in the screenshot at the top.

@robh946
Copy link

robh946 commented Dec 22, 2024

Hi,

On my Optiplex 3060 the mod works perfectly but it seems the bios edit is reset whenever there is a Windows update.

Is there anyway to prevent this? (beside never updating Windows :)

@apramorbis
Copy link

Got a 2230 SSD in the wifi slot (single lane) with an adapter on a 3060 Micro. Sequential R/W went from ~400 to ~800 megs/sec after doing this 👍

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