Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocated resource only 4MHz CPU on arm64? #7093

Closed
Legogris opened this issue Feb 7, 2020 · 2 comments
Closed

Allocated resource only 4MHz CPU on arm64? #7093

Legogris opened this issue Feb 7, 2020 · 2 comments

Comments

@Legogris
Copy link

Legogris commented Feb 7, 2020

Nomad version

Nomad v0.10.2 (0d2d6e3)

Operating system and Environment details

Debian 10

Linux 4.19.0-6-arm64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) aarch64 GNU/Linux
$ lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
NUMA node(s):        1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
BogoMIPS:            38.40
NUMA node0 CPU(s):   0-3
Flags:               fp asimd evtstrm crc32 cpuid
$ nomad node status -self -stats
Class         = <none>
DC            = dc1
Drain         = false
Eligibility   = eligible
Status        = ready
Uptime        = 97h20m59s
Host Volumes  = <none>
Driver Status = docker,exec

Node Events
Time                       Subsystem  Message
2020-02-03T15:24:15+09:00  Cluster    Node registered

Allocated Resources
CPU      Memory       Disk
0/4 MHz  0 B/906 MiB  0 B/25 GiB

Allocation Resource Utilization
CPU      Memory
0/4 MHz  0 B/906 MiB

Host Resource Utilization
CPU      Memory           Disk
0/4 MHz  307 MiB/907 MiB  2.0 GiB/28 GiB

CPU Stats
CPU    = cpu0
User   = 0.00%
System = 0.00%
Idle   = 97.78%

CPU    = cpu1
User   = 2.02%
System = 1.01%
Idle   = 96.97%

CPU    = cpu2
User   = 2.02%
System = 2.02%
Idle   = 95.96%

CPU    = cpu3
User   = 1.02%
System = 1.02%
Idle   = 97.96%

Memory Stats
Total     = 907 MiB
Available = 600 MiB
Used      = 307 MiB
Free      = 83 MiB
$ sudo dmidecode -t 4
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.
# SMBIOS implementations newer than version 3.2.0 are not
# fully supported by this version of dmidecode.

Handle 0x0004, DMI type 4, 48 bytes
Processor Information
        Socket Designation: Socket
        Type: Central Processor
        Family: ARM
        Manufacturer: Broadcom
        ID: 00 00 00 00 00 00 00 00
        Version: BCM2837 (ARM Cortex-A53)
        Voltage: 5.0 V 3.3 V 2.9 V
        External Clock: Unknown
        Max Speed: 1400 MHz
        Current Speed: 1400 MHz
        Status: Populated, Enabled
        Upgrade: Other
        L1 Cache Handle: 0x0000
        L2 Cache Handle: 0x0000
        L3 Cache Handle: 0x0000
        Serial Number: Not Specified
        Asset Tag: Not Specified
        Part Number: Not Specified
        Core Count: 4
        Core Enabled: 4
        Thread Count: 4
        Characteristics:
                64-bit capable
                Multi-Core
                Execute Protection
                Enhanced Virtualization
$ sudo journalctl -u nomad | grep -i cpu
[empty]
$ sudo dmidecode -t 4 | grep 'Current Speed' | sed 's/.*: //' | sed 's/ .*//' | awk '{s+=$1} END {print s}'
1400

Issue

Raspberry Pi3B+ only have 4MHz CPU available.

@Legogris
Copy link
Author

Legogris commented Feb 7, 2020

Looks like this is a duplicate of #4233. Closing.

@Legogris Legogris closed this as completed Feb 7, 2020
@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant