顯示頁面舊版反向連結Fold/unfold all回到頁頂 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== 在 PVE(Debian) 下使用 memtester 檢測記憶體 ====== 因為最近更換電腦, 透過線上購物買記憶體安裝, 開機後都正常, 但想完整測試記憶體是否都沒問題, 但透過 PVE 安裝開機 USB 的 memtest 選項卻無法正常進行測試, 所以在安裝好 PVE 後, 找在 PVE 底下測試記憶體的方式. * 測試環境 : * PVE 5 :<file> Kernel Version Linux 4.15.18-21-pve #1 SMP PVE 4.15.18-48 (Fri, 20 Sep 2019 11:28:30 +0200) PVE Manager Version pve-manager/5.4-13/aee6f0ec </file> * PVE 6 :<file> Kernel Version Linux 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200) PVE Manager Version pve-manager/6.0-4/2a719255 </file> ===== 安裝與使用 memtester 工具套件 ===== * 安裝 memtester <code sh>apt-get install memtester</code> * 檢測記憶體 Exp. 檢測 2G 重複 3 次 <code sh>memtester 2048 3</code><cli> root@xpc:~# memtester 2048 3 memtester version 4.3.0 (64-bit) Copyright (C) 2001-2012 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is 4096 pagesizemask is 0xfffffffffffff000 want 2048MB (2147483648 bytes) got 2048MB (2147483648 bytes), trying mlock ...locked. Loop 1/3: Stuck Address : ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : ok Checkerboard : ok Bit Spread : ok Bit Flip : ok Walking Ones : ok Walking Zeroes : ok 8-bit Writes : ok 16-bit Writes : ok Loop 2/3: Stuck Address : ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : ok Checkerboard : ok Bit Spread : setting 111 </cli> * 如果記憶體有問題, 在前面幾個測試項目就會出現 ===== 參考網址 ===== * http://benjr.tw/96460 tech/pvetips/memtester.txt 上一次變更: 2021/01/16 14:40由 jonathan