4 ms·
True It's amazing how somethings are extremely inefficient, and even worse, nobody questions themselves why this is like this Most of 'this is taking too long
by raverbashing 11y ago
True
It's amazing how somethings are extremely inefficient, and even worse, nobody questions themselves why this is like this
Most of 'this is taking too long' is because of IO, still, sometimes it's done in a very inefficient way as well
- pixl97 11y ago>is because of IO Having moved to very fast SSDs and ramdrives in some cases, it amazes me how many applications can't take advantage of them. It's terrible when you have an app that appears to be IO bound on disk and move it to fast drives only to get a 2x speedup, while even a single cpu core isn't maxed out.
- raverbashing 11y agoEven with ssds you can have issues like reading one byte at a time, saturating the sata link, etc
- speeder 11y agoI bought a gaming laptop with a "theoretically" midrange GPU (it is in practice a shitty GPU, nVidia took a true midrange GPU, removed half of the chip, and overclocked it, hoping it will stay with midrange performance, instead the thing just overheats) and a Core i7... It is a waste of money, I rarely see 100% CPU use, the few times I saw 100% CPU use was demoscene stuff, or some russian compression programs (that can do amazing stuff, like compress 60gb downloads into 20gb, but take 2 hours at 100% CPU to decompress). It is evne worse that some games that theoretically would need all the CPU (games that has lots of entitites, or are physics or AI intensive), instead just have thousands of cache misses while they loop through their entities in the memory, and the CPU gets used like 20%. Or they are single-core, even if made recently.
- Tyr42 11y agoI remember fixing a vim plugin that did one system call per character to be received because the IPC returned some number of xml objects, not even wrapped in a top level one, so the plugin didn't want to block by reading past the last > until it processed everything before it. I fixed that to use non-blocking pipes and it was much better.