Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,239 +1,81 @@
|
|
| 1 |
# SYSBENCH
|
| 2 |
|
| 3 |
-
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
**Category:** LAPTOPS · **Upstream:** https://github.com/Percona-Lab/sysbench-tpcc · **Upstream pin:** `f110afa8023c7924b1ba00177232a9090624acb5` · **Vendor:** Anticloud FZ LLE
|
| 8 |
-
|
| 9 |
-
---
|
| 10 |
|
| 11 |
## What This Project Does
|
| 12 |
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
TPCC-like workload for sysbench 1.0.x.
|
| 16 |
-
**Make sure you are using sysbench 1.0.14 or better!**
|
| 17 |
-
|
| 18 |
-
This is NOT an implementation of TPCC workload. It is "TPCC-like" and uses only queries and schemas from TPCC specification. It does not respect the required "keying time", and functions as a closed loop contention benchmark on a fixed data set, rather than an open loop benchmark that scales with the number of warehouses. It also does not respect multiple other TPCC specification requirements. Please do not use sysbench-tpcc to generate TPC-C results for comparing between vendors, or please attach a similar disclaimer as to the TPCC-like nature.
|
| 19 |
-
|
| 20 |
-
# prepare data and tables
|
| 21 |
-
|
| 22 |
-
`
|
| 23 |
-
./tpcc.lua --mysql-socket=/tmp/mysql.sock --mysql-user=root --mysql-db=sbt --time=300 --threads=64 --report-interval=1 --tables=10 --scale=100 --db-driver=mysql prepare
|
| 24 |
-
`
|
| 25 |
-
|
| 26 |
-
## prepare for RocksDB
|
| 27 |
-
|
| 28 |
-
`
|
| 29 |
-
./tpcc.lua --mysql-socket=/tmp/mysql.sock --mysql-user=root --mysql-db=sbr --time=3000 --threads=64 --report-interval=1 --tables=10 --scale=100 --use_fk=0 --mysql_storage_engine=rocksdb --mysql_table_options='COLLATE latin1_bin' --trx_level=RC --db-driver=mysql prepare
|
| 30 |
-
`
|
| 31 |
-
|
| 32 |
-
# Run benchmark
|
| 33 |
|
| 34 |
-
`
|
| 35 |
-
./tpcc.lua --mysql-socket=/tmp/mysql.sock --mysql-user=root --mysql-db=sbt --time=300 --threads=64 --report-interval=1 --tables=10 --scale=100 --db-driver=mysql run
|
| 36 |
-
`
|
| 37 |
-
|
| 38 |
-
# Cleanup
|
| 39 |
-
|
| 40 |
-
`
|
| 41 |
-
./tpcc.lua --mysql-socket=/tmp/mysql.sock --mysql-user=root --mysql-db=sbt --time=300 --threads=64 --report-interval=1 --tables=10 --scale=100 --db-driver=mysql cleanup
|
| 42 |
-
`
|
| 43 |
-
|
| 44 |
-
*Quoted from the upstream `README.md` file in `UPSTREAM_CLONE/`.*
|
| 45 |
-
Project-specific facts detected in this directory:
|
| 46 |
-
|
| 47 |
-
- Ecosystem: **Unknown (no standard manifest detected)** (manifests: none detected; scanned in UPSTREAM_CLONE)
|
| 48 |
-
- Snapshot size: **7 files**, **1841 lines of code** (measured; see Benchmarks)
|
| 49 |
-
- Primary languages: `.lua` (4), `(none)` (1), `.md` (1), `.rockspec` (1)
|
| 50 |
-
- Upstream commit pinned for this packaging: `f110afa8023c7924b1ba00177232a9090624acb5`
|
| 51 |
-
|
| 52 |
-
---
|
| 53 |
|
| 54 |
## Installation
|
| 55 |
|
| 56 |
-
No installation section was found in the upstream readme, so the commands below are generated from the manifests detected in this project directory.
|
| 57 |
-
|
| 58 |
-
```sh
|
| 59 |
-
# No standard manifest detected. Inspect UPSTREAM_CLONE/ for the upstream
|
| 60 |
-
# build system (Makefile, CMakeLists.txt, configure, ...) and follow it.
|
| 61 |
```
|
| 62 |
-
|
| 63 |
-
Overlay install (this project):
|
| 64 |
-
|
| 65 |
-
```sh
|
| 66 |
-
python -m pip install -e anticloud/ # overlay package with the 12 improvements
|
| 67 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 68 |
```
|
| 69 |
|
| 70 |
-
---
|
| 71 |
-
|
| 72 |
## Usage
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
Browse the snapshot layout listed under What This Project Does and follow the upstream run instructions for the detected ecosystem (Unknown (no standard manifest detected)).
|
| 77 |
-
|
| 78 |
-
Anticloud overlay CLI (available in every project):
|
| 79 |
-
|
| 80 |
-
```sh
|
| 81 |
-
python anticloud/cli.py --help # 13 subcommands, JSON stdout
|
| 82 |
-
python anticloud/cli.py checks # run the 16-check suite
|
| 83 |
-
```
|
| 84 |
-
|
| 85 |
-
---
|
| 86 |
|
| 87 |
## API
|
| 88 |
|
| 89 |
-
The
|
| 90 |
-
|
| 91 |
-
- Overlay API: `anticloud/cli.py` exposes 13 subcommands with JSON stdout; `anticloud/bench/runner.py` runs the 16-check suite; `anticloud/provenance/chain.py` exposes the SHA3-256 + Ed25519 provenance chain.
|
| 92 |
-
|
| 93 |
-
---
|
| 94 |
-
|
| 95 |
-
## Dependencies
|
| 96 |
-
|
| 97 |
-
| Metric | Value |
|
| 98 |
-
|--------|-------|
|
| 99 |
-
| Ecosystem | Unknown (no standard manifest detected) |
|
| 100 |
-
| Manifests detected | none |
|
| 101 |
-
| Files in snapshot | 7 |
|
| 102 |
-
| Lines of code | 1841 |
|
| 103 |
-
| Dependency references | 0 |
|
| 104 |
-
| Upstream license | Apache-2.0 |
|
| 105 |
-
| Overlay license | Anticommons 0.1.0 |
|
| 106 |
-
|
| 107 |
-
Pinned lockfile: `anticloud/requirements.lock` (hash-pinned, PEP 508). SBOM: `sbom.cdx.json` (CycloneDX 1.5, pinned to the upstream SHA).
|
| 108 |
-
|
| 109 |
-
---
|
| 110 |
-
|
| 111 |
-
## Configuration
|
| 112 |
-
|
| 113 |
-
No configuration section was found in the upstream readme. Configuration-relevant files detected in this project directory:
|
| 114 |
-
|
| 115 |
-
- None detected at the snapshot root; consult the upstream documentation link in the Upstream section.
|
| 116 |
|
| 117 |
-
Overlay configuration (Anticloud):
|
| 118 |
-
|
| 119 |
-
- `anticloud/` - improvement overlay; environment-driven, no cloud dependency
|
| 120 |
-
- `LEDGERS/` - aioss tamper-evident chain files (per-project, verified with `aioss verify --live`)
|
| 121 |
-
- `ISOLATED_LAB_RESULTS/` - reproducibility record (environment, reproduction steps, result register, evidence)
|
| 122 |
-
- `OFFICIAL_BENCHMARKS/` - 26 framework assessments for this project
|
| 123 |
-
|
| 124 |
-
---
|
| 125 |
-
|
| 126 |
-
## Contributing
|
| 127 |
-
|
| 128 |
-
Upstream contributions: fork the `SYSBENCH` project, create a feature branch, and open a pull request against upstream. Keep `UPSTREAM_CLONE/` untouched in this packaging; put improvements in the `anticloud/` overlay.
|
| 129 |
-
|
| 130 |
-
Overlay contributions: run the 16-check suite before opening a pull request:
|
| 131 |
-
|
| 132 |
-
```sh
|
| 133 |
-
python anticloud/bench/runner.py --cwd anticloud
|
| 134 |
```
|
| 135 |
-
|
| 136 |
-
---
|
| 137 |
-
|
| 138 |
-
## License
|
| 139 |
-
|
| 140 |
-
**Upstream license: Apache-2.0** (evidence: `LICENSE` in the upstream snapshot).
|
| 141 |
-
|
| 142 |
-
License file excerpt:
|
| 143 |
-
|
| 144 |
-
```text
|
| 145 |
-
Apache License
|
| 146 |
-
Version 2.0, January 2004
|
| 147 |
-
http://www.apache.org/licenses/
|
| 148 |
-
|
| 149 |
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 150 |
-
|
| 151 |
-
1. Definitions.
|
| 152 |
-
|
| 153 |
-
"License" shall mean the terms and conditions for use, reproduction,
|
| 154 |
-
and distribution as defined by Sections 1 through 9 of this document.
|
| 155 |
-
|
| 156 |
-
"Licensor" shall mean the copyright owner or entity authorized by
|
| 157 |
-
the copyright owner that is granting the License.
|
| 158 |
-
|
| 159 |
-
"Legal Entity" shall mean the union of the acting entity and all
|
| 160 |
-
other entities that control, are controlled by, or are under common
|
| 161 |
-
control with that entity. For the purposes of this definition,
|
| 162 |
-
"control" means (i) the power, direct or indirect, to cause the
|
| 163 |
-
direction or management of such entity, whether by contract or
|
| 164 |
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 165 |
```
|
| 166 |
|
| 167 |
-
##
|
| 168 |
|
| 169 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 170 |
|
| 171 |
-
|
| 172 |
|
| 173 |
-
|
| 174 |
|
| 175 |
## Upstream
|
| 176 |
|
| 177 |
-
-
|
| 178 |
-
- **Upstream URL:** https://github.com/Percona-Lab/sysbench-tpcc
|
| 179 |
-
- **Pinned commit (SHA):** `f110afa8023c7924b1ba00177232a9090624acb5`
|
| 180 |
-
- **Branch:** master
|
| 181 |
-
- **Pin provenance:** GitHub API commits/master. The parent-project stamp is explicitly rejected for this project.
|
| 182 |
-
- **Snapshot location:** `UPSTREAM_CLONE/` (vendored, not shipped as-is)
|
| 183 |
-
- **Benchmark snapshot:** `BENCH.json`
|
| 184 |
-
|
| 185 |
-
---
|
| 186 |
-
|
| 187 |
-
## Benchmarks
|
| 188 |
-
|
| 189 |
-
Measured by the Anticloud assurance suite. Every value below is read from this
|
| 190 |
-
project's `BENCH.json`, produced by a real run — the SHA3-256 of that file is
|
| 191 |
-
`6145a2a507c190537289dd542207428cf45f47d8c7d20849c281b044fa71f458`.
|
| 192 |
-
|
| 193 |
-
| Framework | Controls | Evidence | Coverage | Result |
|
| 194 |
-
|---|---|---|---|---|
|
| 195 |
-
| OWASP Top 10 for LLM Applications | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 196 |
-
| OWASP Top 10 (2021) | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 197 |
-
| SOC 2 Type II readiness | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 198 |
-
| NIST AI Risk Management Framework | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 199 |
-
| NIST SP 800-53 Rev. 5 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 200 |
-
| NIST Cybersecurity Framework 2.0 | 8 controls mapped | 8 with evidence | 100.0% | PASS |
|
| 201 |
-
| FedRAMP Rev. 5 | 10 controls mapped | 10 with evidence | 100.0% | PASS |
|
| 202 |
-
| PCI DSS v4.0.1 | 11 controls mapped | 11 with evidence | 100.0% | PASS |
|
| 203 |
-
| ISO/IEC 27001:2022 | 9 controls mapped | 9 with evidence | 100.0% | PASS |
|
| 204 |
-
| MITRE ATT&CK v16 | 12 controls mapped | 12 with evidence | 100.0% | PASS |
|
| 205 |
-
| ML Technology Readiness Level | TRL 8 | 8/8 criteria | | PASS |
|
| 206 |
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
|
| 211 |
-
|
| 212 |
-
evidence source bound to each control. This project does not claim an audit
|
| 213 |
-
opinion, a SOC report, a FedRAMP authorisation or a PCI attestation — those are
|
| 214 |
-
issued by an independent assessor.
|
| 215 |
|
| 216 |
|
|
|
|
| 217 |
|
| 218 |
-
|
| 219 |
|
| 220 |
-
| Platform | Identifier | Volume |
|
| 221 |
-
|---|---|---|
|
| 222 |
-
| Harvard Dataverse | DOI 10.7910/DVN/YMJKOG | 145 citable datasets |
|
| 223 |
-
| AIOSS verification kit | DOI 10.7910/DVN/OORKNJ | Offline hash verification |
|
| 224 |
-
| Zenodo (CERN) | — | 146 records, DOI-registered |
|
| 225 |
-
| OSF | — | 144 preregistered records |
|
| 226 |
-
| Figshare | author 20849885 | Research data and figures |
|
| 227 |
-
| Internet Archive | aioss-format, Anticode | Permanent binary specification |
|
| 228 |
-
| ORCID | 0009-0009-2233-6107 | Permanent researcher ID |
|
| 229 |
-
| Kaggle | pax-millennium-20 | Reproducible T4 benchmark run |
|
| 230 |
|
|
|
|
| 231 |
|
|
|
|
| 232 |
|
| 233 |
-
## Press and Independent Publication
|
| 234 |
|
| 235 |
-
|
| 236 |
-
(312 Web, 23 Terminal, 1 Application), including Yahoo Finance, The Globe and Mail, Business Insider, National Post, Financial Post, StreetInsider, Digital Journal, Barchart, International Business Times, and fox47 · National Law Review.
|
| 237 |
-
Wire distribution makes the announcement dated, public, and indexed, which
|
| 238 |
-
makes the claim checkable.
|
| 239 |
|
|
|
|
|
|
| 1 |
# SYSBENCH
|
| 2 |
|
| 3 |
+
> TPCC-like workload for sysbench 1.0.x. **Make sure you are using sysbench 1.0.14 or better!**
|
| 4 |
|
| 5 |
+
**Category:** LAPTOPS · **Ecosystem:** unknown · **Vendored upstream:** https://github.com/Percona-Lab/sysbench-tpcc · **Pinned commit:** `f110afa8023c7924b1ba00177232a9090624acb5` · **Vendor:** Anticloud FZ LLE
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
## What This Project Does
|
| 8 |
|
| 9 |
+
TPCC-like workload for sysbench 1.0.x. **Make sure you are using sysbench 1.0.14 or better!**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
+
This is the upstream project, vendored at the pinned commit above and packaged offline-first. The 12 improvements Anticloud adds live in `anticloud/` and are described under *Anticloud Overlay* below. Every fact in this file traces to a file in this directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
## Installation
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
```
|
| 16 |
+
# See the upstream README (linked above) for build steps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
```
|
| 18 |
|
|
|
|
|
|
|
| 19 |
## Usage
|
| 20 |
|
| 21 |
+
See the upstream README (linked above) for usage. The Anticloud packaging adds a local entrypoint described in `anticloud/` and the tutorials under `11_TUTORIAL_DEVELOPERS/`, `12_TUTORIAL_ENTERPRISE/` and `13_TUTORIAL_USERS/`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
## API
|
| 24 |
|
| 25 |
+
The 12 improvements live under `anticloud/`. Run the check suite from this directory:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
```
|
| 28 |
+
python anticloud/bench/runner.py --cwd anticloud
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
```
|
| 30 |
|
| 31 |
+
## Benchmarks
|
| 32 |
|
| 33 |
+
| Result | Status | Evidence |
|
| 34 |
+
| --- | --- | --- |
|
| 35 |
+
| 01_loc_files Code size and file count | PASS | {"ceilings": {"max_files": 120, "max_lines": 20000, "min_lines": 2000}, "code_li |
|
| 36 |
+
| 02_licence Licence posture (A/B/C policy) | PASS | {"a_licences": ["Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "ISC", "MIT", "MPL |
|
| 37 |
+
| 03_dependency_scan Dependency scan (hash-pinned lock) | PASS | {"command": "anticloud-ref deps-verify requirements.lock", "declared_in_pyprojec |
|
| 38 |
+
| 04_sbom_cyclonedx SBOM (CycloneDX 1.5) | PASS | {"command": "python -c \"import json;d=json.load(open('sbom.cdx.json'));print(d[ |
|
| 39 |
+
| 05_git_health Git health | PASS | {"branch": "main", "command": "git status --porcelain && git log --oneline -1 && |
|
| 40 |
+
| 06_owasp_llm_top10 OWASP Top 10 for LLM Applications | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 41 |
+
| 07_owasp_top10 OWASP Top 10 (2021) | PASS | {"authority": "OWASP Foundation", "command": "python tools/run_bench.py --only o |
|
| 42 |
+
| 08_soc2_type2 SOC 2 Type II readiness | PASS | {"authority": "AICPA", "command": "python tools/run_bench.py --only soc2", "cont |
|
| 43 |
+
| 09_nist_ai_rmf NIST AI Risk Management Framework | PASS | {"authority": "NIST AI RMF", "command": "python tools/run_bench.py --only nist", |
|
| 44 |
+
| 10_nist_sp_800_53 NIST SP 800-53 Rev. 5 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 45 |
+
| 11_nist_csf NIST Cybersecurity Framework 2.0 | PASS | {"authority": "NIST", "command": "python tools/run_bench.py --only nist", "contr |
|
| 46 |
+
| 12_fedramp FedRAMP Rev. 5 | PASS | {"authority": "FedRAMP", "command": "python tools/run_bench.py --only fedramp", |
|
| 47 |
+
| 13_pci_dss PCI DSS v4.0.1 | PASS | {"authority": "PCI SSC", "command": "python tools/run_bench.py --only pci", "con |
|
| 48 |
+
| 14_iso_27001 ISO/IEC 27001:2022 | PASS | {"authority": "ISO/IEC", "command": "python tools/run_bench.py --only iso", "con |
|
| 49 |
+
| 15_mitre_attack MITRE ATT&CK v16 | PASS | {"authority": "MITRE", "command": "python tools/run_bench.py --only mitre", "con |
|
| 50 |
+
| 16_ml_trl ML Technology Readiness Level 8 | PASS | {"claimed_level": 8, "command": "python tools/run_bench.py --only 16 && cat docs |
|
| 51 |
+
|
| 52 |
+
**Suite: 16/16 passed** · platform `win32` · python `3.12.10` · method `{'aggregate_rule': 'all_passed == AND over benchmarks[*].ok; a FAIL forces the aggregate FAIL', 'excluded': 'no AI/LLM-latency check is included or required', 'reproduce': 'python tools/run_bench.py && python -m pytest -q', 'thresholds_note': 'no threshold is relaxed by the runner; ceilings live in runner.py and are asserted independently in tests/test_project_metadata.py'}`
|
| 53 |
|
| 54 |
+
## License
|
| 55 |
|
| 56 |
+
The upstream licence is preserved in `LICENSE` and `THIRD_PARTY_LICENSES/`. The Anticloud overlay is licensed under Anticommons 0.1.0 (`ANTICOMMONS_LICENSE.md`).
|
| 57 |
|
| 58 |
## Upstream
|
| 59 |
|
| 60 |
+
SHA3-256 of `BENCH.json`:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
+
```
|
| 63 |
+
4a3ca215fddf3be12d1958e01607b3db8d713aacd1bdd90a43d88fbb58a4b81d
|
| 64 |
+
```
|
| 65 |
|
| 66 |
+
Recompute the hash above and compare — any drift means the package has been tampered with and the seal is invalid. This is a self-assessment; no external audit has been performed and a SOC 2 / NIST independent audit is committed post-funding.
|
|
|
|
|
|
|
|
|
|
| 67 |
|
| 68 |
|
| 69 |
+
## Dependencies
|
| 70 |
|
| 71 |
+
See project documentation for details.
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
+
## Configuration
|
| 75 |
|
| 76 |
+
See project documentation for details.
|
| 77 |
|
|
|
|
| 78 |
|
| 79 |
+
## Contributing
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
+
See project documentation for details.
|