Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Используемые утилиты:

lscpu - позволяет получить информацию о количестве ядер процессора, максимальной и минимальной частоте работы, а также объеме кэш-памяти. Утилита входит в состав установочного диска и устанавливается автоматически в процессе станлартной установки системы.

cpufreq-info - позволяет получить информацию о текущей частоте ядер процессора. Утилита предоставляется пакетом cpufrequtils, и для ОС

СН Смоленск и Ленинград ОС СН Ленинград 8.1

Astra Linux Special Edition входит в состав диска со средствами разработки. При наличии подключенного репозитория пакет может быть установлен командой

Command
sudo apt install cpufrequtils



Информация

Данная статья применима к:

  • ОС СН Смоленск 1.6
    • Astra Linux Special Edition РУСБ.10015-01 (очередное обновление 1.7)
    • Astra Linux Special Edition РУСБ.10015-01 (очередное обновление 1.6)
    • Astra Linux Special Edition РУСБ.10015-16 исп. 1

    • Astra Linux Special Edition РУСБ.10015-16 исп. 2 (кроме пакета cpufrequtils)

    • Astra Linux Special Edition РУСБ.10015-01 (очередное обновление 1.5)

    • Astra Linux Special Edition РУСБ.10265-01 (очередное обновление 8.1)

    • (кроме пакета cpufrequtils)

    ОС ОН Орёл
    • Astra Linux Common Edition 2.12



    Для получения информации о количестве ядер процессора, объеме кэш-памяти, максимальной и минимальной частотах работы, выполнить команду lscpu:

    Command
    Titlelscpu

    Архитектура:x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Порядок байт:Little Endian
    CPU(s):                6
    On-line CPU(s) list:   0-5
    Thread(s) per core:    1
    Ядер на сокет:6
    Сокетов:        1
    NUMA node(s):          1
    ID прроизводителя:GenuineIntel
    Семейство ЦПУ:6
    Модель:          158
    Имя модели:   Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    Степпинг:      10
    CPU MHz:               3900.072
    CPU max MHz:           4000,0000
    CPU min MHz:           800,0000
    BogoMIPS:              5616.00
    Виртуализация:VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              9216K
    NUMA node0 CPU(s):     0-5
    Флаги:            fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_
    perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic
    movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_ad
    just bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d


    Информация

    CPU(s): 6 - Количество виртуальных (потоков) или реальных ядер

    Thread(s) per core: 1- Количество потоков на реальное ядро

    Ядер на сокет:6 - Количество ядер процессора

    CPU MHz: 3900.072 - Текущая частота

    CPU max MHz: 4000,0000 - Максимальная доступная частота

    CPU min MHz:  800,0000 - Минимальная доступная частота

    L* cache - Объём кеша разных уровней


    Для получения расширенной информации о текущей частоте выполнить команду:

    Command
    Titlecpufreq-info

    cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
    Report errors and bugs to cpufreq@vger.kernel.org, please.
    analyzing CPU 0:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 0
     CPUs which need to have their frequency coordinated by software: 0
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.90 GHz.
    analyzing CPU 1:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 1
     CPUs which need to have their frequency coordinated by software: 1
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.84 GHz.
    analyzing CPU 2:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 2
     CPUs which need to have their frequency coordinated by software: 2
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.90 GHz.
    analyzing CPU 3:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 3
     CPUs which need to have their frequency coordinated by software: 3
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.87 GHz.
    analyzing CPU 4:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 4
     CPUs which need to have their frequency coordinated by software: 4
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.89 GHz.
    analyzing CPU 5:
     driver: intel_pstate
     CPUs which run at the same hardware frequency: 5
     CPUs which need to have their frequency coordinated by software: 5
     maximum transition latency: 4294.55 ms.
     hardware limits: 800 MHz - 4.00 GHz
     available cpufreq governors: performance, powersave
     current policy: frequency should be within 800 MHz and 4.00 GHz.
                     The governor "performance" may decide which speed to use
                     within this range.
     current CPU frequency is 3.90 GHz.


    При отсутствии возможности использования диска со средствами разработки, информацию о текущей частоте ядер процессора возможно получить выполнив команду:

    Command

    cat /proc/cpuinfo | grep MHz

    cpu MHz : 3899.859
    cpu MHz : 3946.018
    cpu MHz : 3982.597
    cpu MHz : 3920.590
    cpu MHz : 3918.047
    cpu MHz : 3982.490

    Вывод команды содержит информацию о текущей частоте всех потоков процессора в порядке возрастания.