chiark / gitweb /
stressapptest
11 years agoAllow ./configure for cross compile
nick.j.sanders [Wed, 9 Jan 2013 21:13:13 +0000 (21:13 +0000)]
Allow ./configure for cross compile

Fix regression from BARRIER detect change.

11 years ago1.0.6 update: Memory mapping features and stability fixes
nick.j.sanders [Wed, 9 Jan 2013 09:10:08 +0000 (09:10 +0000)]
1.0.6 update: Memory mapping features and stability fixes

Allow mapping of dram chips based on simple memory controllers
Fix memory corruption caused by define include bug on some toolchains

This patch adds a primitive mechanism to map physical addresses to memory
chips/modules in stressapptest. It assumes that the memory controller
uses channel interleaving of equal-sized chunks in a simple round-robin
fashion (like recent Intel chipsets in dual-channel mode seem to do).

The chunk size and the amount of memory channels must be configured on the
command line. In addition, you can supply a comma-separated list of
chip/module names per memory channel, between which the bytes of an
aligned machine word are evenly distributed. If you want to disable
this sub-feature and only detect channel interleaving, you can just
provide only one name per channel.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Add autoconf support for pthread barriers, substituting for POSIX defines.

Signed-off-by: Nick Sanders <nsanders@chromium.org>
11 years agoFix handling of cpuid and PIC on i386 systems
nick.j.sanders [Mon, 7 Jan 2013 22:13:27 +0000 (22:13 +0000)]
Fix handling of cpuid and PIC on i386 systems

The current cpuid logic clobbers %ebx.  this is OK if the code is not PIC, but if you're building PIEs, it'll fail because %ebx is the PIC register and gcc doesn't let you clobber it.

Thanks to vapier@chromium.org

11 years agoThis patch replaces the existing OsLayer::VirtualToPhysical stub with
nick.j.sanders [Mon, 7 Jan 2013 22:02:45 +0000 (22:02 +0000)]
This patch replaces the existing OsLayer::VirtualToPhysical stub with
an actual implementation that translates addresses via the Linux
/proc/self/pagemap interface. This causes failing memory locations to
be reported with both virtual and physical address, and facilitates
isolating a defective memory module.

Like many other functions currently implemented in the generic OsLayer
class, this functionality is specific to Linux and would need to be
moved to a respective subclass if proper multi-OS support ever gets
implemented.

Signed-off-by: Julius Werner <jwerner@chromium.org>
11 years agoAdd better ARM/Android support, support a wider variety of configure options.
nick.j.sanders [Mon, 7 Jan 2013 20:07:28 +0000 (20:07 +0000)]
Add better ARM/Android support, support a wider variety of configure options.

12 years agoUpdate to stressapptest 1.0.4
nick.j.sanders [Fri, 11 Nov 2011 00:34:37 +0000 (00:34 +0000)]
Update to stressapptest 1.0.4
* Build changes only.
* fix configure issue which wrongly reported pthreads as missing if libaio was nto installed
* add --with-static to specify static linking or not.

14 years agoUpdate stressapptest to 1.0.3.
nick.j.sanders [Fri, 14 May 2010 03:47:11 +0000 (03:47 +0000)]
Update stressapptest to 1.0.3.

* /dev/shm support to allow >1.4G memory usage for 32 bit app.
* Some arm support.
* x86 SSE support.

14 years agoUpdate stressapptest to 1.0.2
nick.j.sanders [Fri, 12 Mar 2010 03:35:04 +0000 (03:35 +0000)]
Update stressapptest to 1.0.2
* Fix -d option on 32 bit build.
* Fix -d bandwidth calculation
* DiskThread general cleanup
* Add libaio dependency for cross platform builds
* Allow > 32 cores
* Add support for --tag_mode and -W on the same run
* General error handling cleanup
* Improve checksum generation failure handling - printout core, node, dimm.
* -H option specifies minimum required hugepage allocation

14 years agoAdd manpage contributed by Michael Prokop <mika@debian.org>.
nick.j.sanders [Tue, 27 Oct 2009 06:18:51 +0000 (06:18 +0000)]
Add manpage contributed by Michael Prokop <mika@debian.org>.

14 years agoAdd manpage contributed by Michael Prokop <mika@debian.org>. Fix typos
nick.j.sanders [Tue, 27 Oct 2009 06:16:43 +0000 (06:16 +0000)]
Add manpage contributed by Michael Prokop <mika@debian.org>. Fix typos

14 years agoUpdate to stressapptest 1.0.1. Fix non-x86 build. Fix lock initialization. Standardiz...
nick.j.sanders [Tue, 27 Oct 2009 05:56:42 +0000 (05:56 +0000)]
Update to stressapptest 1.0.1. Fix non-x86 build. Fix lock initialization. Standardize on posix_memalign. Do not require -A. Add STRESSAPPTEST_OS_BSD config for future BSD support. Improved read error/data corruption handling.

14 years agoInitial commit
menderico [Tue, 29 Sep 2009 00:31:36 +0000 (00:31 +0000)]
Initial commit