Jump to content

Reduce power consumption with powertop


Recommended Posts

19 hours ago, genesisdoeswhatnintendont said:

It's for annoying RGB LED, as @tmodev said below, just skip it bc it doesn't work. There is another workaround:

 

lsusb

output is: Bus 001 Device 005: ID 26ce:01a2 ASRock LED Controller

 

create new rule in /etc/udev/rules.d

 

/etc/udev/rules.d/01-asrock-led.rules

 

with these lines:
 

# Disable Asrock LED controller

SUBSYSTEM=="usb", ATTRS{idVendor}=="26ce", ATTRS{idProduct}=="01a2", ATTR{authorized}="0"

 

Reboot

Had to go a bit more complicated, since Unraid is kept in Memory. So I created the file /boot/rules/01-asrock-led.rules, then added commands to /boot/config/go so it'd copy and reload the rules. 

 

# Copy the rules file
cp /boot/rules/01-asrock-led.rules /etc/udev/rules.d/
chmod 644 -R /etc/udev/rules.d/01-asrock-led.rules 2> /dev/null

# reload udev rules
udevadm control --reload-rules
udevadm trigger

Sadly this doesn't work though. Not sure what I'm missing

I was missing the udevadm trigger 🤦‍♂️

 

19 hours ago, genesisdoeswhatnintendont said:

My BIOS settings are just the same. In my case I have no USB devices and display turned off (consoleblank=130 kernel boot parameter)

I don't have USB devices plugged in, other than the USB for Unraid. The only other thing plugged in is my network cable.

From what I was able to google "consoleblank" shouldn't make any difference is no screen is plugged in, right?

 

After disabling the LED controller, I'm down to !!! 6W IDLE !!!, pretty fucking good I'd say :D

I'm pretty much ~90% C10 Idle, is that something that can still be pushed? (I'm literally clueless, first time trying to build a DIY NAS ^^')

 

Based on the device stats I think there isn't anything left to disable?

The Device 1ed0:2283 seems to be a Non-Volatile memory controller, I assume that's for my SSD, so a no-no in terms of disabling

Screenshot 2024-02-02 at 14.01.07.png

Screenshot 2024-02-02 at 14.01.46.png

Edited by OddMagnet
Link to comment
13 minutes ago, OddMagnet said:

From what I was able to google "consoleblank" shouldn't make any difference is no screen is plugged in, right?

It's not quite right in my case (proxmox) bc my system isn't headless. "consoleblank" turns out videoutput so I get 1-2 watts less and around 98% C10 at idle

In your case (unraid) I just don't know. I assume you need a dummy HDMI plug.

 

the top search result is How do you deal with running headless?

 

Link to comment
On 1/31/2024 at 2:27 PM, bagican said:

 

With better SSD a bit better power consumption.

I swapped Samsung 970 Evo to Samsung 980 Pro 2TB and idle power consumption (mostly in C10) is:

 

️on the DC side:

unraid-H3-980Pro-idle01.gif.636ee1e7f4c3afe3260ef973d0900e77.gif

 

️on the AC side: ~2,8 Wh (from Shelly 1PM) is average consumption for last 2 hours.

 

It's known that Pro models from Samsung SSDs have better power management and they are more efficient.

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     8.49W       -        -    0  0  0  0        0       0
 1 +     4.48W       -        -    1  1  1  1        0     200
 2 +     3.18W       -        -    2  2  2  2        0    1000
 3 -   0.0400W       -        -    3  3  3  3     2000    1200
 4 -   0.0050W       -        -    4  4  4  4      500    9500

 

command: sudo smartctl --all /dev/disk/by-partlabel/root

 

 - where Samsung 970 EVO Plus 500GB has higher numbers:

  • Supported Power States
    St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
     0 +     7.80W       -        -    0  0  0  0        0       0
     1 +     6.00W       -        -    1  1  1  1        0       0
     2 +     3.40W       -        -    2  2  2  2        0       0
     3 -   0.0700W       -        -    3  3  3  3      210    1200
     4 -   0.0100W       -        -    4  4  4  4     2000    8000

 

Note that I also changed USB from old Patriot 16GB to new 16GB Transcend JetFlash 180I (industrial-grade USB flash drive with SLC mode https://us.transcend-info.com/embedded/product/embedded-flash-solutions/jetflash-180i  ).

 

 

Update:

- added 2x SATA SSDs (Samsung 860 Evo 4TB)

- added 1x USB2 Flash drive (to make dummy Array)

- running 2 dockers

and idle power consumption is now:

 

️on the DC side:

H3_3xSSD_idle_01.gif.4b27cb1961189184775a8ff16d0eebbb.gif

 

2.5 — 6 W on the DC side

and average 4Wh on the AC side (measured by Shelly 1PM)

 

 Unraid NAS                                (12V / 4Wh)
┌─────────────────────────────────────────────────────┐
│                     Odroid H3                       │
│                                                     │
│  Intel N5105                          Unraid 6.12.6 │
│  1x 16GB DDR4                                       │
│                                                     │
│                 2.5G  2.5G                          │
│     SATA SATA   LAN   LAN#2               USB2  USB2│
│M.2   #1   #2     #1   unused               #1    #2 │
└─┬────┬────┬──────┬──────────────────────────┬─────┬─┘
  │    │    │      │                          │     │
  │    │    │      └──► switch 2.5G           └──┐  │
  │    │    │                                    │  │
  │    │    │                                    │  │
  │    │    │              pool RAID1 (btrfs)    │  │
  │    │    │  (SSD)   ┌─────────────────────┐   │  │
  │    │    └─────────►│ Samsung 860 EVO 4TB │   │  │
  │    │       (SSD)   │                     │   │  │
  │    └──────────────►│ Samsung 860 EVO 4TB │   │  │
  │                    └─────────────────────┘   │  │
  │                                              │  │
  │                        pool "Cache" (xfs)    │  │
  │            (SSD)   ┌─────────────────────┐   │  │
  └───────────────────►│ Samsung 980 Pro 2TB │   │  │
                       └─────────────────────┘   │  │
                                                 │  │
                                                 │  │
     (boot) 16GB Transcend JetFlash 180I   ◄─────┘  │
      industrial-grade flash with ECC, SLC mode      │
                                                    │
                                                    │
     (dummy) 64GB USB2 ADATA Flash Drive   ◄────────┘
      array  for storing backups of bootUSB

 

update:

power consumption in Wh per hour (from Shelly 1 PM) with running 5 dockers:

root@unr:~# /etc/rc.d/rc.docker status
status of dockerd: running
running containers: immich_redis immich immich_postgres14 scrutiny PortainerCI
 19/02/2024 12:00	4.33
 19/02/2024 13:00	4.6
 19/02/2024 14:00	4.63
 19/02/2024 15:00	5.1
 19/02/2024 16:00	4.82
 19/02/2024 17:00	4.42

 

 

Edited by bagican
Link to comment
24 minutes ago, genesisdoeswhatnintendont said:

It's not quite right in my case (proxmox) bc my system isn't headless. "consoleblank" turns out videoutput so I get 1-2 watts less and around 98% C10 at idle

In your case (unraid) I just don't know. I assume you need a dummy HDMI plug.

 

the top search result is How do you deal with running headless?

 


I‘m confused, I assumed not plugging in any monitor would be running headless. Is there a difference?

Link to comment
54 minutes ago, OddMagnet said:

I‘m confused, I assumed not plugging in any monitor would be running headless. Is there a difference?

No. The display is switched off after some minutes. Then the Intel iGPU driver (which everyone should have installed) switches off the GPU. And as far as I know only then C10 is possible.

Link to comment
On 10/21/2020 at 1:05 PM, mgutt said:

Powertop [Support auf Deutsch]

 

Powertop is an Intel tool (yes, works for AMD, too) to check power consumption states of sata, pcie, usb, etc devices. You can download powertop as follows, then restart your server and it will be automatically installed:

mkdir /boot/extra
cd /boot/extra
wget https://github.com/mgutt/unraid-packages/raw/main/6.11.0/powertop-2.15-x86_64-1.txz

 

Then open your terminal and execute:

powertop

 

Now press "TAB" until you reach "Idle Stats" and check your CPU Pkg (HW). Depending of the brand and model of your CPU you can reach different C-States. If your system isn't optimized, you will see this:

179241080_2021-07-1312_14_03.png.5a2dc3644c02b04d052699f05a312332.png

 

If you press "TAB" you will see additional information about standby states of different hardware components of your system.

 

In the tab "Tunables" you will see multiple devices which have the state "Bad", which means powertop found devices which do not allow standby/sleep states:

image.png.94cb4936d5f88c53125c6840c57fefc1.png

 

Now you can execute the following command to optimize this:

 

WARNING

Many SATA controllers (JMB xxx or ASM xxxx) do not support link power management and your disks loose connection after reaching spindown! Read further before executing --auto-tune!

 

 

powertop --auto-tune &>/dev/null

 

By that all compents will return "Good":

1191854226_2020-10-2112_53_35.png.1465ea3c92903b3a9bc63dfe4b51d0d0.png

 

Now, your server should reach better C-States.

 

Package C-States

This table shows the dependency between CPU Core and CPU Package C-States:

c10.thumb.png.992dda45847ab7f6ebcdfa7bb70b310c.png

 

Several things are important to reach Package (Pkg) C-States C3, C7, C9 or even C10:

 

Accurate power measurement

- do some research how accurate your power meter is (UPS integrated power meters are usually bad)

- close your Unraid WebGUI and wait 1 minute! (this closes many background jobs, which cost your energy, use your PC's terminal and "ssh root@tower" to monitor your C-States with powertop)

- don't use Unraid in GUI mode (you should avoid this mode, if you want low power consumption)

 

Powertop shows only C1, C2 and C3 Pgk-States

This happens if powertop does not recognize your CPU (happens for most AMD CPUs and recent Intel CPUs). Your CPU could still reach C9 or even C10, but powertop is not able to obtain this and shows only C3.

 

BIOS

- only Gigabyte 8th or 9th Intel: enable CEC2019

- enable ASPM (Active-State Power Management) in the PCI settings

- enable all C-States like C7/C9/C10 in the CPU settings ("auto" usually means "disabled", so select "enable")

- disable Audio

- disable RGB LED controller

- disable Turbo in the CPU settings

 

PCIe cards

Some PCIe cards prevent states other than C0 or C3 (Intel). As an example my Qnap Aquantia 10G card allowed only C3 while all my Intel 10G cards allowed C7. Without any installed card I'm able to reach C10.

 

iGPU

Install the iGPU driver plugin through unRAID Apps if your CPU has an iGPU

 

hpet

Set hpet=disable as a Kernel setting if you have an 8th, 9th or 10th Intel CPU as there is a bug which can cause crashes (shouldn't be necessary anymore since unRAID 6.10)

 

CPU governor

Use the tips & tweaks Plugin to set the CPU governor to "powersave" or use the below commands in the Go file.

 

10G networking

SFP+ DAC consumes less power than SFP+ SR/LR and both less than 10G RJ45. Depending on your internet connection the most efficient scenario is not to use a 10G switch. Instead directly connect your client with your server and use a second 1G cable to connect with your internet router. By that your 10G controller/card goes to sleep while your client is powered off. In comparison an active connection to a 10G switch never allows sleep states.

 

MTU

Surprisingly a user was not able to reach any C-State other than C1E after setting the MTU to 9000.

 

SATA Controller

Some mainboards or pcie cards provide SATA ports through an additional SATA controller. Sadly some of the most popular and usually well supported JMB xxx and ASM xxxx controllers have an incompatibility to "powertop --auto-tune" because it sets all SATA ports to "med_power_with_dipm". To bypass this problem, you should not use "powertop --auto-tune". Instead read the "Commands" paragraph to set the commands manually. Then you can remove the line with the "med_power_with_dipm" setting or you can set each hostX individually. Example:

# Enable SATA link power management (this skips SATA host3 and host4)
echo med_power_with_dipm | tee /sys/class/scsi_host/host1/link_power_management_policy
echo med_power_with_dipm | tee /sys/class/scsi_host/host2/link_power_management_policy
echo med_power_with_dipm | tee /sys/class/scsi_host/host5/link_power_management_policy
echo med_power_with_dipm | tee /sys/class/scsi_host/host6/link_power_management_policy

 

If you are using the ASM1166 you could even try to update the firmware.

 

NVMe

A user found out that a specific NVMe SSD allowed only C2, while with a Samsung Evo Plus the system reached C10.

 

Power supply

An unnecessary high-power and/or inefficient power supply can raise the power consumption by 5 to 15W. Choose wisely:

- as low power (watt) as possible

- as efficient as possible (like Titanium grade)

- avoid dual power supply setups (server grade hardware is not build for efficiency)

 

If you plan to build a setup with extremely low power consumption, consider these power supplies:

- PicoPSU (up to 200 watts, but is limited to ~4 SSDs as it has low 5V output)

- Corsair RM550x (2021) (this looses only 1 watt more than a PicoPSU at 10W to 20W load!)

- BeQuiet Pure Power 11 FM 550W (similar to the Corsair, but 2 watts more than a PicoPSU, but cheaper than the Corsair)

 

Notes:

- As of writing this post all other power supplies are much more inefficient. So don't think for example a Corsair SF450 is more efficient than the Corsair RM550x (2021) although the former is Platinum grade . It's not. I have both and the Platinum looses 4W more at 10W load. The reason is that some of the most recent power supplies include a new technology to reach the future ATX12VO standard, which has the requirement of being extremely efficient at low loads. For example Seasonic told me in 06/2022 that power supplies for ATX12VO are still in development.

- An HDD can consume up to 30W if you switch on your server, but in this state the other server components do not reach their maximum load. So summarize wisely to obtain the correct power supply size.

- Do not buy the Corsair / BeQuiet if you don't reach a power consumption under 30W: Above this, usual Platinum / Titanium power supplies are more efficient.

 

Commands

Instead of using "powertop --auto-tune" you could add the following power-saving commands to your /boot/config/go file (stop your array and execute them through your terminal to test them first) with the Config File Editor Plugin:

 

# -------------------------------------------------
# Set power-efficient CPU governor
# -------------------------------------------------
/etc/rc.d/rc.cpufreq powersave

# -------------------------------------------------
# Disable CPU Turbo
# -------------------------------------------------
[[ -f /sys/devices/system/cpu/intel_pstate/no_turbo ]] && echo "1" > /sys/devices/system/cpu/intel_pstate/no_turbo
[[ -f /sys/devices/system/cpu/cpufreq/boost ]] && echo "0" > /sys/devices/system/cpu/cpufreq/boost

# -------------------------------------------------
# Enable power-efficient ethernet
# -------------------------------------------------

# enable IEEE 802.3az (Energy Efficient Ethernet): Could be incompatible to LACP bonds!
for i in /sys/class/net/eth?; do dev=$(basename $i); [[ $(echo $(ethtool --show-eee $dev 2> /dev/null) | grep -c "Supported EEE link modes: 1") -eq 1 ]] && ethtool --set-eee $dev eee on; done

# Disable wake on lan
for i in /sys/class/net/eth?; do ethtool -s  $(basename $i) wol d; done

# -------------------------------------------------
# powertop tweaks
# -------------------------------------------------

# Enable SATA link power management
echo med_power_with_dipm | tee /sys/class/scsi_host/host*/link_power_management_policy

# Runtime PM for I2C Adapter (i915 gmbus dpb)
echo auto | tee /sys/bus/i2c/devices/i2c-*/device/power/control

# Autosuspend for USB device
echo auto | tee /sys/bus/usb/devices/*/power/control

# Runtime PM for disk
echo auto | tee /sys/block/sd*/device/power/control

# Runtime PM for PCI devices
echo auto | tee /sys/bus/pci/devices/????:??:??.?/power/control

# Runtime PM for ATA devices
echo auto | tee /sys/bus/pci/devices/????:??:??.?/ata*/power/control

 

Note: EEE can cause problems with 2.5G Intel Ethernet.

 

Config File Editor:

1127764090_2020-10-2112_59_21.png.6c68b2422b81593f8d85f261748b34b1.png

 

 

Debugging

 

Here are some helpful terminal commands.

 

Spin down all disks (Unraid only)

for dev in /dev/sd?; do /usr/local/sbin/emcmd cmdSpindown="$(grep -zoP "(?<=name=\")[a-z0-9]+(?=\"\ndevice=\"${dev: -3})" /var/local/emhttp/disks.ini | tr -d '\0')"; done

 

Obtain ASPM status of all devices:

lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )'

 

Watch CPU frequency:

watch -n3 "cpufreq-info | grep 'current CPU'"

 

 

A few days ago I bought this device https://amzn.eu/d/2btFvxL and when I checked the firmware that came installed, looking at the first version number that seems to be a date, it seems more recent than SilverStone, is it possible?

Edited by Morell
Link to comment
5 hours ago, mgutt said:

Yes. Sadly I can't find this newer version as download.

Is there any way to identify the firmware version from linux (unraid) or do I have to go back to Windows to see it?

 

I think it's this one: 220419-0000-00

Edited by Morell
Link to comment
On 2/1/2024 at 4:27 PM, tmodev said:

n my case i still cant reach deeper C-States than C3 eventhough I enabled ASPM for all my devices. Enabled C-States. Deactivated every unnecessery device and yet i am only able to reach c3. "Native ASPM" is disabled. Any suggestions what else i could try to tune?

With 6.12.5-6 is a problem with the Realtek Kernel drivers in general. You generally do no more reach lower C-Pkg states than C3. 

If you install the Realtek community driver package and the check with the lspci instruction (which you used in your post) then it's shown that ASPM is active but that's not true. You, again, com not deeper than C3. 

 

I reported already: Link

There  a later posts with more informations.

Statement of a Mod: Link

  • Thanks 1
Link to comment

Hi everybody,

I stumbled over a very strange solution to one of my problems and I think this can be Interesting for all RTL8111H ethernet chip users who cannot achieve lower C-states on newer versions of Unraid (or Proxmox, Debian, ...). I have tested this with my Asrock N100DC-ITX with Proxmox 8.2 (newest 6.5 Kernel) and additionally with a unraid 6.12.6 test installation.

 

After you installed your newest debian-based distribution to your liking, you need to install either the RTL8168 driver for Unraid from the Community Application tab, or if youre not on unraid you need to install the unstable package of r8168-dkms from the Linux sid repo. After you've done this, restart your Server and use the lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )' command to check whether ASPM is activated on the realtek network adapter again. Now comes the magic: Make sure to close all ssh connections to your server, connect a local screen to hdmi/vga/... and a keyboard and locally log in on the terminal of the machine itself. Execute powertop, switch to the "Idle stats"-View and see your higher C-States with your own eyes. I don't know why this is the case and it seems very strange, but as long as I am not connected via SSH, my C-States go till C8. When I connect via SSH, C-States instantly change to C3 max. Logout of the SSH Connection - Boom! Back in C8.

 

BR and HF!

Edited by da_stingo
  • Confused 1
Link to comment
On 1/17/2024 at 1:42 PM, genesisdoeswhatnintendont said:

 

 

 

Good news everyone!

I managed to get C10 pkg C-State (previously I get no higher than C3) on

Asrock LGA1700 mobo and you can too. Yay!

 

My setup is:

 

Motherboard: Asrock H610M-ITX/ac
CPU: i5-12500
NVME: Samsung 970 EVO 500Gb
SSD: PLEXTOR PX-128M (only used on Windows) / 2x2.5" HDD: 250GB Samsung HM250HI + 4TB Seagate ST4000LM016 (on Proxmox)
RAM: 2x32Gb Samsung DDR4 3200
PSU: Corsair RM650x 2021

 

 

So you have to enable/change hidden BIOS menus by using AMISCE (AMI Setup Control Environment) utility v5.03 or 5.05 for Windows (it sometimes provided with MSI software products and can easily be found on the internet). So you have to install Windows and to enable Administrator password in your BIOS.


1 Run Powershell as admin and cd to folder where your AMISCE extracted when run this command:

 

.\SCEWIN_64.exe /o /s '.\setup_script_file.txt' /a

 

In the setup_script_file.txt current values is marked with asterisk “*”.

Our goal is to change “Lower Power S0 Idle Capability” from 0x0 (Disabled) to 0x1 (Enabled).


From the command line you can check value/status by this command:

 

.\SCEWIN_64.exe /o /lang 'en-US' /ms "Low Power S0 Idle Capability" /hb

 

“*” next to “[00]Disabled” indicates it currently disabled. Then change it:

 

.\SCEWIN_64.exe /i /lang 'en-US' /ms "Low Power S0 Idle Capability" /qv 0x1 /cpwd YOUR-BIOS-ADMIN-PASSWORD /hb

 

Check again:

 

.\SCEWIN_64.exe /o /lang 'en-US' /ms "Low Power S0 Idle Capability" /hb

 

I also changed this settings because I wanted to :)

 

.\SCEWIN_64.exe /i /lang 'en-US' /ms "LED MCU" /qv 0x0 /hb
.\SCEWIN_64.exe /i /lang 'en-US' /ms "Native ASPM" /qv 0x0 /cpwd YOUR-BIOS-ADMIN-PASSWORD /hb
.\SCEWIN_64.exe /i /lang 'en-US' /ms "Discrete Bluetooth Interface" /qv 0x0 /cpwd YOUR-BIOS-ADMIN-PASSWORD /hb
.\SCEWIN_64.exe /i /lang 'en-US' /ms "UnderVolt Protection" /qv 0x0 /hb
.\SCEWIN_64.exe /i /lang 'en-US' /ms "Password protection of Runtime Variables" /qv 0x0 /cpwd YOUR-BIOS-ADMIN-PASSWORD /hb

 

2 Another approach is to edit setup_script_file.txt manually by changing the asterisk location. And then:

 

.\SCEWIN_64.exe /i /s '.\setup_script_file_S0_enable.txt' /ds /r

 

Finally, reboot your machine.

 

In Windows I have C8 pkg C-State (Throttlestop utility) and 4.5 watts from the wall at idle (display went to sleep).


in Proxmox (sorry I don't use Unraid but this forum is a godsend) as you see I have

C10 (couldn't believe my eyes at first) and 5.5 - 6 watts from the wall with disks spinned down (added 2 2,5" HDDs: 250GB Samsung HM250HI and 4TB Seagate ST4000LM016 instead of Plextor SSD)

 

This guide was heavily inspired by another guide (I don't know if it's allowed to post links to another forums but you can find it by searching "Enabling hidden BIOS settings on Gigabyte Z690 mainboards")

2024-01-17-15:48:48-screenshot.png

Thanks. I was able to follow the instructions & was able to reach C8 in windows 10. This was the first time i'd ever seen my motherboard go beyond C3. However, when using the integrated realtek 8125 or my mellanox connectx-4 I become limited to C3 again. So I guess that means that ASPM is working on the connectx-4, just not well seeing as C3 is as low as it will go.

  • Like 1
Link to comment

I've encountered a weird issue I'm currently trying to solve. I have the legendary Gigabyte C246M mainboard and decided to upgrade to 2.5Gbit, having bought a PCI 2.5Gbit network card and a Fritzbox 6690 to employ as the router.

Now, it all works as long as I do not run powertop, which is of course not an option. 

Whenever I run "powertop --auto-tune" the server goes to C7 (instead of C10) and it still is fine and works however if it loses network connection while having powertop active or if the ethernet cable is toggled, it never gets the IP and basically just hangs, if I run "ip addr" the command never finished, the only way to get the ip is to reboot the server and run powertop again.

 

It's very annoying, the same will of course happen if I restart the router. I'm not sure if it's the fritzbox or the server to blame.

 

Any ideas what to do?

Edited by ServerUngeek
Link to comment
14 hours ago, ServerUngeek said:

I've encountered a weird issue I'm currently trying to solve. I have the legendary Gigabyte C246M mainboard and decided to upgrade to 2.5Gbit, having bought a PCI 2.5Gbit network card and a Fritzbox 6690 to employ as the router.

Now, it all works as long as I do not run powertop, which is of course not an option. 

Whenever I run "powertop --auto-tune" the server goes to C7 (instead of C10) and it still is fine and works however if it loses network connection while having powertop active or if the ethernet cable is toggled, it never gets the IP and basically just hangs, if I run "ip addr" the command never finished, the only way to get the ip is to reboot the server and run powertop again.

 

It's very annoying, the same will of course happen if I restart the router. I'm not sure if it's the fritzbox or the server to blame.

 

Any ideas what to do?

 

Hahahahahahahahahahahah

 

I thought let's try realtek bought a 8125 card, it fixes the problem above however its power consumption is atrocious, it never allows CPU package to get lower than C3 and thus constantly consumes 2W more than the intel card which is a nogo.

 

What a freaking weird thing, can this not be solved at all? Just wanna have a goddamn 2.5Gbit card that lets the package cpu go to C7 and does not hang up if I pull the cable. I'm already running Kernel 6.5 - no luck.

Link to comment
21 hours ago, ServerUngeek said:

I've encountered a weird issue I'm currently trying to solve. I have the legendary Gigabyte C246M mainboard and decided to upgrade to 2.5Gbit, having bought a PCI 2.5Gbit network card and a Fritzbox 6690 to employ as the router.

Now, it all works as long as I do not run powertop, which is of course not an option. 

Whenever I run "powertop --auto-tune" the server goes to C7 (instead of C10) and it still is fine and works however if it loses network connection while having powertop active or if the ethernet cable is toggled, it never gets the IP and basically just hangs, if I run "ip addr" the command never finished, the only way to get the ip is to reboot the server and run powertop again.

 

It's very annoying, the same will of course happen if I restart the router. I'm not sure if it's the fritzbox or the server to blame.

 

Any ideas what to do?

Because ASPM has been disabled for the driver due to some reported issue. Perhaps you can add a comment here to keep the hopes up.

 

Link to comment
22 hours ago, Knorki said:

Hello,

 

I have edit the /boot/config/go file with the commands from the first post. As recommended, I tried to execute them through the terminal to test them first, but only got errors. Have I missed something?

 

21 hours ago, mgutt said:

Which are?

 

I got the foolowing errors:

 

grafik.png.5ad9b8e91e569901d6cc25ae8e87be49.png

Link to comment
32 minutes ago, Knorki said:

I got the foolowing errors

The go file should never be executed manually. It starts the unRAID WebGUI. You need to paste the commands line by line or use a separate script with the user scripts plugin. For example I'm not using the go file. I have a user script which gets executed on first array start. 

 

PS you should restart your server to avoid further problems with your execution of the go file.

Link to comment

I have a ASM1166 Sata expansion with latest firmware from Silverstone. No issues with waking up arrays that I can see (a few other people confirmed supposedly the firmware indeed fixes that). I got the Ableconn version ($59), which seems identical copy to Startech ($66)

However, after applying the power top auto, all hosts go GOOD (the card does advertise 38 hosts, probably cause it supports port replicators downstream). But after system reboot, they all go back to BAD. I only have 3 drives and I confirmed their host number is listed as bad. Am I missing something?

FYI, I am able to achieve C8 package state with the asm1166 (if I unplug my realtek 8125 2.5g card).

Edited by OrdinaryButt
Link to comment
20 hours ago, OrdinaryButt said:

Because ASPM has been disabled for the driver due to some reported issue. Perhaps you can add a comment here to keep the hopes up.

 

 

Well, might very well be the reason, the card isn't useful then if the CPU gets stuck at C3. So, I guess whatever, sending it back.

 

I've now ordered a I226-T1 card from intel, gonna see how it features. In the specs Intel is actually is explicitly saying that it's tweaked to low power consumption and consumes a maximum of 1.4W when actively transferring in 2.5Gbit mode which is astonishing.

 

The noname china made I225-V card that I'm currently using is really a bit weird, especially since it seems to not be able to interpret EEE modes from the switch (which the realtek card can do), I hope that the intel made card is going to be more decent.

 

 

Edited by ServerUngeek
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...