chiark / gitweb /
stressapptest
6 years agoPORT 22 master
Ian Jackson [Tue, 9 Jan 2018 13:24:18 +0000 (13:24 +0000)]
PORT 22

6 years agoPORT 80
Ian Jackson [Tue, 9 Jan 2018 13:17:35 +0000 (13:17 +0000)]
PORT 80

6 years agoMerge pull request #57 from ymjmsghs1/change_type
nickjsanders [Fri, 15 Dec 2017 19:44:03 +0000 (11:44 -0800)]
Merge pull request #57 from ymjmsghs1/change_type

Change integer 'use_logfile_' to boolean

6 years agoChange integer 'use_logfile_' to boolean
ymjmsghs1 [Fri, 15 Dec 2017 06:38:41 +0000 (15:38 +0900)]
Change integer 'use_logfile_' to boolean

Signed-off-by: ymjmsghs1 <ymjmsghs1@naver.com>
6 years agoFix CRC error reporting
Nick Sanders [Mon, 11 Dec 2017 19:59:16 +0000 (11:59 -0800)]
Fix CRC error reporting

In the situation where CRC calculation fails,
but no data miscompares were found, we print out
an error, but don't increment the error count.
This leads stressapptest to report "PASS" incorrectly.

We'll add an error count increment to fix the issue.

BUG=https://github.com/stressapptest/stressapptest/issues/56
TEST=add code to corrupt CRC, see "FAIL" as expected.

Signed-off-by: Nick Sanders <nsanders@chromium.org>
6 years agoMerge pull request #49 from wyldckat/master
nickjsanders [Wed, 22 Nov 2017 18:25:05 +0000 (10:25 -0800)]
Merge pull request #49 from wyldckat/master

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

6 years agoMerge pull request #55 from huangwei/wei/aarch64-porting
nickjsanders [Wed, 22 Nov 2017 18:15:59 +0000 (10:15 -0800)]
Merge pull request #55 from huangwei/wei/aarch64-porting

Porting stresstestapp to aarch64

6 years agoAdd aarch64 support in OS related code
Wei Huang [Tue, 21 Nov 2017 04:49:10 +0000 (23:49 -0500)]
Add aarch64 support in OS related code

This patch adds OS related support for aarch64. Other than removing
unncessary warnings, it adds two aarch64 specific functions: cache
line flush and gettsc.

Signed-off-by: Wei Huang <wei@redhat.com>
6 years agoAdd cpu type checking for aarch64 in sattypes.h file
Wei Huang [Tue, 21 Nov 2017 04:45:00 +0000 (23:45 -0500)]
Add cpu type checking for aarch64 in sattypes.h file

To avoid the warning message while compiling on aarch64 machines, this
patch adds STRESSAPPTEST_CPU_AARCH64 support in CPU type checking to
sattypes.h file

Signed-off-by: Wei Huang <wei@redhat.com>
6 years agoAdd STRESSAPPTEST_CPU_AARCH64 defintion for aarch64 CPU
Wei Huang [Tue, 21 Nov 2017 04:40:54 +0000 (23:40 -0500)]
Add STRESSAPPTEST_CPU_AARCH64 defintion for aarch64 CPU

This patch adds a new macro, STRESSAPPTEST_CPU_AARCH64, for aarch64 CPUs.
The file stressapptest_config.h.in is also refreshed using autoheader.

Signed-off-by: Wei Huang <wei@redhat.com>
6 years agoUpdate config.guess and config.sub files
Wei Huang [Tue, 21 Nov 2017 04:39:22 +0000 (23:39 -0500)]
Update config.guess and config.sub files

The existing files failed to recognize aarch64 machines. This patch pulls
the latest config.guess and config.sub files from git.savannah.gnu.org.
They enables the support for ARM64 architecture.

Signed-off-by: Wei Huang <wei@redhat.com>
6 years agoREADME.md: Revised formatting for Markdown rendering on Github.com, along with a...
wyldckat [Sun, 1 Oct 2017 14:41:43 +0000 (15:41 +0100)]
README.md: Revised formatting for Markdown rendering on Github.com, along with a few typo fixes.

7 years agoVersion to 1.0.8
Nick Sanders [Tue, 31 Jan 2017 22:58:31 +0000 (14:58 -0800)]
Version to 1.0.8

7 years agoFix uninitialized variable
Nick Sanders [Tue, 31 Jan 2017 22:11:21 +0000 (14:11 -0800)]
Fix uninitialized variable

channels_ could be used uninitialized, and is not guaranteed to default
to zero.

crbug.com/686830

7 years agoMerge pull request #43 from nickdesaulniers/android
nickjsanders [Fri, 7 Oct 2016 03:15:18 +0000 (20:15 -0700)]
Merge pull request #43 from nickdesaulniers/android

update Android build

7 years agoupdate Android build
Nick Desaulniers [Fri, 23 Sep 2016 18:28:56 +0000 (11:28 -0700)]
update Android build

8 years agoCreate README.md
nickjsanders [Fri, 11 Sep 2015 01:34:01 +0000 (18:34 -0700)]
Create README.md

Merge in Usage, Installation, and Design pages from Google Code

9 years agoFix non-posix configure.ac
nick.j.sanders [Mon, 4 Aug 2014 21:04:06 +0000 (21:04 +0000)]
Fix non-posix configure.ac
http://code.google.com/p/stressapptest/issues/detail?id=35

10 years agoRemove -Wno-psabi
nick.j.sanders [Fri, 11 Apr 2014 23:28:56 +0000 (23:28 +0000)]
Remove -Wno-psabi

* This breaks some compiles, so let's remove.
* Originally suppressed some annoying warnings regarding va_list

10 years ago1.0.7 autoconf update
nick.j.sanders [Tue, 11 Feb 2014 09:02:48 +0000 (09:02 +0000)]
1.0.7 autoconf update

10 years agoVersion to 1.0.7
nick.j.sanders [Tue, 11 Feb 2014 08:54:30 +0000 (08:54 +0000)]
Version to 1.0.7

10 years agoFix autoconf bugs
nick.j.sanders [Tue, 11 Feb 2014 08:53:31 +0000 (08:53 +0000)]
Fix autoconf bugs

* Correctly use autoconf host rather than target.
* Use autoconf host_os.
* Warn rather than error on unknown configs.
* Add --disable-default-optimizations to avoid forced flags.
* Fix manfile install

10 years agoAdd --printsec argument
nick.j.sanders [Tue, 11 Feb 2014 06:43:37 +0000 (06:43 +0000)]
Add --printsec argument

* Allows printing 'Seconds remaining' less frequently.

10 years agoAdd NEON checksum and some bugfixes
nick.j.sanders [Tue, 11 Feb 2014 05:57:33 +0000 (05:57 +0000)]
Add NEON checksum and some bugfixes

* Add NEON copy and checksum for "-W" on ARM
* Fix timer overflow for log runs under 32 bit.
* Fix assert on checksum failure without miscompare.
* Improve checksum error printout.

10 years agoNew frequency test, fixed error accounting, added logging timestamps, and miscellaneo...
ewout [Tue, 10 Sep 2013 21:27:49 +0000 (21:27 +0000)]
New frequency test, fixed error accounting, added logging timestamps, and miscellaneous smaller changes.

* Added a CPU Frequency test for select X86 processors to verify a minimum frequency is maintained during non-pause periods.
* Fixed the error accounting in WorkerThread::CheckRegion if more than 128 miscompares are found and when block errors are detected.
* Updated the logger to include timestamps and the associated timezone.
* Moved from apicid() to sched_getcpu() for determining the core ID.
* Added the ability to reserve a specified amount of memory. This can override the requested memory allocation.
* If not using POSIX shared memory or hugepages, explicitly mmap memory if the pagesize is 4kB otherwise use memalign.
* Removed the OSLayer's unused PCI device handling.
* Numerous refactoring changes.

11 years agoReplace interleave_size with channel_hash
nick.j.sanders [Thu, 10 Jan 2013 23:42:36 +0000 (23:42 +0000)]
Replace interleave_size with channel_hash

This patch replaces the previously introduced interleave_size memory
channel decoding mechanism with a more powerful channel_hash. Decoding
can now be based upon an arbitrary mask of address bits, which will be
XORed together to determine the target channel. Note that this drops
support for more than two channels, but TripleChannel controllers will
probably use much more complicated decoding mechanisms anyway.

It also includes the findmask program, which offers a crude method to
guess the decoding mask from an unknown memory controller for enterprising
users. Use at your own risk.

Signed-off-by: Julius Werner <jwerner@chromium.org>
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.

13 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