《LINUX教程:Linux下開源的DDR壓力測試工具》要點:
本文介紹了LINUX教程:Linux下開源的DDR壓力測試工具,希望對您有用。如果有疑問,可以聯系我們。
測試可以采納 sdk 下的google開源工具 external/stressapptest
也可以采納 開源的memtester.
(1)stressapptest 其是:Stressful Application Test (stressapptest) 的簡稱
?Stressful Application Test試圖讓來自處理器和I/O到內存的數據盡量隨機化,以創造出模擬現實的環境來測試現在的硬件設備是否穩定,Google就在使用它.其大概如下:
stressapptest may be used for various purposes:
Stress test: as described here.? ? ? ? ?
Hardware qualification and debugging. ?
Memory interface test: see theTheory behind this.
Disk testing.
據谷歌的介紹,這個軟件會生產線程來拷貝和直接對磁盤進行讀取和寫入.目標則是盡可能地載入系統內存,以便更加有效地進行測試.該軟件更多的時候測試的是內存控制器和總線接口,而不是存儲單元的功能.谷歌稱,與其他內存診斷程序的比擬,五分之一的內存模塊相關的系統誤差只能通過stressapptest發現.
?參數介紹:
?e.g. MemFree indicates that there are 1140234 kB memory left. You can use the following command to start the stress test:? ? ?
?./stressapptest -s 86400 -m 4 -i 4 -c 4 -C 4 -M xxx? ? ?
?It is to stress test memory copy, invert, crc check for 1hour with 900Mb memory.? ? ?
?-s: number of second to run the application? 測試時間? ? ?
?-m: number of memory copy threads to run? 復制線程數? (Memory Copy)? ?
?-i: number of memory invert threads to run? 反轉線程數 (Invert Copy)?
?-c: CRC check? CRC校驗? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (Data Check)
?-C: number of memory CPU stress threads to run? ? CPU壓力線程數? ? ?
?-M: Megabytes of ram to run? 盡可能測試最大的可用存儲空間,(設置超過了memfree,就會被kill)?
?(2)Memtester主要是捕獲內存錯誤和一直處于很高或者很低的壞位, 其測試的主要項目有隨機值,異或比擬,減法,乘法,除法,與或運算等等. 通過給定測試內存的大小和次數, 可以對系統現有的內存進行上面項目的測試.
?參數介紹:
?memtester [-p PHYSADDR] <MEMORY> [ITERATIONS]
?MEMORY 申請測試內存的數量,單位默認是megabytes(兆),也可以是B K M G
?ITERATIONS 測試的次數,默認是無限
本文永遠更新鏈接地址:
《LINUX教程:Linux下開源的DDR壓力測試工具》是否對您有啟發,歡迎查看更多與《LINUX教程:Linux下開源的DDR壓力測試工具》相關教程,學精學透。維易PHP學院為您提供精彩教程。