CPU Info details

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Amit 1 year, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #53818

    Amit
    Member

    Hi,
    I have configured the Openwrt Linux kernel for 2 CPUs. Now, Creator Ci40 SOC has Interaptiv core with two VPEs each. So after booting how many entries will the /proc/cpuinfo show?

    My output of /proc/cpuinfo is as follows

    —————————————————————————————-
    root@OpenWrt:/# cat /proc/cpuinfo
    system type : IMG Pistachio SoC (B0)
    machine : IMG Marduk – Ci40 with cc2520
    processor : 0
    cpu model : MIPS interAptiv (multi) V2.0 FPU V0.0
    BogoMIPS : 363.72
    wait instruction : yes
    microsecond timers : yes
    tlb_entries : 64
    extra interrupt vector : yes
    hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
    isa : mips1 mips2 mips32r1 mips32r2
    ASEs implemented : mips16 dsp mt eva
    shadow register sets : 1
    kscratch registers : 0
    package : 0
    core : 0
    VCED exceptions : not available
    VCEI exceptions : not available
    VPE : 0

    processor : 1
    cpu model : MIPS interAptiv (multi) V2.0 FPU V0.0
    BogoMIPS : 272.79
    wait instruction : yes
    microsecond timers : yes
    tlb_entries : 64
    extra interrupt vector : yes
    hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
    isa : mips1 mips2 mips32r1 mips32r2
    ASEs implemented : mips16 dsp mt eva
    shadow register sets : 1
    kscratch registers : 0
    package : 0
    core : 0
    VCED exceptions : not available
    VCEI exceptions : not available
    VPE : 1

    ——————————————————————————————————–

    Regards,
    Amit.

    #53855

    Matthew
    Member

    HI Amit,
    Remember that Linux treats each available VPEs as a logical CPU. The interaptiv in the Pistachio SoC on the Ci40 board has 2 cores each with 2 VPEs – total 4 logical CPUs. But you’ve configured Linux to support a maximum of 2 CPUs in CONFIG_NR_CPUS – therefore, you only get 2 CPUs – the 2 VPEs of Core0 as shown in your output of /proc/cpuinfo. Configuring Linux for (minimum) 4 CPUs would make all 4 logical CPUs available.

    Thanks,
    Matt

    1 user thanked author for this post.
    #53861

    Amit
    Member

    Thanks Matt for you answer.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Creator Platforms’ is closed to new topics and replies.