From 7ac59cfe971fccfcb813dae6340841ccf0004098 Mon Sep 17 00:00:00 2001 From: wangxp006 Date: Thu, 22 May 2025 00:38:39 +0800 Subject: [PATCH] unixbench release 6.0.0 --- UnixBench/Makefile | 2 +- UnixBench/README | 37 ++++++++++++++++++++++++++++++++++- UnixBench/Run | 6 +++++- UnixBench/pgms/unixbench.logo | 4 ++-- 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/UnixBench/Makefile b/UnixBench/Makefile index 50d8139..3169c03 100644 --- a/UnixBench/Makefile +++ b/UnixBench/Makefile @@ -1,5 +1,5 @@ ############################################################################## -# UnixBench v5.1.3 +# UnixBench v6.0.0 # Based on The BYTE UNIX Benchmarks - Release 3 # Module: Makefile SID: 3.9 5/15/91 19:30:15 # diff --git a/UnixBench/README b/UnixBench/README index 67cad92..2f62140 100644 --- a/UnixBench/README +++ b/UnixBench/README @@ -1,4 +1,4 @@ -Version 5.1.3 -- 2011-01-13 +Version 6.0.0 -- 2025-05-21 ================================================================ To use Unixbench: @@ -27,6 +27,41 @@ For information on adding tests into the benchmark, see "WRITING_TESTS". ===================== RELEASE NOTES ===================================== +======================== May 21 ========================== +v6.0.0 + +Build System Modernization +Introduced support for custom compiler flags via the UB_GCC_OPTIONS environment variable. +Architecture-aware compiler optimization flags (e.g., -march=native, -mcpu=native) for x86, ARM, RISC-V, PowerPC, etc. +Cleaner and more portable Makefile, compatible with GNU Make. +Improved separation of CFLAGS and LDFLAGS with autodetection of platform-specific needs. + +Platform & Architecture Enhancements +Added detailed ARM64 CPU detection with support for multiple vendors (ARM, Ampere, Cavium, Apple, etc.). +Improved support for macOS using sysctl and Darwin-specific logic. +Portable CPU core detection using nproc, getconf, and fallback logic. +Improved fallback behavior when /proc/cpuinfo is unavailable. + +System Detection and Configuration +Run script now uses FindBin for consistent directory resolution. +Default directories (pgms, results, tmp) are created automatically if missing. +Log file names can now be customized via UB_OUTPUT_FILE_NAME environment variable. +Improved cross-platform compatibility and shell behavior. + +Documentation and Licensing +Added official GPL v2 license file. +Rewritten and modernized README.md in Markdown format. +Clear explanation of each benchmark test and history of the project. +Updated contributor credits and project guidelines. + + +Performance Comparison Guidelines +To ensure meaningful and repeatable benchmarking results, it is strongly recommended to maintain consistency in the following areas when comparing performance +Operating System: Use the same OS distribution and version. +Compiler Options: Use consistent compiler flags across test cases (e.g., -O3, -march=native). +System Configuration: Ensure similar runtime environments (CPU governor, I/O scheduler, background load). +Benchmark Version: Always compare results using the same version of UnixBench + ======================== Jan 13 ========================== v5.1.3 diff --git a/UnixBench/Run b/UnixBench/Run index 4151248..41637be 100755 --- a/UnixBench/Run +++ b/UnixBench/Run @@ -9,6 +9,10 @@ use File::Path; use FindBin; +############################################################################ +# UnixBench - Release 6.0.0, based on: +# The BYTE UNIX Benchmarks - Release 5.1.3 +# ############################################################################ # UnixBench - Release 5.1.3, based on: # The BYTE UNIX Benchmarks - Release 3 @@ -66,7 +70,7 @@ use FindBin; ############################################################################ # Version number of the script. -my $version = "5.1.3"; +my $version = "6.0.0"; # The setting of LANG makes a huge difference to some of the scores, # particularly depending on whether UTF-8 is used. So we always set diff --git a/UnixBench/pgms/unixbench.logo b/UnixBench/pgms/unixbench.logo index 8729298..498f435 100644 --- a/UnixBench/pgms/unixbench.logo +++ b/UnixBench/pgms/unixbench.logo @@ -6,9 +6,9 @@ # # # ## # # # # # # # ## # # # # #### # # # # # ##### ###### # # #### # # - Version 5.1.3 Based on the Byte Magazine Unix Benchmark + Version 6.0.0 Based on the Byte Magazine Unix Benchmark Multi-CPU version Version 5 revisions by Ian Smith, Sunnyvale, CA, USA - January 13, 2011 johantheghost at yahoo period com + May 21, 2025 johantheghost at yahoo period com