Replies: 1 comment
-
性能测试测试环境
测试结果单Guest + Qemu Timer frequency: 62500000 Hz
Testing 10000 sectors starting from sector 1000
=== Write Performance Test ===
Write Results:
- Sectors written: 10000/10000
- Total time: 428 ms
- Data written: 5120000 bytes
- Write speed: 11 MB/s
- Per-operation timing:
* Min: 0 ms
* Max: 0 ms
* Avg: 0 ms
=== Read Performance Test ===
Read Results:
- Sectors read: 10000/10000
- Data verified: 10000/10000
- Total time: 537 ms (including verification)
- Data read: 5120000 bytes
- Read speed: 9 MB/s
- Per-operation timing (read only):
* Min: 0 ms
* Max: 0 ms
* Avg: 0 msQemu + AxVisor + 单Guest + nvme-backendTimer frequency: 62500000 Hz
Testing 10000 sectors starting from sector 1000
=== Write Performance Test ===
Write Results:
- Sectors written: 10000/10000
- Total time: 746 ms
- Data written: 5120000 bytes
- Write speed: 6 MB/s
- Per-operation timing:
* Min: 0 ms
* Max: 0 ms
* Avg: 0 ms
=== Read Performance Test ===
Read Results:
- Sectors read: 10000/10000
- Data verified: 10000/10000
- Total time: 798 ms (including verification)
- Data read: 5120000 bytes
- Read speed: 6 MB/s
- Per-operation timing (read only):
* Min: 0 ms
* Max: 0 ms
* Avg: 0 msQemu + AxVisor + 单Guest + file-backend Timer frequency: 62500000 Hz
Testing 100 sectors starting from sector 1000
=== Write Performance Test ===
Write Results:
- Sectors written: 100/100
- Total time: 4255 ms
- Data written: 51200 bytes
- Write speed: 0 MB/s
- Per-operation timing:
* Min: 0 ms
* Max: 45 ms
* Avg: 42 ms
=== Read Performance Test ===
Read Results:
- Sectors read: 100/100
- Data verified: 100/100
- Total time: 4401 ms (including verification)
- Data read: 51200 bytes
- Read speed: 0 MB/s
- Per-operation timing (read only):
* Min: 41 ms
* Max: 85 ms
* Avg: 44 ms结论要点
吞吐汇总
时延与 per-op 统计
相对基线(单Guest + Qemu)的变化
原因分析
还存在的问题
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Clone代码
新建一个 clone.sh 文件
编译Arceos
编译VM0
首先需要编译第一个 vm,启动地址是在 0x4020_0000
cd arceos_0/ make ARCH=aarch64 A=examples/shell BUS=mmio编译 VM1,启动地址是在 0x8020_0000,这两个 Arcos 只有启动地址不一致,其他的都是一致的
cd arceos_1/ make ARCH=aarch64 A=examples/shell BUS=mmio启动AxVisor
运行结果
VM0
d8888 .d88888b. .d8888b. d88888 d88P" "Y88b d88P Y88b d88P888 888 888 Y88b. d88P 888 888d888 .d8888b .d88b. 888 888 "Y888b. d88P 888 888P" d88P" d8P Y8b 888 888 "Y88b. d88P 888 88[8 0.365320 1:4888 8888axv8888 888 888is "8or::hal:91] 88 d8888888888 888IRQ handler 26 Y88b. Y8b. Y88[ 0.366033b. .d8 18P Y8:9 axv8b disor::vm88m::vcP d8pus:8P 28 3] 88888 VM[2] VC pu [0] waiting fo"Yr 888runn8Ping "Y8888 "Y888" m[ 0."366433 Y8881:8P" 9 axvisor::vmm::vcpus:286] VM[2] VCpu[0] running... rch [m= aarch64 platform = aarch64-qemu-virt target = aarch64-unknown-none-softfloat build_mode = release log_level = warn smp = 1 [ 0.386910 1:9 arm_vcpu::context_frame:106] Try to set zero register at index [31] as 1 [ 0.387665 0:8 arm_vcpu::context_frame:106] Try to set zero register at index [31] as 1 [ 0.388835 0:8 axvirtio_blk::mmio::device:623] VirtIO device driver OK [ 0.388870 1:9 axvirtio_blk::mmio::device:623] VirtIO device driver OK [ 0.458149 0 fatfs::dir:139] Is a directory [ 0.627210 0 fatfs::dir:139] Is a directory [ 0.905075 0 fatfs::dir:139] Is a directory [ 1.290565 0 fatfs::dir:139] Is a directory Available commands: cat cd echo exit help ls mkdir pwd rm uname arceos:/$VM1
Beta Was this translation helpful? Give feedback.
All reactions