Why are you using additional ASM1166? Isn't the same on the board?
I just want the parity disk to be on another PCI Lane
Last edited:
Why are you using additional ASM1166? Isn't the same on the board?

# -------------------------------------------------
# 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
I agree on the Memory Manufacturers, SK Hynix is working fine for me. However, it does not matter if you use a module with a frequency > 4800MHz as it will just be downclocked to what the CPU supports. For exmaple a 5600MHz module is fine to use and will just be automatically downclocked to 4800Mhz.RAM Compatibility: This MOBO is very picky about RAM. Micron Crucial, Samsung, and SK Hynix are good choices. Don't buy RAM with a frequency higher than 4800MHz; it's not supported by the CPU.
I have zero issues with any of the USB ports, can you explain further?USB Ports: According to comments from beta testers on the official page, the bottom port of the onboard USB is unavailable due to the lack of a USB 2.0 port from the CPU. Only the upper one is working.
If you have to do this, you are on an old BIOs version, try upgrading and re-testing your findings.BIOS Configuration (Press Ctrl+F1 to open hidden options):
This seems odd to want to disbale Turbo Boosting. Your CPU will function at a lower clock when doing tasks but the tasks will take longer so it is better to keep Turbo Boosting enabled so the tasks are completed more quickly at a higher clock. Completing the tasks quickly at higher clock compared to completing the tasks slowly at a lower clock should have comparable power consumption.# ------------------------------------------------- # 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
My system is actually entering C10 state. I have only enabled L1 ASPM state wherever I am able to and did not enable L0s or L0sL1 anywhere.With these configurations, the CPU can enter C8 state:
The ASM1166 controller 100% supports SATA Link Power Management. The ASM spec even states it supports Partial/Slumber power management, which means SATA Link Power Management IS supported. Maybe you need to update your ASM1166 to a newer version.SATA Link Power Management: Not supported by the ASM1166 controller.
How are you testing this, what are you enabling and disabling exactly and where?Intel I226-V Ethernet Controller: Has a power management issue. Enabling it causes serious OS hangs (though there's no issue if running on Arch Linux with the latest Linux kernel).
Please expand on this? VM writeback timeout does not mean much or explain the problem you are having.VM writeback timeout: Can be ignored if you have UPS.
I agree on the Memory Manufacturers, SK Hynix is working fine for me. However, it does not matter if you use a module with a frequency > 4800MHz as it will just be downclocked to what the CPU supports. For exmaple a 5600MHz module is fine to use and will just be automatically downclocked to 4800Mhz.
If you have to do this, you are on an old BIOs version, try upgrading and re-testing your findings.
This seems odd to want to disable Turbo Boosting. Your CPU will function at a lower clock when doing tasks but the tasks will take longer so it is better to keep Turbo Boosting enabled so the tasks are completed more quickly at a higher clock. Completing the tasks quickly at higher clock compared to completing the tasks slowly at a lower clock should have comparable power consumption.
That is definitely the latest BIOs, except I am using the noBootSATA type. Weird.I have (I think) the latest BIOS installed (CW-NAS-ADLN-KV10_BootSATA_20240624.iso) and still need to do CTRL-F1 for Advanced Settings.
I use the noBootSATA too just copypasted the wrong filename from my downloads folder. Even weirder.That is definitely the latest BIOs, except I am using the noBootSATA type. Weird.
I agree on the Memory Manufacturers, SK Hynix is working fine for me. However, it does not matter if you use a module with a frequency > 4800MHz as it will just be downclocked to what the CPU supports. For exmaple a 5600MHz module is fine to use and will just be automatically downclocked to 4800Mhz.
I have zero issues with any of the USB ports, can you explain further?
If you have to do this, you are on an old BIOs version, try upgrading and re-testing your findings.
This seems odd to want to disbale Turbo Boosting. Your CPU will function at a lower clock when doing tasks but the tasks will take longer so it is better to keep Turbo Boosting enabled so the tasks are completed more quickly at a higher clock. Completing the tasks quickly at higher clock compared to completing the tasks slowly at a lower clock should have comparable power consumption.
My system is actually entering C10 state. I have only enabled L1 ASPM state wherever I am able to and did not enable L0s or L0sL1 anywhere.
The ASM1166 controller 100% supports SATA Link Power Management. The ASM spec even states it supports Partial/Slumber power management, which means SATA Link Power Management IS supported. Maybe you need to update your ASM1166 to a newer version.
How are you testing this, what are you enabling and disabling exactly and where?
I want to verify this on my system.
Please expand on this? VM writeback timeout does not mean much or explain the problem you are having.
Sure, will grab this for you.Could you please share your configuration?
No no, the ASM1166 **does** support Link Power Management. There was a bug in early firmware versions that prevented it from working, but in the latest version it works fine.If I haven't misread, according to this [post](SATA Controller part), it mentions there is incompatibility when setting the link power management policy.
This sounds odd, I will probably read up on this to understand better.This "VM writeback timeout" issue is explained in detail in this forum post: [Reduce power consumption with powertop].
Pkg(HW) | Core(HW) | CPU(OS) 0
| | C0 active 1.6%
| | POLL 0.0% 0.0 ms
| | C1E 2.0% 0.4 ms
C2 (pc2) 1.7% | |
C3 (pc3) 65.0% | C3 (cc3) 0.0% |
C6 (pc6) 0.0% | C6 (cc6) 94.9% | C6 7.8% 0.9 ms
C7 (pc7) 0.0% | C7 (cc7) 87.5% |
C8 (pc8) 0.0% | | C8 0.9% 2.4 ms
C9 (pc9) 0.0% | |
C10 (pc10) 0.0% | |
| | C10 87.4% 14.1 ms
No no, the ASM1166 **does** support Link Power Management. There was a bug in early firmware versions that prevented it from working, but in the latest version it works fine.
I have seen zero mentions of data loss with the ASM1166 anywhere? Especially in regards to enabling LPM. Why did this cross your mind to be concerned?I'm extremely happy to hear you confirm this; it's news to me. I think I was too afraid to enable this option due to concerns about data loss. I'll try it on my Unraid later. Thank you for pointing out the error.
I just spent some time going through this list in my BIOs and they were pretty similar to yours, but I will list my comments below.I received my CW-ALDN-NAS-K (the purple N305) last week. I'm using it mainly for my Unraid NAS to replace a 10-year-old i3-3340 due to its lack of hardware decoding ability and high power consumption.
After two full days of tuning, Googling, and reading tech articles, I still think it's a good MOBO. If you're interested in diving in, here are some things you need to know:
- RAM Compatibility: This MOBO is very picky about RAM. Micron Crucial, Samsung, and SK Hynix are good choices. Don't buy RAM with a frequency higher than 4800MHz;
it's not supported by the CPU.update: it will be automatically downclocked to 4800MHz.- USB Ports: According to comments from beta testers on the official page, the bottom port of the onboard USB (update: beside the PCIe Lane) is unavailable due to the lack of a USB 2.0 port from the CPU. Only the upper one is working.
- M.2 Slot Spacing: The two M.2 slots are too close to each other, so the heatsink cannot be wider than your NVMe drive. Don't buy M.2 coolers, as most of them are wider than the M.2 itself and even larger than the M.2 heatsink.
- CPU Contact Issue: The CPU doesn't make good contact with the copper plate. Prepare a 0.5mm thermal pad to fix it.
Here's my setup:
View attachment 39628
Code:MOBO: CW-ALDN-NAS-K RAM: Crucial CT32G48C40S5 32GB 4800MHz M.2: KLEVV CRAS CV710 512GB x2 HDD: 10TB x1, 3TB x1, 1TB x1 OS: unRAID 6.12.13
BIOS Configuration (Press Ctrl+F1 to open hidden options):
Markdown (GitHub flavored):Advanced - Power & Performance - CPU - C states - Package C State Limit: C10 - RC ACPI Settings - Native PCIE Enable: Enabled - Native ASPM: Enabled Chipset - System Agent (SA) Configuration - Memory Configuration - In-Band ECC Support: Enabled # optional - Graphics Configuration - Skip Scaning of External Gfx Card: Enabled # optional - RC1p Support: Enabled - TCSS setup menu # optional: fix thunderbolt errors - D3 Cold Enable/Disable: Disabled - D3Hot: Disabled - DMI/OPI Configuration - DMI Gen3 ASPM: ASPM L1 - DMI ASPM: ASPM L1 - PCH-IO Configuration - PCI Express Configuration - DMI Link ASPM Control: L1 - PCI Express Root Port {1,2,3,4,7,9} - ASPM: L1 - L1 Substates: L1.1 & L1.2 - L1 Low: Enabled - SATA Configuration - SATA Controller(s): Disabled # this mobo use ASM1166, not native one - HD Audio Subsystem Configuration Settings - HD Audio: Disabled # optional - SCS Configuration - eMMC 5.1 Controller: Disabled # optional
Startup Script:
Bash:# ------------------------------------------------- # Set power-efficient CPU governor # ------------------------------------------------- /etc/rc.d/rc.cpufreq powersave # ------------------------------------------------- # Disable CPU Turbo # ------------------------------------------------- # update: optional, uncomment this part if you don't need CPU Boost #[[ -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 # ------------------------------------------------- # 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 devices echo auto | tee /sys/bus/usb/devices/*/power/control # Runtime PM for disk echo auto | tee /sys/block/sd*/device/power/control # Host bridge echo auto | tee /sys/bus/pci/devices/0000:00:00.0/power/control # RAM memory: Intel Corporation Alder Lake-N PCH Shared SRAM echo auto | tee /sys/bus/pci/devices/0000:00:14.2/power/control # ISA bridge: Intel Corporation Alder Lake-N PCH eSPI Controller echo auto | tee /sys/bus/pci/devices/0000:00:1f.0/power/control # Serial bus controller: Intel Corporation Alder Lake-N SPI (flash) Controller echo auto | tee /sys/bus/pci/devices/0000:00:1f.5/power/control # ------------------------------------------------- # execute `lspci -tv` to fit your build # ------------------------------------------------- # NVME echo auto | tee /sys/bus/pci/devices/0000:01:00.0/power/control # NVME echo auto | tee /sys/bus/pci/devices/0000:02:00.0/power/control # SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02) echo auto | tee /sys/bus/pci/devices/0000:03:00.0/power/control # Runtime PM for ATA devices echo auto | tee /sys/bus/pci/devices/0000:03:00.0/ata*/power/control # Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04) # DO NOT uncomment; it may cause serious OS hangs, especially when opening powertop #echo auto | tee /sys/bus/pci/devices/0000:04:00.0/power/control #echo auto | tee /sys/bus/pci/devices/0000:05:00.0/power/control
With these configurations, the CPU can enter C8 state:
Code:Pkg(HW) | Core(HW) | CPU(OS) 0 | | C0 active 4.6% | | POLL 0.0% 0.0 ms | | C1E 4.7% 0.1 ms C2 (pc2) 14.7% | | C3 (pc3) 0.8% | C3 (cc3) 0.0% | C6 (pc6) 17.3% | C6 (cc6) 85.7% | C6 7.0% 0.9 ms C7 (pc7) 0.0% | C7 (cc7) 79.7% | C8 (pc8) 13.3% | | C8 3.6% 1.1 ms C9 (pc9) 0.0% | | C10 (pc10) 0.0% | | | | C10 78.6% 6.2 ms
Powertop Output:
Code:>> Bad VM writeback timeout Bad Runtime PM for PCI Device Intel Corporation Ethernet Controller I226-V Bad Runtime PM for PCI Device Intel Corporation Ethernet Controller I226-V
There are still some "BAD"s:
This configuration has been running for 24 hours without problems, even under full usage scenarios:
SATA Link Power Management: Not supported by the ASM1166 controller.- Intel I226-V Ethernet Controller: Has a power management issue. Enabling it causes serious OS hangs (though there's no issue if running on Arch Linux with the latest Linux kernel).
- VM writeback timeout: Can be ignored if you have UPS.
- Jellyfin: Software decoding of high-bitrate H.264 High 10 video (no hardware decoding available) combined with HEVC hardware encoding. This results in full CPU and GPU loading.
update: Special thanks to @Outbound0918 for the valuable suggestions and guidance, which helped me resolve many issues.
ref:
There are 9 PCIE lanes in total, this only configures ASPM for 6 of them, the other 3 are under: System Agent (SA) Configuration -> PCI Express Configuration -> Ports-> "ASPM stuff"Markdown (GitHub flavored):- PCH-IO Configuration - PCI Express Configuration - DMI Link ASPM Control: L1 - PCI Express Root Port {1,2,3,4,7,9} - ASPM: L1 - L1 Substates: L1.1 & L1.2 - L1 Low: Enabled
The OS seems to override this for me, most likely set in some kernel parameters.Markdown (GitHub flavored):- Power & Performance - CPU - C states - Package C State Limit: C10
You can also enable the setting C10 Dynamic Threshold Adjustment. I have not tested if it improves anything in terms of power savings, but it *theoretically should*.Markdown (GitHub flavored):- System Agent (SA) Configuration
Where are you seeing these thunderbolt errors and what issues are they causing you?Markdown (GitHub flavored):- TCSS setup menu # optional: fix thunderbolt errors - D3 Cold Enable/Disable: Disabled - D3Hot: Disabled
Some notes for others on these settings:Markdown (GitHub flavored):- Memory Configuration - In-Band ECC Support: Enabled # optional
- PCH-IO Configuration
- PCI Express Configuration
- DMI Link ASPM Control: L1
- PCI Express Root Port {1,2,3,4,7,9}
[B] - ASPM: L1 # This gets disabled after reboot
- L1 Substates: L1.1 & L1.2 # This gets disabled after reboot[/B]
Additionally, I highly doubt disabling WOL will save any power when the system is powered on.# ------------------------------------------------- # Enable power-efficient ethernet # ------------------------------------------------- # Disable Wake-on-LAN for i in /sys/class/net/eth?; do ethtool -s $(basename $i) wol d; done
It's enabled to ASPM L1 by default.There are 9 PCIE lanes in total, this only configures ASPM for 6 of them, the other 3 are under: System Agent (SA) Configuration -> PCI Express Configuration -> Ports-> "ASPM stuff"
You should configure ASPM for the lanes here too.
I can confirm it's handled by `intel_idle` kernel module; there's no need to set it in the BIOS.The OS seems to override this for me, most likely set in some kernel parameters.
You can also enable the setting C10 Dynamic Threshold Adjustment. I have not tested if it improves anything in terms of power savings, but it *theoretically should*.
Just suppressing error messages from dmesg.Where are you seeing these thunderbolt errors and what issues are they causing you?
I will add this section to my post; I forgot to mention it earlier.The setting below in **BOLD** disable themselves if you go back into the BIOs after saving. They are in fact still enabled if you DO NOT re-save when they show as disabled.
What I am doing is configuring the BIOs, saving to User Defaults, then saving and exiting. Then if I want to make anymore BIOs changes, restore user defaults, make changes, save to user defaults, then save and exit. Annoying yes, but it is the best workaround until this bug is fixed by CWWK.
Markdown (GitHub flavored):- PCH-IO Configuration - PCI Express Configuration - DMI Link ASPM Control: L1 - PCI Express Root Port {1,2,3,4,7,9} [B] - ASPM: L1 # This gets disabled after reboot - L1 Substates: L1.1 & L1.2 # This gets disabled after reboot[/B]
It can be ignored I think.Additionally, I highly doubt disabling WOL will save any power when the system is powered on.
"Influenced", not handled.I can confirm it's handled by `intel_idle` kernel module; there's no need to set it in the BIOS.
Then what are ports 5, 6 and 8 under: System Agent (SA) Configuration -> PCI Express Configuration -> Ports-> "ASPM stuff"It's enabled to ASPM L1 by default.
PCIe port map under PCH-IO should be:
- Port 1: NVMe
- Port 2: NVMe
- Port 3: ASM1166
- Port 4: I226-V
- Port 7: I226-V
- Port 9: (Maybe PCIe x4 slot)
Yes, you're right. It turns out I forgot that my user defaults set the cstate limit to C10."Influenced", not handled. ☺
Still should be enabled in the BIOs.
N305 only has 9 PCIe lanes, and they're all under PCH-IO configuration.Then what are ports 5, 6 and 8 under: System Agent (SA) Configuration -> PCI Express Configuration -> Ports-> "ASPM stuff"
you don't remove it, and yes, intel stock cooler fits perfectly, I'm using one on a n305, so you will need to check it makes contact with the copper plate tho, some have reported the need for 0.5 mm thermal pad for proper contact.Which Intel stock radiator fit to this board? (Purple n100 version). I ordered version with only copper plate. Should I remove it before mount radiator?