Power Saving Settings

80 views
Skip to first unread message

sloo...@gmail.com

unread,
Jul 10, 2022, 6:24:27 PM7/10/22
to esos-users
I have an ESOS server that doesn't need to have high performance, power savings is much more important. I can set it manually with "echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" which does save power but of course this does not persist across reboots. Is there anyway to set the power saving settings in the startup config? Perhaps using "x86_energy_perf_policy power" or some other setting?

Marc Smith

unread,
Jul 12, 2022, 10:43:42 PM7/12/22
to esos-...@googlegroups.com
I'd put the custom adjustments in "/etc/rc.local" and ensure it's
executable ('chmod +x /etc/rc.local').

--Marc

On Sun, Jul 10, 2022 at 6:24 PM sloo...@gmail.com <sloo...@gmail.com> wrote:
>
> I have an ESOS server that doesn't need to have high performance, power savings is much more important. I can set it manually with "echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" which does save power but of course this does not persist across reboots. Is there anyway to set the power saving settings in the startup config? Perhaps using "x86_energy_perf_policy power" or some other setting?
>
> --
> You received this message because you are subscribed to the Google Groups "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to esos-users+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/2de88582-9272-4553-bfd7-cf47cfd593a1n%40googlegroups.com.

sloo...@gmail.com

unread,
Jul 14, 2022, 8:54:07 PM7/14/22
to esos-users
Thanks Marc. The only issue left is that I see that C2 states have been disabled. Where do the below settings get set on boot? I see in the boot log that it sets it to maximum performance and disables C2 states.

Sat Jul  9 11:55:06 2022: Setting the x86 energy MSR policy for maximum performance...
Sat Jul  9 11:55:06 2022: Disabling the C2 CPU idle state...
Sat Jul  9 11:55:06 2022: Setting the CPU governor to 'performance'...

Marc Smith

unread,
Aug 15, 2022, 11:09:16 PM8/15/22
to esos-...@googlegroups.com
Sorry, I missed this one... you could modify the ESOS source for this
rc/init script and change it there, or if you're on a recent version
that uses squashfs images (instead of cpio), you could unsquashfs it,
modify the image, then put it back together and replace it in the
"/mnt/root" file system.

--Marc
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/164631fd-2891-435d-8352-957c48d0ba43n%40googlegroups.com.

sloo...@gmail.com

unread,
Aug 20, 2022, 10:46:28 PM8/20/22
to esos-users
Thanks Marc I'll give it a try.

sloo...@gmail.com

unread,
Aug 25, 2022, 1:06:21 PM8/25/22
to esos-users
That worked great! Another question for you. From what I can tell the Qlogic QLE2764 appears to be supported by the SCST 32Gb driver, but even after compiling 4.0.11 from source with the ./configure --enable-qla32 ESOS still doesn't load any driver. Is this card not supported? I found this is DMESG:

[   67.581070] qla2xxx_scst: module verification failed: signature and/or required key missing - tainting kernel
[   67.583983] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 10.01.00.25-k.
[   67.584145] qla2xxx [0000:00:00.0]-011c: : MSI-X vector count: 16.
[   67.584148] qla2xxx [0000:00:00.0]-001d: : Found an ISP2071 irq 18 iobase 0x00000000d31665a9.
[   67.635023] qla2xxx [0000:8a:00.0]-0075:9: ZIO mode 6 enabled; timer delay (200 us).
[   67.635028] qla2xxx [0000:8a:00.0]-ffff:9: FC4 priority set to NVMe
[   69.192005] qla2xxx [0000:8a:00.0]-00cf:9: Setup chip ****FAILED****.
[   69.192008] qla2xxx [0000:8a:00.0]-00d6:9: Failed to initialize adapter - Adapter flags 2.
[   69.198456] qla2xxx [0000:00:00.0]-011c: : MSI-X vector count: 16.
[   69.198460] qla2xxx [0000:00:00.0]-001d: : Found an ISP2071 irq 19 iobase 0x000000006ba0a962.
[   69.249022] qla2xxx [0000:8a:00.1]-0075:9: ZIO mode 6 enabled; timer delay (200 us).
[   69.249027] qla2xxx [0000:8a:00.1]-ffff:9: FC4 priority set to NVMe
[   70.806005] qla2xxx [0000:8a:00.1]-00cf:9: Setup chip ****FAILED****.
[   70.806008] qla2xxx [0000:8a:00.1]-00d6:9: Failed to initialize adapter - Adapter flags 2.
[   70.812431] qla2xxx [0000:00:00.0]-011c: : MSI-X vector count: 16.
[   70.812435] qla2xxx [0000:00:00.0]-001d: : Found an ISP2071 irq 16 iobase 0x00000000b580ba15.
[   70.863023] qla2xxx [0000:8a:00.2]-0075:9: ZIO mode 6 enabled; timer delay (200 us).
[   70.863028] qla2xxx [0000:8a:00.2]-ffff:9: FC4 priority set to NVMe
[   72.420026] qla2xxx [0000:8a:00.2]-00cf:9: Setup chip ****FAILED****.
[   72.420032] qla2xxx [0000:8a:00.2]-00d6:9: Failed to initialize adapter - Adapter flags 2.
[   72.426462] qla2xxx [0000:00:00.0]-011c: : MSI-X vector count: 16.
[   72.426466] qla2xxx [0000:00:00.0]-001d: : Found an ISP2071 irq 17 iobase 0x000000009ebeb214.
[   72.477023] qla2xxx [0000:8a:00.3]-0075:9: ZIO mode 6 enabled; timer delay (200 us).
[   72.477028] qla2xxx [0000:8a:00.3]-ffff:9: FC4 priority set to NVMe
[   74.038024] qla2xxx [0000:8a:00.3]-00cf:9: Setup chip ****FAILED****.
[   74.038029] qla2xxx [0000:8a:00.3]-00d6:9: Failed to initialize adapter - Adapter flags 2.

Marc Smith

unread,
Sep 4, 2022, 4:28:51 PM9/4/22
to esos-...@googlegroups.com
Nothing that I know off of the top of my head... is it an OEM HBA (like HP branded)? Or retail QLogic? Perhaps try another HBA and see if that works... otherwise you could dig through the driver source and try to understand what those messages mean.

--Marc


sloo...@gmail.com

unread,
Sep 14, 2022, 10:58:14 PM9/14/22
to esos-users
Thanks for response Marc. I ended up with two defective QLogic branded cards from eBay before finally getting a 3rd that works just fine. I have never seen anything quite like it. The mobo detected it and you could even update the firmware on them, but Linux would give the above error. Windows detected them fine, but I could never get a link. Thanks again!

Marc Smith

unread,
Oct 14, 2022, 9:44:35 AM10/14/22
to esos-...@googlegroups.com
Glad this worked out, thanks for sharing the resolution.

--Marc
> To view this discussion on the web visit https://groups.google.com/d/msgid/esos-users/073b82fe-3f01-43aa-85a8-2b79b300c255n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages