Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

CPU

Linux command – nice / renice & ionice

2018-05-152018-07-16 adminCPU, Linux, RedHat / CentOS

Loading

程序的執行可以透過手動調整來提高或是降低其程序使用 CPU 與 I/O 的資源. CPU 排程,請參考 – https://access.redhat.com/documentation/zh-tw/red_hat_enterprise_linux/6/html/performance_ […]

Read more

Linux file – /proc/interrupts , iomem , ioports

2018-04-172018-04-19 adminCPU, Linux, RedHat / CentOS

Loading

測試環境為 CentOS7 x86_64 (虛擬機, CPUx2) /proc/interrupts IRQ (Interrupt request) 是當週邊裝置需要資料的傳輸時會產生一個中斷請求給 CPU ,並請 CPU 停止工作並幫忙處理處理週邊資料的傳輸,每個 I/O 會有各自的 IRQ (中 […]

Read more

Linux command – Processor Counter Monitor (PCM)

2018-04-022018-06-08 adminCPU, Linux, Memory, RedHat / CentOS

Loading

在 NUMA 架構下要如何監控 QPI / UPI 介面的狀態呢! 測試環境為 CentOS7 什麼是 NUMA ? 多核心的處理器最早是透過對稱多處理 SMP (Symmetric multiprocessing) 的方式,所有的 CPU 核心對於記憶體的存取是共用的,但是當 CPU 核心數太多時 […]

Read more

Linux – Intel Memory Latency Checker

2018-03-212018-03-21 adminCPU, Memory, RedHat / CentOS

Loading

在 NUMA (Non-uniform memory access) 架構下,如何知道記憶體的存取效能如何,Intel 提供了 Memory Latency Checker 可以做檢查.下載點 https://software.intel.com/en-us/articles/intelr-memo […]

Read more

CPU Affinity taskset (cpuset)

2018-03-132018-04-17 adminCPU, Linux

Loading

設定 IO IRQ(Interrupt) 與 CPU 每個 I/O 會有各自的 IRQ (中斷) 透過設定我們可以將個別的 IRQ 指定給特定的 CPU 來處理 ,先檢查對應的 IRQ 檔案 /proc/interrupts (每個 IRQ 對應到每個 I/O 裝置) 第一個數字所代表的是 IRQ […]

Read more

Linux command – powertop

2018-02-232021-05-21 adminCPU, Linux, RedHat / CentOS

Loading

除了 turbostat – https://benjr.tw/99181 外還有 cpupower – https://benjr.tw/99146 可以來檢視 CPU 狀態外,還可以透過 powertop . 測試環境為 CentOS 7 x86_64 (虛擬機) 可以使 […]

Read more

Linux command – turbostat

2018-02-222020-02-26 adminCPU, Linux, RedHat / CentOS

Loading

透過 turbostat 可以來檢視目前 CPU 狀態. 測試環境為 CentOS 7 x86_64 (虛擬機) 數值所代表的意思 Core 處理器核心編號. CPU CPU邏輯處理器號碼,0,1 代表 CPU 的邏輯處理器號碼, – 代表所有處理器的總合. . Package proc […]

Read more

Linux command – cpupower

2018-02-132018-04-19 adminCPU, Linux, RedHat / CentOS

Loading

CPU 依據省電模式有區分為 Processor Operating States (C-states) 與 Processor Performance States (P-states),兩者的差別是? ACPI 支援可以參考 https://benjr.tw/257 測試環境為 CentOS 7 […]

Read more

Linux command – rdmsr , wrmsr , cpuid

2018-02-132018-02-13 adminCPU, Linux, RedHat / CentOS

Loading

msr-tools 提供了三隻工具,都是與 CPU 相關的. rdmsr – read MSR from any CPU or all CPUs wrmsr – write values to MSR on any CPU or all CPUs msr-cpuid – show identific […]

Read more

Linux – Prime95 (MPrime)

2018-02-072018-02-07 adminCPU, Linux, Ubuntu

Loading

Prime95 是用來做 CPU 壓力測試的,由 GIMPS (Great Internet Mersenne Prime Search)所提供,主要是透過運算找出梅森質數,什麼是 質數(Prime number)指的是除了 1 和自身外,無法被其他自然數整除,何謂梅森質數 是指 2n − 1 ,是 […]

Read more

文章導覽

較舊的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.