Merge pull request #201 from numtide/move-ex101-quirk

add ex101 profile for hetzner
This commit is contained in:
Ramses 2023-07-19 18:53:08 +02:00 committed by GitHub
commit f62a49bfb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 4 deletions

View File

@ -26,4 +26,10 @@ Introduces some workaround for the perticular IPv6 configuration that Hetzner ha
Hardware configuration for <https://www.hetzner.com/dedicated-rootserver> bare-metal Intel servers.
Introduces some workaround for the perticular IPv6 configuration that Hetzner has.
Introduces some workaround for the perticular IPv6 configuration that Hetzner has.
### `nixosModules.hardware-hetzner-online-ex101`
Hardware configuration for <https://www.hetzner.com/de/dedicated-rootserver/ex101> bare-metal Intel Core i9-13900 servers.
Introduces some workaround for crashes under load.

View File

@ -42,6 +42,7 @@ exposeModules ./. [
./hardware/hetzner-cloud
./hardware/hetzner-online/amd.nix
./hardware/hetzner-online/intel.nix
./hardware/hetzner-online/ex101.nix
./hardware/vultr/bare-metal.nix
./hardware/vultr/vm.nix
./mixins/cloud-init.nix

View File

@ -0,0 +1,8 @@
{
imports = [
./intel.nix
];
# It looks like Intel i9-13900 draws too much power for a short moment of time when running parallel load.
# Changing from "performance" to "powersave" governor helps to avoid this.
powerManagement.cpuFreqGovernor = "powersave";
}

View File

@ -5,7 +5,4 @@
boot.kernelModules = [ "kvm-intel" ];
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
# Good thing to do safe the environment and also made EX101 with Intel i9-13900 not crash when running parallel load.
powerManagement.cpuFreqGovernor = "powersave";
}