fix:已修复无admin情况下win测试内存异常数值的问题,修复对应的说明

This commit is contained in:
spiritlhl
2025-09-24 16:12:55 +00:00
parent 174bf303af
commit ed66e2804a
3 changed files with 33 additions and 7 deletions

View File

@@ -47,15 +47,14 @@ Shell 版本:[https://github.com/spiritLHLS/ecs](https://github.com/spiritLHLS
|----------------|---------------------------| |----------------|---------------------------|
| Android(arm64) | 存在权限问题未修复非安卓系统的ARM架构无问题 | | Android(arm64) | 存在权限问题未修复非安卓系统的ARM架构无问题 |
| OpenBSD/NetBSD | 部分Goalng的官方库未支持本系统(尤其是net相关项目) | | OpenBSD/NetBSD | 部分Goalng的官方库未支持本系统(尤其是net相关项目) |
| Windows虚拟机 | 无Admin权限的mbw测试性能不准确(内存测试) |
| Windows物理机(非Admin下) | 无Admin权限的mbw测试性能不准确(内存测试) |
--- ---
## **功能** ## **功能**
- 系统基础信息查询IP基础信息并发查询[basics](https://github.com/oneclickvirt/basics)、[gostun](https://github.com/oneclickvirt/gostun) - 系统基础信息查询IP基础信息并发查询[basics](https://github.com/oneclickvirt/basics)、[gostun](https://github.com/oneclickvirt/gostun)
- CPU 测试:[cputest](https://github.com/oneclickvirt/cputest),支持 sysbench(lua/golang版本)、geekbench、winsat - CPU 测试:[cputest](https://github.com/oneclickvirt/cputest),支持 sysbench(lua/golang版本)、geekbench、winsat
- 内存测试:[memorytest](https://github.com/oneclickvirt/memorytest),支持 sysbench、dd - 内存测试:[memorytest](https://github.com/oneclickvirt/memorytest),支持 sysbench、dd、winsat、mbw、stream
- 硬盘测试:[disktest](https://github.com/oneclickvirt/disktest),支持 dd、fio、winsat - 硬盘测试:[disktest](https://github.com/oneclickvirt/disktest),支持 dd、fio、winsat
- 流媒体解锁信息并发查询:[netflix-verify](https://github.com/sjlleo/netflix-verify) 等逻辑,开发至 [CommonMediaTests](https://github.com/oneclickvirt/CommonMediaTests) - 流媒体解锁信息并发查询:[netflix-verify](https://github.com/sjlleo/netflix-verify) 等逻辑,开发至 [CommonMediaTests](https://github.com/oneclickvirt/CommonMediaTests)
- 常见流媒体测试并发查询:[UnlockTests](https://github.com/oneclickvirt/UnlockTests),逻辑借鉴 [RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck) 等 - 常见流媒体测试并发查询:[UnlockTests](https://github.com/oneclickvirt/UnlockTests),逻辑借鉴 [RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck) 等

View File

@@ -47,8 +47,6 @@ Shell version: [https://github.com/spiritLHLS/ecs/blob/main/README_EN.md](https:
|--------|-------------------------------------------------------------------------------------------------| |--------|-------------------------------------------------------------------------------------------------|
| Android(arm64) | Permission issues that are not fixed, no problems with ARM architecture for non-Android systems | | Android(arm64) | Permission issues that are not fixed, no problems with ARM architecture for non-Android systems |
| OpenBSD/NetBSD | Some of Goalng's official libraries do not support this system (especially net-related items) | | OpenBSD/NetBSD | Some of Goalng's official libraries do not support this system (especially net-related items) |
| Windows(Virtual Machines) | Inaccurate mbw test performance without Admin rights (memory tests) |
| Windows(Physical Machines)(not under Admin) | Inaccurate mbw test performance without Admin rights (memory tests) |
--- ---
@@ -56,7 +54,7 @@ Shell version: [https://github.com/spiritLHLS/ecs/blob/main/README_EN.md](https:
- System basic information query and concurrent IP basic information query: Self-developed [basics](https://github.com/oneclickvirt/basics), [gostun](https://github.com/oneclickvirt/gostun) - System basic information query and concurrent IP basic information query: Self-developed [basics](https://github.com/oneclickvirt/basics), [gostun](https://github.com/oneclickvirt/gostun)
- CPU test: Self-developed [cputest](https://github.com/oneclickvirt/cputest) supporting sysbench(lua/golang version), geekbench, winsat - CPU test: Self-developed [cputest](https://github.com/oneclickvirt/cputest) supporting sysbench(lua/golang version), geekbench, winsat
- Memory test: Self-developed [memorytest](https://github.com/oneclickvirt/memorytest) supporting sysbench, dd - Memory test: Self-developed [memorytest](https://github.com/oneclickvirt/memorytest) supporting sysbench, dd, winsat, mbw, stream
- Disk test: Self-developed [disktest](https://github.com/oneclickvirt/disktest) supporting dd, fio, winsat - Disk test: Self-developed [disktest](https://github.com/oneclickvirt/disktest) supporting dd, fio, winsat
- Streaming media unlock information concurrent query: Modified from [netflix-verify](https://github.com/sjlleo/netflix-verify) and more to [CommonMediaTests](https://github.com/oneclickvirt/CommonMediaTests) - Streaming media unlock information concurrent query: Modified from [netflix-verify](https://github.com/sjlleo/netflix-verify) and more to [CommonMediaTests](https://github.com/oneclickvirt/CommonMediaTests)
- Common streaming media tests concurrent query: Self-developed to [UnlockTests](https://github.com/oneclickvirt/UnlockTests), logic modified from [RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck) and others - Common streaming media tests concurrent query: Self-developed to [UnlockTests](https://github.com/oneclickvirt/UnlockTests), logic modified from [RegionRestrictionCheck](https://github.com/lmc999/RegionRestrictionCheck) and others

View File

@@ -136,7 +136,8 @@ AMD的7950x单核满血性能得分在6500左右AMD的5950x单核满血性能
依赖项目:[https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest) 依赖项目:[https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest)
一般来说,只需要判断 IO 速度是否低于 `10240 MB/s (≈10 GB/s)` 一般来说,只需要判断 IO 速度是否低于 `10240 MB/s (≈10 GB/s)`
如果低于这个值,那么证明内存性能不佳,极大概率存在超售超卖问题。 如果低于这个值,那么证明内存性能不佳,极大概率存在超售超卖问题。
至于超开的原因可能是: 至于超开的原因可能是:
@@ -160,6 +161,16 @@ AMD的7950x单核满血性能得分在6500左右AMD的5950x单核满血性能
* **20 \~ 40 GB/s (20480 \~ 40960 MB/s)** → 大概率 DDR4 * **20 \~ 40 GB/s (20480 \~ 40960 MB/s)** → 大概率 DDR4
* **≈ 50 GB/s (≈ 51200 MB/s)** → 基本就是 DDR5 * **≈ 50 GB/s (≈ 51200 MB/s)** → 基本就是 DDR5
对于各种测试参数对应方法的比较:
| 参数方法 | 测试准确性 | 测试速度 | 适应架构 | 依赖情况 |
|------------|------------|----------|----------|----------|----------|
| **stream** | 高 —— 结果稳定,更符合实际情况 | 快速 | 跨平台Linux/Windows/Unix | 自带依赖无需额外安装 |
| **sysbench** | 高 —— 可测试 CPU、内存、IO、线程等结果较可靠 | 中等 | 跨平台Linux、Windows 部分支持) | 需环境额外安装 |
| **winsat** | 中等偏高 —— Windows 内置工具,结果和环境相关 | 中等 | 仅限 Windows | 物理机器上自带,虚拟机不可用 |
| **mbw** | 中等 —— 结果可能受缓存/调度影响 | 非常快 | 跨平台(几乎所有类 Unix 系统) | 自带依赖无需额外安装 |
| **dd** | 低 —— 结果受缓存影响 | 快速 | 跨平台(几乎所有类 Unix 系统) | 需环境额外安装 |
### **硬盘测试** ### **硬盘测试**
依赖项目:[https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest) 依赖项目:[https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest)
@@ -412,6 +423,7 @@ Actually, CPU performance testing should be sufficient. Unless for scientific co
Dependency project: [https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest) Dependency project: [https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest)
Generally speaking, you only need to determine if IO speed is below `10240 MB/s (≈10 GB/s)`. Generally speaking, you only need to determine if IO speed is below `10240 MB/s (≈10 GB/s)`.
If below this value, it proves poor memory performance with high probability of overselling issues. If below this value, it proves poor memory performance with high probability of overselling issues.
Possible reasons for overselling: Possible reasons for overselling:
@@ -435,6 +447,14 @@ Based on the above table, this project's rough judgment method:
* **20 ~ 40 GB/s (20480 ~ 40960 MB/s)** → Most likely DDR4 * **20 ~ 40 GB/s (20480 ~ 40960 MB/s)** → Most likely DDR4
* **≈ 50 GB/s (≈ 51200 MB/s)** → Basically DDR5 * **≈ 50 GB/s (≈ 51200 MB/s)** → Basically DDR5
| Parameter Method | Test Accuracy | Test Speed | Architecture Compatibility | Dependency Requirements |
|------------------|---------------|------------|---------------------------|------------------------|
| **stream** | High — Stable results, more realistic | Fast | Cross-platform (Linux/Windows/Unix) | Built-in dependencies, no additional installation required |
| **sysbench** | High — Can test CPU, memory, IO, threads, etc., reliable results | Medium | Cross-platform (Linux, partial Windows support) | Requires additional environment installation |
| **winsat** | Medium-High — Windows built-in tool, results environment-dependent | Medium | Windows only | Built-in on physical machines, unavailable on virtual machines |
| **mbw** | Medium — Results may be affected by cache/scheduling | Very Fast | Cross-platform (almost all Unix-like systems) | Built-in dependencies, no additional installation required |
| **dd** | Low — Results affected by cache | Fast | Cross-platform (almost all Unix-like systems) | Requires additional environment installation |
### Disk Testing ### Disk Testing
Dependency project: [https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest) Dependency project: [https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest)
@@ -633,6 +653,7 @@ AMD 7950xシングルコアフル性能スコアは6500前後、AMD 5950xシン
依存プロジェクト:[https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest) 依存プロジェクト:[https://github.com/oneclickvirt/memorytest](https://github.com/oneclickvirt/memorytest)
一般的に、IO速度が`10240 MB/s (≈10 GB/s)`を下回るかどうかを判断するだけで十分です。 一般的に、IO速度が`10240 MB/s (≈10 GB/s)`を下回るかどうかを判断するだけで十分です。
この値を下回る場合、メモリ性能が不良で、オーバーセリング問題が存在する可能性が極めて高いことを証明します。 この値を下回る場合、メモリ性能が不良で、オーバーセリング問題が存在する可能性が極めて高いことを証明します。
オーバーセリングの原因は以下が考えられます: オーバーセリングの原因は以下が考えられます:
@@ -656,6 +677,14 @@ AMD 7950xシングルコアフル性能スコアは6500前後、AMD 5950xシン
* **20 ~ 40 GB/s (20480 ~ 40960 MB/s)** → 高確率でDDR4 * **20 ~ 40 GB/s (20480 ~ 40960 MB/s)** → 高確率でDDR4
* **≈ 50 GB/s (≈ 51200 MB/s)** → 基本的にDDR5 * **≈ 50 GB/s (≈ 51200 MB/s)** → 基本的にDDR5
| パラメータ方法 | テスト精度 | テスト速度 | アーキテクチャ対応 | 依存関係 |
|------------|------------|----------|----------|----------|
| **stream** | 高 — 結果が安定し、実際の状況により適合 | 高速 | クロスプラットフォームLinux/Windows/Unix | 内蔵依存関係、追加インストール不要 |
| **sysbench** | 高 — CPU、メモリ、IO、スレッドなどをテスト可能、結果が信頼性高い | 中程度 | クロスプラットフォームLinux、Windows部分対応 | 環境への追加インストールが必要 |
| **winsat** | 中程度やや高 — Windows内蔵ツール、結果は環境に依存 | 中程度 | Windows限定 | 物理マシンに内蔵、仮想マシンでは利用不可 |
| **mbw** | 中程度 — 結果がキャッシュ/スケジューリングの影響を受ける可能性 | 非常に高速 | クロスプラットフォームほぼ全てのUnix系システム | 内蔵依存関係、追加インストール不要 |
| **dd** | 低 — 結果がキャッシュの影響を受ける | 高速 | クロスプラットフォームほぼ全てのUnix系システム | 環境への追加インストールが必要 |
### ディスクテスト ### ディスクテスト
依存プロジェクト:[https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest) 依存プロジェクト:[https://github.com/oneclickvirt/disktest](https://github.com/oneclickvirt/disktest)