-
Notifications
You must be signed in to change notification settings - Fork 1
0. Performance Engineering
-
CPU bound means the program is bottlenecked by the CPU, or central processing unit, while I/O bound means the program is bottlenecked by I/O, or input/output, such as reading or writing to disk, network, etc.
-
In general, when optimizing computer programs, one tries to seek out the bottleneck and eliminate it. Knowing that your program is CPU bound helps, so that one doesn't unnecessarily optimize something else.
-
[And by "bottleneck", I mean the thing that makes your program go slower than it otherwise would have.]
-
CPU Bound means the rate at which process progresses is limited by the speed of the CPU. A task that performs calculations on a small set of numbers, for example multiplying small matrices, is likely to be CPU bound.
-
I/O Bound means the rate at which a process progresses is limited by the speed of the I/O subsystem. A task that processes data from disk, for example, counting the number of lines in a file is likely to be I/O bound.
-
Memory bound means the rate at which a process progresses is limited by the amount memory available and the speed of that memory access. A task that processes large amounts of in memory data, for example multiplying large matrices, is likely to be Memory Bound.
-
Cache bound means the rate at which a process progress is limited by the amount and speed of the cache available. A task that simply processes more data than fits in the cache will be cache bound.
-
I/O Bound would be slower than Memory Bound would be slower than Cache Bound would be slower than CPU Bound.
- linux-performance-monitoring-analyzing: https://www.udemy.com/linux-performance-monitoring-analyzing/
- java-performance-tuning: https://app.pluralsight.com/library/courses/java-performance-tuning
- oracle-performance-tuning-develop: https://app.pluralsight.com/library/courses/oracle-performance-tuning-developers
- https://www.vogella.com/tutorials/JavaPerformance/article.html
- https://gceasy.io/
- https://medium.com/linagora-engineering/tunning-cassandra-performances-7d8fa31627e3