threefoldtech / home

Starting point for the threefoldtech organization
https://threefold.io
Apache License 2.0
9 stars 4 forks source link

we need a basic perf test in ZOS as primitive #1454

Closed despiegk closed 7 months ago

despiegk commented 10 months ago

Performance Tests to do

RMB functions we can ask for

muhamadazmy commented 8 months ago

Since results are fetched over rmb, the results are automatically signed by the node keys hence verified (without tpm)

khaledyoussef24 commented 8 months ago

Results are automatically updated and node performance is being monitored with a cron job and task time for the job may be changed manually also.

xmonader commented 7 months ago

This needs another verification @ramezsaeed https://github.com/threefoldtech/zos/issues/2111 https://github.com/threefoldtech/zos/issues/2106 https://github.com/threefoldtech/zos/issues/2113 https://github.com/threefoldtech/zos/issues/2112 https://github.com/threefoldtech/zos/issues/2114

muhamadazmy commented 7 months ago

We need to also:

khaledyoussef24 commented 7 months ago
"185.206.122.50/24": {
        "reason": "ip is already assigned to a contract",
        "state": "skipped"
      },
      "185.206.122.52/24": {
        "reason": "",
        "state": "valid"
      },

Screenshot from 2023-11-27 15-10-28 Screenshot from 2023-11-27 15-06-33

iperf test runs

cpu testing

{
    "description": "Measures the performance of the node CPU by reporting the timespent of computing a task in seconds.",
    "name": "cpu-benchmark",
    "result": {
      "multi": 60.806,
      "single": 2.331,
      "threads": 24,
      "workloads": 64
    },

iperf testing

"description": "Test public nodes network performance with both UDP and TCP over IPv4 and IPv6",
    "name": "iperf",
    "result": [
      {
        "cpu_report": {
          "host_system": 0,
          "host_total": 0,
          "host_user": 0,
          "remote_system": 0,
          "remote_total": 0,
          "remote_user": 0
        },
        "download_speed": 0,
        "error": "the server is busy running a test. try again later",
        "node_id": 124,
        "node_ip": "88.99.30.200",
        "test_type": "tcp",
        "upload_speed": 0
      },

if the server is busy download speed is 0

command used zos.perf.get_all we may get the results for only one task also by using the task name

https://app.testlodge.com/a/26076/projects/40893/suites/234919?expand_section=420793#case_4137370

ramezsaeed commented 7 months ago

reported issues:

ramezsaeed commented 7 months ago

Basic feature verified and working fine now. will be continue all the reported issues and some test results enhancements in 3.13 release..