System is very slow after resume on Amlogic A311D

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello friends!
I using the Khadas VIM3 SBC with Amlogic A311D device.
When I resuming after "echo mem > /sys/power/state" my system is very
and very slow, more than 5 times slowing.
CPU frequensies throght sysfs are similars for before suspend and after resume
VIM3 ~ # cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq
1800000
VIM3 ~ # cat /sys/devices/system/cpu/cpufreq/policy2/cpuinfo_cur_freq
2208000
VIM3 ~ # echo mem > /sys/power/state
VIM3 ~ # cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq
1800000
VIM3 ~ # cat /sys/devices/system/cpu/cpufreq/policy2/cpuinfo_cur_freq
2208000
VIM3 ~ #

However in uart console log I recieve such message:

bl30 get wakeup sources!
process command 00000006
bl30 enter suspend!
Little core clk suspend rate 1800000000
Big core clk suspend rate 24000000
store restore gp0 pll
suspend_counter: 1
Enter ddr suspend
DMC_DRAM_STAT11: 0x544
ddr suspend time: 2177us
alarm=0S
process command 00000001
cec ver:2018/04/29
CEC cfg:0x0000
use vddee new table!
use vddee new table!
exit_reason:0x06
Enter ddr resume
DMC_DRAM_STAT3: 0x544
ddr resume time: 3187us
store restore gp0 pll
cfg15 3b00000
cfg15 63b00000
Little core clk resume rate 1800000000
Big core clk resume rate 50000000
login: timed out after 60 seconds
Arch Linux 5.19.0-rc2-ARCH+ (ttyAML0)
VIM3 login:

I'm not sure, but I think what the  "Big core clk resume rate too
small  for Amlogic A311D and therefore my system is very slow.
Is there any way to fix this?

Attachment: sysbench_before_suspend
Description: Binary data

[175077.854161] PM: suspend entry (deep)
[175078.307719] Filesystems sync: 0.453 seconds
[175078.339663] Freezing user space processes ... (elapsed 0.056 seconds) done.
[175078.396134] OOM killer disabled.
[175078.396136] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[175078.397361] printk: Suspending console(s) (use no_console_suspend to debug)
[175078.503926] wlan0: deauthenticating from 0c:37:dc:d1:f2:b8 by local choice (Reason: 3=DEAUTH_LEAVING)
[175078.526584] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[175078.590038] PM: suspend devices took 0.086 seconds
[175078.590840] Disabling non-boot CPUs ...
[175078.592483] psci: CPU1 killed (polled 1 ms)
[175078.593566] psci: CPU2 killed (polled 1 ms)
[175078.595200] psci: CPU3 killed (polled 1 ms)
[175078.597054] psci: CPU4 killed (polled 1 ms)
[175078.598639] psci: CPU5 killed (polled 1 ms)
[175078.599602] Enabling non-boot CPUs ...
[175078.600001] Detected VIPT I-cache on CPU1
[175078.600055] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[175078.600467] CPU1 is up
[175078.601319] Detected VIPT I-cache on CPU2
[175078.601370] arch_timer: CPU2: Trapping CNTVCT access
[175078.601384] CPU2: Booted secondary processor 0x0000000100 [0x410fd092]
[175078.601932] CPU2 is up
[175078.602583] Detected VIPT I-cache on CPU3
[175078.602596] arch_timer: CPU3: Trapping CNTVCT access
[175078.602600] CPU3: Booted secondary processor 0x0000000101 [0x410fd092]
[175078.602777] CPU3 is up
[175078.603031] Detected VIPT I-cache on CPU4
[175078.603045] arch_timer: CPU4: Trapping CNTVCT access
[175078.603049] CPU4: Booted secondary processor 0x0000000102 [0x410fd092]
[175078.603240] CPU4 is up
[175078.603491] Detected VIPT I-cache on CPU5
[175078.603505] arch_timer: CPU5: Trapping CNTVCT access
[175078.603509] CPU5: Booted secondary processor 0x0000000103 [0x410fd092]
[175078.603703] CPU5 is up
[175078.605798] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode
[175078.638487] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found
[175078.638563] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW
[175078.681047] xhci-hcd xhci-hcd.2.auto: xHC error in resume, USBSTS 0x411, Reinit
[175078.681215] usb usb1: root hub lost power or was reset
[175078.681292] usb usb2: root hub lost power or was reset
[175078.977036] usb 1-1: reset high-speed USB device number 2 using xhci-hcd
[175079.239894] usb 2-1: reset SuperSpeed USB device number 2 using xhci-hcd
[175079.442978] usb 1-1.2: reset high-speed USB device number 3 using xhci-hcd
[175080.038033] usb 1-1.2.2: reset low-speed USB device number 4 using xhci-hcd
[175080.378342] usb 1-1.2.3: reset high-speed USB device number 5 using xhci-hcd
[175080.468794] mt7601u 1-1.2.3:1.0: Firmware Version: 0.1.00 Build: 7640 Build time: 201302052146____
[175080.521456] usb 1-1.2.4: reset full-speed USB device number 15 using xhci-hcd
[175080.821498] mt7601u 1-1.2.3:1.0: Error: MCU response pre-completed!
[175080.883987] mt7601u 1-1.2.3:1.0: EEPROM ver:0c fae:00
[175081.237906] PM: resume devices took 2.632 seconds
[175081.343121] OOM killer enabled.
[175081.343143] Restarting tasks ... done.
[175081.362393] random: crng reseeded on system resumption
[175081.385375] PM: suspend exit
[175086.161726] wlan0: authenticate with 0c:37:dc:d1:f2:b8
[175086.162469] wlan0: bad VHT capabilities, disabling VHT
[175086.187750] wlan0: send auth to 0c:37:dc:d1:f2:b8 (try 1/3)
[175086.200499] wlan0: authenticated
[175086.205675] wlan0: associate with 0c:37:dc:d1:f2:b8 (try 1/3)
[175086.211783] wlan0: RX AssocResp from 0c:37:dc:d1:f2:b8 (capab=0x411 status=0 aid=1)
[175086.273781] wlan0: associated
[175178.492665] input: BT5.2 Mouse as /devices/virtual/misc/uhid/0005:1235:AA22.001B/input/input30
[175178.537239] hid-generic 0005:1235:AA22.001B: input,hidraw3: BLUETOOTH HID v0.01 Mouse [BT5.2 Mouse] on d4:9c:dd:d9:c5:85

Attachment: sysbench_after_resume
Description: Binary data


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux