Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| lwc:linux:cpu_load [2021/09/13 16:50] – John Harrison | lwc:linux:cpu_load [2021/10/18 08:33] (current) – John Harrison | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| john@mqtt1604testb: | john@mqtt1604testb: | ||
| + | < | ||
| sysbench 0.4.12: multi-threaded system evaluation benchmark | sysbench 0.4.12: multi-threaded system evaluation benchmark | ||
| - | |||
| - | \\ | ||
| - | |||
| Running the test with following options: | Running the test with following options: | ||
| - | |||
| Number of threads: 1 | Number of threads: 1 | ||
| - | |||
| - | \\ | ||
| - | |||
| Doing CPU performance benchmark | Doing CPU performance benchmark | ||
| - | |||
| - | \\ | ||
| - | |||
| - | |||
| Threads started! | Threads started! | ||
| - | |||
| Done. | Done. | ||
| - | |||
| - | \\ | ||
| - | |||
| Maximum prime number checked in CPU test: 10000 | Maximum prime number checked in CPU test: 10000 | ||
| - | |||
| - | \\ | ||
| - | |||
| - | |||
| - | \\ | ||
| - | |||
| Test execution summary: | Test execution summary: | ||
| - | |||
| total time: 524.5674s | total time: 524.5674s | ||
| - | |||
| total number of events: 10000 | total number of events: 10000 | ||
| - | |||
| total time taken by event execution: 524.0836 | total time taken by event execution: 524.0836 | ||
| - | |||
| per-request statistics: | per-request statistics: | ||
| - | |||
| min: 6.48ms | min: 6.48ms | ||
| - | |||
| avg: 52.41ms | avg: 52.41ms | ||
| - | |||
| max: 613.14ms | max: 613.14ms | ||
| - | |||
| approx. 95 percentile: | approx. 95 percentile: | ||
| - | |||
| - | \\ | ||
| - | |||
| Threads fairness: | Threads fairness: | ||
| - | |||
| events (avg/ | events (avg/ | ||
| - | |||
| execution time (avg/ | execution time (avg/ | ||
| - | + | </ | |
| - | \\ | + | |
| ==== Digital Ocean Healthy $5/month droplet ==== | ==== Digital Ocean Healthy $5/month droplet ==== | ||
| john@mqtt1604C: | john@mqtt1604C: | ||
| + | < | ||
| sysbench 0.4.12: multi-threaded system evaluation benchmark | sysbench 0.4.12: multi-threaded system evaluation benchmark | ||
| - | |||
| - | \\ | ||
| - | |||
| Running the test with following options: | Running the test with following options: | ||
| - | |||
| Number of threads: 1 | Number of threads: 1 | ||
| - | |||
| - | \\ | ||
| - | |||
| Doing CPU performance benchmark | Doing CPU performance benchmark | ||
| - | |||
| - | \\ | ||
| - | |||
| - | |||
| Threads started! | Threads started! | ||
| - | |||
| Done. | Done. | ||
| - | |||
| - | \\ | ||
| - | |||
| Maximum prime number checked in CPU test: 10000 | Maximum prime number checked in CPU test: 10000 | ||
| - | \\ | + | Test execution summary: |
| + | total time: 12.8076s | ||
| + | total number of events: 10000 | ||
| + | total time taken by event execution: 12.8054 | ||
| + | per-request statistics: | ||
| + | min: 1.20ms | ||
| + | avg: 1.28ms | ||
| + | max: 2.52ms | ||
| + | approx. 95 percentile: | ||
| + | Threads fairness: | ||
| + | events (avg/ | ||
| + | execution time (avg/ | ||
| + | </ | ||
| - | \\ | + | Note: Jan 5, 2019 healthy $5/month droplet performance (verified on 6 droplets): |
| + | * '' | ||
| - | Test execution summary: | + | ==== Linode $5/month Droplet ==== |
| + | < | ||
| + | sysbench 1.0.18 (using system LuaJIT 2.1.0-beta3) | ||
| - | total time: 12.8076s | + | Running the test with following options: |
| + | Number of threads: 1 | ||
| + | Initializing random number generator from current time | ||
| - | total number of events: 10000 | ||
| - | total time taken by event execution: 12.8054 | + | Prime numbers limit: 10000 |
| - | per-request statistics: | + | Initializing worker threads... |
| - | min: 1.20ms | + | Threads started! |
| - | avg: 1.28ms | + | CPU speed: |
| + | events per second: | ||
| - | max: 2.52ms | + | General statistics: |
| + | total time: 10.0001s | ||
| + | total number of events: | ||
| - | approx. | + | Latency (ms): |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| - | \\ | + | Threads fairness: |
| + | events (avg/ | ||
| + | execution time (avg/ | ||
| + | </ | ||
| + | ==== AWS $5/month Droplet ==== | ||
| + | < | ||
| + | ubuntu@ip-172-26-9-190: | ||
| + | WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options. | ||
| + | sysbench 1.0.18 (using system LuaJIT 2.1.0-beta3) | ||
| + | Running the test with following options: | ||
| + | Number of threads: 1 | ||
| + | Initializing random number generator from current time | ||
| - | Threads fairness: | ||
| - | events (avg/ | + | Prime numbers limit: 10000 |
| - | execution time (avg/ | + | Initializing worker threads... |
| + | Threads started! | ||
| - | \\ | + | CPU speed: |
| + | events per second: | ||
| + | General statistics: | ||
| + | total time: 10.0008s | ||
| + | total number of events: | ||
| - | Note: Jan 5, 2019 healthy $5/month droplet performance | + | Latency |
| - | + | min: 1.22 | |
| - | * execution time (avg/stddev): 15.3699/0.00 | + | |
| + | | ||
| + | 95th percentile: | ||
| + | | ||
| + | Threads fairness: | ||
| + | events (avg/ | ||
| + | execution time (avg/ | ||
| + | </ | ||
| ==== Measure CPU load on all Droplets: ==== | ==== Measure CPU load on all Droplets: ==== | ||
| - | ./ | + | '' |
| it seems more accurate (or at least lines up better with DO usage stats) if a bit slower to catch the 2nd iteration of top instead of the first: | it seems more accurate (or at least lines up better with DO usage stats) if a bit slower to catch the 2nd iteration of top instead of the first: | ||
| - | ./ | + | '' |
| - | + | ||
| - | \\ | + | |
| - | + | ||