speccpu2006 | Benchmark harness for SPEC CPU2006 | Performance Testing library

 by   cloudharmony PHP Version: Current License: Apache-2.0

kandi X-RAY | speccpu2006 Summary

kandi X-RAY | speccpu2006 Summary

speccpu2006 is a PHP library typically used in Testing, Performance Testing applications. speccpu2006 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

SPEC CPU 2006 v1.2. SPEC CPU(tm) 2006 is designed to provide a comparative measure of compute-intensive performance across the widest practical range of hardware using workloads developed from real user applications. Metrics for both integer and floating point compute intensive performance are provided. Full documentation is available on the SPEC website: In order to use this benchmark, SPEC CPU must be installed and the [spec_dir]/config directory must be writable by the benchmark user. The runtime parameters defined below essentially determine the 'runspec' arguments. SPEC CPU2006 consists of a total of 29 individual benchmarks. 12 of these benchmarks measure integer related CPU performance, and the remaining 19 measure floating point performance. Aggregate scores are calculated when the benchmark run is int (all integer benchmarks), fp (all floating point benchmarks), or all (both integer and floating point benchmarks). These aggregate scores are calculated as the geometric mean of the medians from 3 runs of each individual benchmark in the suite. Aggregate scores are calculated based on tuning (base and/or peak) and whether the run is speed (single copy) or rate (multiple copies).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              speccpu2006 has a low active ecosystem.
              It has 28 star(s) with 15 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              speccpu2006 has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of speccpu2006 is current.

            kandi-Quality Quality

              speccpu2006 has no bugs reported.

            kandi-Security Security

              speccpu2006 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              speccpu2006 is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              speccpu2006 releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed speccpu2006 and discovered the below as its top functions. This is intended to give you an instant insight into speccpu2006 implemented functionality, and help decide if they suit your requirements.
            • Get the database object
            • Get the store endpoint
            • Sign the request
            • Get a Benchmark archiver
            • Execute mysql command
            • Execute the pql command
            • Execute BigQuery .
            • Validate callback .
            • Setup the database store .
            • Short description of method benchmarking
            Get all kandi verified functions for this library.

            speccpu2006 Key Features

            No Key Features are available at this moment for speccpu2006.

            speccpu2006 Examples and Code Snippets

            No Code Snippets are available at this moment for speccpu2006.

            Community Discussions

            QUESTION

            Running perf record with Intel-PT event on compiled binaries from SPECCpu2006 crashes the server machine
            Asked 2017-May-17 at 04:44

            I am having a recurring problem when using perf with Intel-PT event. I am currently performing profiling on a Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz machine, with x86_64 architecture and 32 hardware threads with virtualization enabled. I specifically use programs/source codes from SpecCPU2006 for profiling.

            I am specifically observing that the first time I perform profiling on one of the compiled binaries from SpecCPU2006, everything works fine and the perf.data file gets generated, which is as expected with Intel-PT. As SpecCPU2006 programs are computationally-intensive(use 100% of CPU at any time), clearly perf.data files would be large for most of the programs. I obtain roughly 7-10 GB perf.data files for most of the profiled programs.

            However, when I try to perform profiling the second time on the same compiled binary, after the first one is successfully done -- my server machine freezes up. Sometimes, this happens when I try profiling the third time/the fourth time (after the second or third profiling completed successfully). This behavior is highly unpredictable. Now I cannot profile any more binaries unless I have restarted the machine again.

            I have also posted the server error logs which I get once I see that the computer has stopped responding.

            Server error logs

            Clearly there is an error message saying Fixing recursive fault but reboot is needed!.

            This happens for particularly large enough SpecCPU2006 binaries which take more than 1 minute to run without perf.

            Is there any particular reason why this might happen ? This should not occur due to high CPU usage, as running the programs without perf or with perf but any other hardware event(that can be seen by perf list) completed successfully. This only seems to happen with Intel-PT.

            Please guide me in using the steps to solve this problem. Thanks.

            ...

            ANSWER

            Answered 2017-May-17 at 04:44

            Seems I resolved this issue now. So will post an answer.

            The server crashed because of a null pointer dereference/access happening with a specific member of the structure perf_event. Basically the member perf_event->handle was the culprit. This information, as suggested by @osgx, was obtained from var/log/syslog file. A portion of the error message was :-

            Apr 19 04:49:15 ###### kernel: [582411.404677] BUG: unable to handle kernel NULL pointer dereference at 00000000000000ea

            Apr 19 04:49:15 ###### kernel: [582411.404747] IP: [] perf_event_aux_event+0x2e/0xf0

            One possible scenario where this structure member turns out to be NULL is if I start capturing packets even before an earlier run of perf record finished releasing all of its resources. This has been properly handled in kernel version 4.10. I was using kernel version 4.4.

            I upgraded my kernel to the newer version and it works fine now!

            Source https://stackoverflow.com/questions/43377242

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install speccpu2006

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/cloudharmony/speccpu2006.git

          • CLI

            gh repo clone cloudharmony/speccpu2006

          • sshUrl

            git@github.com:cloudharmony/speccpu2006.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link