m-queens

A solver for the N-queens problem with multi-threading support via the OpenMP library.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark m-queens.

Project Site

github.com

Test Created

28 May 2018

Last Updated

11 October 2018

Test Maintainer

sudden6 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

7 Minutes, 27 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsm-queens Popularity Statisticspts/m-queens2018.052018.072018.092018.112019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.115K10K15K20K25K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 28 November 2023.

Revision History

pts/m-queens-1.1.0   [View Source]   Thu, 11 Oct 2018 18:04:24 GMT
Update against m-queens 1.2 that should yield some threading/performance enhancements.

pts/m-queens-1.0.1   [View Source]   Mon, 28 May 2018 15:39:30 GMT
Builds on Windows.

pts/m-queens-1.0.0   [View Source]   Mon, 28 May 2018 14:35:53 GMT
Initial commit of m-queens.

Suites Using This Test

Chess Test Suite

Multi-Core

CPU Massive

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

m-queens 1.2

Time To Solve

OpenBenchmarking.org metrics for this test profile configuration based on 2,845 public results since 11 October 2018 with the latest data as of 28 November 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Seconds (Average)
90th
18
12 +/- 1
88th
19
13 +/- 1
86th
11
14 +/- 2
82nd
13
17 +/- 1
Mid-Tier
75th
> 22
71st
18
28 +/- 1
66th
17
31 +/- 4
61st
13
37 +/- 2
56th
11
45 +/- 3
54th
60
47 +/- 5
Median
50th
51
44th
4
61 +/- 2
42nd
3
68 +/- 2
41st
17
69 +/- 2
39th
12
72 +/- 1
39th
11
72 +/- 1
39th
3
72 +/- 3
35th
29
81 +/- 5
35th
4
82 +/- 2
34th
17
88 +/- 1
29th
8
104 +/- 4
27th
14
113 +/- 6
26th
6
115 +/- 2
Low-Tier
25th
> 117
25th
10
119 +/- 1
23rd
4
139 +/- 3
23rd
6
141 +/- 18
23rd
3
144 +/- 5
22nd
3
145 +/- 11
20th
5
165 +/- 6
20th
16
166 +/- 3
20th
8
167 +/- 11
19th
3
175 +/- 1
19th
8
175 +/- 5
19th
25
178 +/- 1
18th
3
197 +/- 29
16th
18
207 +/- 1
16th
3
209 +/- 1
15th
22
211 +/- 8
14th
6
232 +/- 31
14th
5
238 +/- 30
13th
14
250 +/- 13
12th
11
259 +/- 11
12th
4
261 +/- 20
12th
18
266 +/- 4
11th
3
278 +/- 13
10th
4
293 +/- 16
10th
5
295 +/- 23
9th
6
299 +/- 27
8th
20
350 +/- 14
4th
3
610 +/- 91
4th
10
628 +/- 21
2nd
3
1048 +/- 4
1st
3
1093 +/- 90
OpenBenchmarking.orgDistribution Of Public Results - Time To Solve2845 Results Range From 3 To 7390 Seconds3151299447595743891103911871335148316311779192720752223237125192667281529633111325934073555370338513999414742954443459147394887503551835331547956275775592360716219636765156663681169597107725574035001000150020002500

Based on OpenBenchmarking.org data, the selected test / test configuration (m-queens 1.2 - Time To Solve) has an average run-time of 6 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTime To SolveRun-Time1122334455Min: 1 / Avg: 5.79 / Max: 55

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To SolveDeviation246810Min: 0 / Avg: 0.09 / Max: 2

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To Basem-queens CPU Core ScalingTime To Solve468101216202432485664961281122334455

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libgomp.so.1, libc.so.6.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 44-Core
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000-HV, Loongson-3A5000LL, Loongson-3A6000, Loongson-3A6000-HV, Loongson-3C5000L, Loongson-3C5000LL
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 2 4-Core, ARMv7 rev 3 4-Core
ARMv8 64-bit
aarch64
AArch64 rev 12, ARMv8, ARMv8 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 2-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-N2 4-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 4-Core, ARMv8 rev 0 4-Core, ARMv8 rev 0 6-Core, ARMv8 rev 0 8-Core, ARMv8 rev 1 4-Core, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Ampere eMAG ARMv8 32-Core, Cavium ThunderX, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 110 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Debian 12 - 6.1.0-13-amd64 - X Server 1.21.1.7

1 System - 110 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Debian 12 - 6.1.0-13-amd64 - X Server 1.21.1.7

1 System - 5 Benchmark Results

Loongson-3A6000 - Loongson Loongson-LS3A6000-7A2000-1w-EVB-V1.21 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 6 Benchmark Results

2 x Intel Xeon E5-2620 v4 - Placa-me - 1 x 3576 MB 48MHz

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3693 - 10.0.19041.3636

1 System - 5 Benchmark Results

ARMv8 - Freescale i.MX8QXP MEK - 2560MB

fsl-imx-wayland 6.1-mickledore - 6.1.36+g04b05c5527e9 - Wayland Weston 11.0.2 + Wayland

1 System - 6 Benchmark Results

ARMv7 - Generic AM33XX - 492MB

Arch Linux ARM - 5.4.106-gb25134912f - GCC 12.1.0

3 Systems - 39 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - ASUS Pro WS TRX50-SAGE WIFI - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-9-generic - GNOME Shell 45.0

1 System - 7 Benchmark Results

Intel Core i5-6500T - Dell 077RRV - Intel Xeon E3-1200 v5

Ubuntu 22.04 - 6.2.0-36-generic - GNOME Shell 42.9

2 Systems - 9 Benchmark Results

Loongson-3A6000-HV - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 9 Benchmark Results

Loongson-3A6000-HV - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

2 Systems - 9 Benchmark Results

Loongson-3A6000-HV - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 9 Benchmark Results

Loongson-3A6000-HV - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 99 Benchmark Results

Intel Core i7-1370P - LENOVO 21HGS21V00 - 8 x 4096 MB 4800MHz H58G66BK7BX067

Microsoft Windows 10 Enterprise Build 19045 - 10.0.19045.3570 - 31.0.101.4575

13 Systems - 102 Benchmark Results

Intel Core i7-1165G7 - HP 87F7 v40.33 - 2 x 8 GB LPDDR4-4267MT

Debian GNU - 5.10.2 - Sway

1 System - 6 Benchmark Results

Intel Core i7-12700H - HP 89C0 - Intel Alder Lake PCH

Fedora Linux 39 - 6.5.11-300.fc39.x86_64 - KDE Plasma 5.27.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

11 Systems - 217 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

12 Systems - 593 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Taichi - AMD Starship

Fedora 33 - 5.8.16-300.fc33.x86_64 - GNOME Shell 3.38.1

14 Systems - 36 Benchmark Results

Intel Xeon Platinum 8175M - Amazon EC2 m5.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-1021-aws - GCC 7.3.0

2 Systems - 66 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - 2 x 8192 MB 3600MHz F4-3600C16-8GTRG

Microsoft Windows 10 Pro Build 18362 - 10.0 - 22.19.162.4

12 Systems - 209 Benchmark Results

POWER9 - PowerNV T2P9D01 REV 1.01 - 65536MB

Fedora 31 - 5.3.0-0.rc0.git4.1.fc31.ppc64le - GNOME Shell 3.33.3

4 Systems - 131 Benchmark Results

Intel Xeon E-2278GEL - Logic Supply RXM-181 TBD by OEM - Intel

FreeBSD - 13.0-BETA1 - Clang 11.0.1

2 Systems - 123 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

ManjaroLinux 18.0.4 - 4.19.49-1-MANJARO - Xfce 4.13

8 Systems - 439 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

3 Systems - 143 Benchmark Results

AMD EPYC 7742 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 20.04 - 5.4.0-31-generic - GNOME Shell 3.36.1

48 Systems - 62 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.10 - 4.18.0-13-generic - GNOME Shell 3.30.1

8 Systems - 62 Benchmark Results

AMD EPYC 7351P 16-Core - AMD [AMD] Family 17h - 32768MB

FreeBSD - 12.0-RELEASE - GCC 8.2.0 + Clang 6.0.1

12 Systems - 229 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

Find More Test Results