Browse Source

README.md: Revised formatting for Markdown rendering on Github.com, along with a few typo fixes.

wyldckat 8 years ago
parent
commit
05597178c0
1 changed files with 23 additions and 6 deletions
  1. 23 6
      README.md

+ 23 - 6
README.md

@@ -6,10 +6,12 @@ It tries to maximize randomized traffic to memory from processor and I/O, with t
 
 
 Discussion group: https://groups.google.com/d/forum/stressapptest-discuss
 Discussion group: https://groups.google.com/d/forum/stressapptest-discuss
 
 
-##Usage
-To execute, a typical commnd would be:
+
+## Usage
+
+To execute, a typical command would be:
 ```
 ```
-./stressapptest -s 20 -M 256 -m 8 -W    # Test 256MB, runing 8 "warm copy" threads. Exit after 20 seconds.
+./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.
 ./stressapptest --help                  # list the available arguments.
 ```
 ```
 Common arguments
 Common arguments
@@ -32,7 +34,8 @@ Error handling
 ```
 ```
 
 
 
 
-##Installation
+## Installation
+
 stressapptest is often available on linux and can be installed as a distro package:
 stressapptest is often available on linux and can be installed as a distro package:
 ```
 ```
 sudo apt-get install stressapptest
 sudo apt-get install stressapptest
@@ -50,8 +53,10 @@ 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.
 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
+
+## 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:
 stressapptest may be used for various purposes:
 * Stress test: as described here.
 * Stress test: as described here.
@@ -59,13 +64,19 @@ stressapptest may be used for various purposes:
 * Memory interface test: see the Theory behind this.
 * Memory interface test: see the Theory behind this.
 * Disk testing.
 * Disk testing.
 
 
+
 **Background**
 **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.
 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**
 **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.
 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**
 **Detailed Design**
+
 The code is structured fairly simply:
 The code is structured fairly simply:
 
 
 A large amount of memory is allocated in a single block (default is 85% of physical memory size).
 A large amount of memory is allocated in a single block (default is 85% of physical memory size).
@@ -76,12 +87,18 @@ Some threads invert the data in place.
 Some threads write the data to disk, and read it to the new location.
 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.
 After the specified time has elapsed, all "valid" pages have their data compared with the original fill pattern.
 
 
+
 **Caveats** 
 **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.
 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**
 **Security Considerations**
+
 Someone running stressapptest on a live system could cause other applications to become extremely slow or unresponsive.
 Someone running stressapptest on a live system could cause other applications to become extremely slow or unresponsive.
 
 
+
 **Logged information**
 **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.
 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.