學術及資源的交流園地 ^_^

cpuburn

最後更新: 2023-11-09

介紹

cpuburn test for

  • cpu
  • voltage regulators
  • cooling system
  • power supply
  • cache/memory

FPU and ALU instructions are coded an assembler endless loop. (They do not test every instruction.)

The goal has been to maximize heat production from the CPU

 * Single Core Test

執行 burnBX , CPU 的使用率立即飛上 99.9% ,

如果 20 多分鐘後仍沒有死機, 相信 cpu 及 fan 沒有問題

 * 最好在單人模式下測試 ~

 

 

htop (CTID), atop

 

加入 CTID 的列

 

按 "S" 進入 Setup Mode, 之後如下圖操作

 


 

設定檔:

~/.htoprc

 


 

htop 常用 hotkey

 

hide

  • K: hide/show kernel threads
  • H: hide/show user threads

sort

  • P: sort by CPU%
  • M: sort by MEM%
  • T: sort by TIME
  • I: invert sort order
  • >: select sort column
  • F4: invert sort order

kill

OpenVZ - Tips

Tips1

VPS 內不用安裝 ntp, 因為所有 VPS 都不能設定自己的時間的

亦即是說同一 Host 上的 VPS 只有一個時鍾()

相關能力: sys_time

 

Tips2

pty 在 openvz 上是一個 fs 來的

devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)

數量是授控制的

grep numpty /proc/user_beancounters

numpty                1          1        200        200          0

 

Tips3

當 vzdump 及 quota 時, 會有 /vz/lock/VEID 的 file 存在

在 /etc/vz/vz.conf 內的 "LOCKDIR=" 設定它的

 

 

 

 

 

 

VPS 的資源

更新日期: 23-1-12

 

[目錄]

  • 系統資源足夠嗎 ??
  • 資源
  • 資源(進階)
  • I/O priority
  • I/O 情況(beancounter)
  • Device Passthrough(devices/devnodes)
  • VPS 上的特權(features)

 

 

系統資源足夠嗎 ??

 

這問提相當簡單, 只要在虛擬機正常工作 4, 5 小時後

在 guest 執行 "cat /proc/user_beancounters"

Output:

RSS feed