3
If I want to improve the performance of my computer, or optimise the performance of a computer yet to be bought, how can I determine what hardware I would need to choose/upgrade?
- Processor clock speed and number of cores,
- Type and quantity of RAM,
- Type and properties of graphics card or chipset,
- Type and properties of storage medium (hard disc drive vs. solid state storage),
- GPU/GPGPU,
- Perhaps a combination of the above,
- Others?
For example, I recently upgraded my laptop storage (HDD→SSD) and RAM (2 GB→8 GB), based on generic recommendations and on the fact I don't know how to upgrade anything else. It led to a tremendous improvement in performance. Suppose that I have a machine where theoretically any component can be upgraded, how would I go to determine the current bottleneck/limiting factor if I want to improve performance further? For example:
- Time to boot,
- Time for a complicated operation on photo editing,
- Time to compile a LaTeX document,
- Time to start Firefox,
- Time to start playing a video,
- and other things.
With tools like top I can measure CPU and RAM usage. That tells me what processes are using my current resources, but not what limits them from running 10% faster, 2× faster, 10× faster.
1
On internet you can find some benchmarks tools/suites (i.e. this one, never tried and googled just now). They can test (and stress) the system for you, giving hints on where your computer suffers more. In practical cases do not expect 10x faster (if you do not put your swap and latex files on a ram disk...
– Hastur – 2016-07-07T13:54:14.990;-)). Good Luck. ps> do not forget after tophtopfor processes,iotopfor I/O,iptraforntopfor network...@Hastur 10× is an extreme example, but theoretically there always is a bottleneck somewhere. My laptop upgrade did feel like a 10× speedup, but it was probably less than that. – gerrit – 2016-07-07T13:58:32.953
Why the downvote? – gerrit – 2016-07-07T14:14:58.400
Someone is probably thinking that your question is too wide... (and somebody else just asked to close for the same reason). Indeed it is. – Hastur – 2016-07-07T14:16:51.333
Note that hard drives are "hard disks" (with a 'K'), whereas CDs and DVDs are "discs" (with a 'C'). Thus, "hard disc drive" is a misnomer. – ErikE – 2016-07-07T15:23:58.440
@ErikE Ugh, weird. Let's all move to solid state so that we don't ever have any disks or discs anymore ;-)
– gerrit – 2016-07-07T17:16:31.503