# stressapptest
Stressful Application Test (or stressapptest, its unix name) is a memory interface test.
It tries to maximize randomized traffic to memory from processor and I/O, with the intent of creating a realistic high load situation in order to test the existing hardware devices in a computer. It has been used at Google for some time and now it is available under the apache 2.0 license.
(Exported from code.google.com/p/stressapptest)
Discussion group: https://groups.google.com/d/forum/stressapptest-discuss
## Usage
To execute, a typical command would be:
```
./stressapptest -s 20 -M 256 -m 8 -W # Test 256MB, running 8 "warm copy" threads. Exit after 20 seconds.
./stressapptest --help # list the available arguments.
```
Common arguments
* -M mbytes : megabytes of ram to test (auto-detect all memory available)
* -s seconds : number of seconds to run (20)
* -m threads : number of memory copy threads to run (auto-detect to number of CPUs)
* -W : Use more CPU-stressful memory copy (false)
* -n ipaddr : add a network thread connecting to system at 'ipaddr'. (none)
* --listen : run a thread to listen for and respond to network threads. (0)
* -f filename : add a disk thread with tempfile 'filename' (none)
* -F : don't result check each transaction, use libc memcpy instead. (false)
Error handling
* -l logfile : log output to file 'logfile' (none)
* -v level : verbosity (0-20) (default: 8)
```
./stressapptest -s 20 -M 256 -m 8 -C 8 -W # Allocate 256MB of memory and run 8 "warm copy" threads, and 8 cpu load threads. Exit after 20 seconds.
./stressapptest -f /tmp/file1 -f /tmp/file2 # Run 2 file IO threads, and autodetect memory size and core count to select allocated memory and memory copy threads.
```
## Installation
stressapptest is often available on linux and can be installed as a distro package:
```
sudo apt-get install stressapptest
sudo emerge stressaptest
sudo yum install stressapptest
sudo zypper install stressapptest
```
To build from source, the build/installation package follows the GNU guidelines. So, to download the latest package:
```
git clone https://github.com/stressapptest/stressapptest.git
cd stressapptest
./configure
make
sudo make install
```
And it should be installed. You can use the most common options on the configure script, it was generated by autoconf and automake, so they are accepted.
## Objective
Stressful Application Test (or stressapptest) tries to maximize randomized traffic to memory from processor and I/O, with the intent of creating a realistic high load situation.
stressapptest may be used for various purposes:
* Stress test: as described here.
* Hardware qualification and debugging.
* Memory interface test: see the Theory behind this.
* Disk testing.
**Background**
Many hardware issues reproduce infrequently, or only under corner cases. The theory being used here is that by maximizing bus and memory traffic, the number of transactions is increased, and therefore the probability of failing a transaction is increased.
**Overview**
stressapptest is a userspace test, primarily composed of threads doing memory copies and directIO disk read/write. It allocates a large block of memory (typically 85% of the total memory on the machine), and each thread will choose randomized blocks of memory to copy, or to write to disk. Typically there are two threads per processor, and two threads for each disk. Result checking is done as the test proceeds by CRCing the data as it is copied.
**Detailed Design**
The code is structured fairly simply:
A large amount of memory is allocated in a single block (default is 85% of physical memory size).
Memory is divided into chunks, each filled with a potentially stressful data pattern.
Worker threads are spawned, which draw pages from an "empty" queue and a "valid" queue, and copy the data from one block to the other.
Some threads memory copy the data.
Some threads invert the data in place.
Some threads write the data to disk, and read it to the new location.
After the specified time has elapsed, all "valid" pages have their data compared with the original fill pattern.
**Caveats**
This test works by stressing system interfaces. It is good at catching memory signal integrity or setup and hold problems, memory controller and bus interface issues, and disk controller issues. It is moderately good at catching bad memory cells and cache coherency issues. It is not good at catching bad processors, bad physical media on disks, or problems that require periods of inactivity to manifest themselves. It is not a thorough test of OS internals. The test may cause marginal systems to become bricks if disk or memory errors cause hard drive corruption, or if the physical components overheat.
**Security Considerations**
Someone running stressapptest on a live system could cause other applications to become extremely slow or unresponsive.
**Logged information**
stressapptest can output a logfile of miscompares detected during its execution. stressapptest cannot yet log reboot failures, or other failures not visible to user space.
没有合适的资源?快使用搜索试试~ 我知道了~
dl_20220909_1324下载的RK3588平台编译buildroot所需要的全部的包文件.tar.gz
需积分: 0 13 下载量 159 浏览量
2022-09-09
18:17:34
上传
评论 1
收藏 706.41MB GZ 举报
温馨提示
共924个文件
c:213个
lock:162个
gz:102个
dl_20220909_1324下载的RK3588平台编译buildroot所需要的全部的包文件.tar.gz https://wiki.t-firefly.com/zh_CN/Core-3588J/linux_sdk.html Core-3588J产品规格书 立即购买 Core-3588J采用 Rockchip RK3588新一代旗舰级八核64位处理器,最大可配32GB大内存;支持8K视频编解码;拥有丰富的接口,支持多硬盘、千兆网、WiFi6、5G4G扩展和多种视频输入输出;提供多种的供电方式;支持多种操作系统;可适用于ARM PC、边缘计算、云服务器、智能NVR等领域
资源详情
资源评论
资源推荐
收起资源包目录
dl_20220909_1324下载的RK3588平台编译buildroot所需要的全部的包文件.tar.gz (924个子文件)
sox-13.0.0 41B
sox-14.0.0 41B
sox-14.1.0 41B
sox-14.2.0 41B
sox-14.3.0 41B
sox-14.4.0 41B
1.2.0 41B
1.4.0 41B
1.1.0 41B
sox-14.3.0rc1 41B
sox-14.4.0rc1 41B
sox-14.2.0rc1 41B
sox-14.3.0rc2 41B
sox-14.4.0rc2 41B
sox-14.2.0rc2 41B
sox-14.3.0rc3 41B
sox-14.4.0rc3 41B
sox.1 146KB
rtmpdump.1 8KB
stressapptest.1 4KB
soxi.1 3KB
sox-12.18.1 41B
sox-14.4.1 41B
sox-14.3.1 41B
sox-14.0.1 41B
1.2.1 41B
sox-12.99.10 41B
sox-14.0.1rc1 41B
sox-14.4.1rc1 41B
sox-14.0.1rc2 41B
sox-14.4.1rc2 41B
sox-14.4.1rc3 41B
sox-14.4.2 41B
sox-14.3.2 41B
sox-12.18.2 41B
1.3.2 41B
sox-14.3.2rc1 41B
sox-14.4.2rc1 41B
sox-14.4.2rc2 41B
sox-14.3.2rc2 41B
libsox.3 15KB
librtmp.3 7KB
1.3.3 41B
soxformat.7 27KB
7524160b29a476f7e87bc14fddf12d349f9a3c5e 246B
7524160b29a476f7e87bc14fddf12d349f9a3c5e 41B
rtmpgw.8 7KB
v1.0.8 41B
v1.0.9 41B
configure.ac 6KB
configure.ac 5KB
configure.ac 2KB
optional-fmts.am 7KB
Makefile.am 6KB
Makefile.am 4KB
Makefile.am 844B
Makefile.am 716B
Makefile.am 639B
Makefile.am 47B
AUTHORS 308B
tests.bat 1KB
testall.bat 1KB
batch-example.bat 520B
busybox-1.34.1.tar.bz2 2.36MB
libX11-1.7.2.tar.bz2 2.28MB
dropbear-2020.81.tar.bz2 2.18MB
v4l-utils-1.20.0.tar.bz2 1.94MB
xkeyboard-config-2.32.tar.bz2 1.66MB
fontconfig-2.13.1.tar.bz2 1.64MB
pcre-8.45.tar.bz2 1.51MB
xz-5.2.5.tar.bz2 1.41MB
alsa-utils-1.2.4.tar.bz2 1.23MB
alsa-lib-1.2.5.1.tar.bz2 1.02MB
mpg123-1.25.15.tar.bz2 890KB
xorgproto-2021.4.tar.bz2 865KB
libsndfile-1.0.31.tar.bz2 855KB
libusb-1.0.24.tar.bz2 592KB
ncurses-6.1-20190609-patch.sh.bz2 588KB
libtirpc-1.3.2.tar.bz2 501KB
alsa-plugins-1.2.5.tar.bz2 397KB
libxkbfile-1.1.0.tar.bz2 356KB
libXdmcp-1.1.3.tar.bz2 325KB
libXau-1.0.9.tar.bz2 315KB
mtdev-1.1.6.tar.bz2 289KB
xkbcomp-1.4.5.tar.bz2 246KB
xtrans-1.4.0.tar.bz2 181KB
patchelf-0.9.tar.bz2 156KB
util-macros-1.19.3.tar.bz2 83KB
libpthread-stubs-0.4.tar.bz2 56KB
liblockfile_1.17-1.debian.tar.bz2 7KB
g711.c 162KB
rtmp.c 137KB
sox.c 100KB
wav.c 53KB
formats.c 42KB
mp3.c 40KB
aiff.c 39KB
rtmpdump.c 38KB
fft4g.c 37KB
rtmpsuck.c 33KB
共 924 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
南棱笑笑生
- 粉丝: 1288
- 资源: 460
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0