====== Dell PowerEdge R720 ======
[[https://i.dell.com/sites/csdocuments/Shared-Content_data-Sheets_Documents/ja/jp/Dell-PowerEdge-R720Technical-Guide-2018Jun.pdf]]
* MB:
* Intel C602 Chipset
* Manufacturer: Dell Inc. / Product Name: 0020HJ /Version: A02
* 2 x LGA2011 socket
* MAX CPU Xeon E5-2697v2 12 core @ 2.7GHz (30MB cache)
* CPU:
* 2 x Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz (max speed 3.4GHz) 8C/16T IvyBridge based (20MB cache)
* LSI SAS2 MPT Controller SAS2308 (PCI ID 0x2:0x0:0x0)
* mpt2sas_cm0: LSISAS2308: FWVersion(20.00.07.00), ChipRevision(0x05), BiosVersion(07.27.01.01)
* BIOS Information
* Vendor: Dell Inc.
* Version: 2.9.0
* Release Date: 12/06/2019
===== boot speedup =====
* ''F2'' Enter to setup
* ''System BIOS''
* ''Memory Settings''
* '' System Memory Testing'' to ''Disabled''
* ''Integrated Devices''
* ''Slot Disablement''
* Disable all not needed options ''Boot Driver Disabled''
* ''Boot Settings''
* ''UEFI Boot Settings''
* ''Boot Option Enable/Disable'' - disable all unneeded
* ''iDRAC Settings''
* ''Lifecycle Controller''
* Disabled
===== AC loss recovery =====
Setting not accessible from IDRAC.
Need to use IDRAC console, reboot machine and enter to setup (F2).
In setup it is possible to setup:
* AC Power Recovery: On (when it is ''Last'' system remains off after gracefull shutdown)
* AC Power Recovery Delay: random - to prevent huge peak consumption when power is restored
Other possibilities - use Linux software to modify BIOS settings:
* [[https://blog.williamdes.eu/Infrastructure/tutorials/install-dell-idrac-racadm-on-proxmox-7/|Install racadm for iDRAC on Proxmox 7/8]]
* [[https://serverfault.com/questions/824676/can-i-configure-ac-power-restored-option-via-idrac-on-a-dell-poweredge-server]]
* [[https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=0992n|Installing Dell iDRAC Tools (including racadm) on Ubuntu / Debian + Common RACADM commands]]
* [[https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=df1nd]]
* [[https://gist.github.com/WietseWind/e4cffd3a3cdc7728945edcf2b5b7be7d]]
===== idrac syslog =====
* Overview --> Server --> Logs --> Settings
* Overview --> Server --> Alerts
* ''Enable Alerts''
* Setup ''Alerts Filter''
* Enable checkmark in column ''Remote System Log''. NOTE: there are multiple pages of alerts. There is no need to click ''apply'' before changing page.
* test remote syslog using ''Test Event'' at bottom of page
===== ENERGY_PERF_BIAS =====
Despite of BIOS setting to ''performance'' kernel changes it during boot:
kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[[https://support.scc.suse.com/s/kb/Boot-log-displays-ENERGY-PERF-BIAS-Set-to-normal-was-performance?language=en_US]]:
The EPB MSR (ENERGY_PERF_BIAS Machine Specific Register) is a feature of some Intel CPUs. It can be set to a value from 0-15 to tell the CPU (microcode) whether it should prefer performance (0) over powersave (15) power management.
Intel has observed that on many systems after the hardware platform firmware (BIOS/UEFI) finishes initialization, the initial EPB value is 0 ('performance'). While on some systems this is intentional, on others it is due to the system firmware (UEFI/BIOS) not properly initializing the value of the EPB MSR. Intel implemented a fix in the Linux kernel EPB initialization code to set the EPB to value of 6 ('normal') when the Linux kernel boots. After the kernel finishes loading a proper EPB value can then be selected. Unfortunately, this causes a bit of an inconvenience on systems where the system firmware deliberately set EPB to 0 as they will need to set the value back to 0 after Linux loads. However, other systems (where the EPB value is 0 due to not having been properly initialized) have a higher power consumption than intended/desirable which can cause issues for systems operating from battery power (standby/ups power, or laptops).
ENERGY_PERF_BIAS:
* 0 - performance (140W)
* 3 - (140W)
* 4 - balance-performance (126W)
* 6 - normal (126W)
* 8 - balance-power
* 15 - power (max power saving) (126W)
apt instal linux-cpupower
# x86_energy_perf_policy
cpu0: EPB 6
cpu1: EPB 6
...
cpu30: EPB 6
cpu31: EPB 6
# x86_energy_perf_policy balance-performance
ipmitool sensor reading 'Pwr Consumption'