r/computerscience • u/AtlasManuel • Apr 21 '25
General Typical computer speeds
Hi everyone,
I understand that most modern processors typically run at speeds between 2.5 and 4 GHz. Given this, I'm curious why my computer sometimes takes a relatively long time to process certain requests. What factors, aside from the CPU clock speed, could be contributing to these delays?
9
Upvotes
View all comments
Show parent comment
1
u/not-just-yeti Apr 21 '25 edited Apr 21 '25
Yes, I'll say for the third time: it could be many things. But that doesn't mean we throw up our hands at OP and say "it is equally likely to be any of these things". And if you are having sudden chest pains, a doctor who says "there are 83 known disorders with that symptom" is negligent if they don't add "but the one or two most common causes are ...".
E.g.: over the next five minutes, count how many times it you notice a delay between asking your device to do something, and the computer finishing your request. (Since you're browsing reddit, I assume many of those will be page-clicks. I'm on a decent machine w/ decent internet, and just reloading a static webpage it's hard for me to do more than 3 reloads per second.) Now, tell me whether you think those times were mostly likely due a bug in a device-driver, vs being due to network delay. Sure, you have had a time when the delays were genuinely a bug in the audio's device-driver. But that is far less than 0.1% of all the delays noticed, while network-connection is (I'm guessing) about 80%+ of all noticeable delays. (Things like GCs are usually done incrementally nowadays, and rather hard to notice as a human.) Though you're right, just spamming "new browser tab" or "close browser tab", it happens slower than I can press — about 10/second, which is all local-cpu.
Perhaps I'm interpreting OP's question of "relatively long" different than most: relative to the OP's mention of one operation requiring one-four-billionth of a second, a delay of half a second is two billion operations, which I interpreted as a "relatively long" period to have no noticeable action happen. If OP was talking about a wait-cursor that is happening for 10sec+, then that's a (relatively rare) situation, which might be network-buffering from your Netflix, but might be something else.
I am old enough to remember computing before common high-speed internet in the early 2000s, and how then there were more times when slow hardware and slow programs were more noticeable. But in the past 10-15yrs, network has become about the only delay I actually notice, on an average day.
[Actually, one daily pet peeve: using my phone as a TV remote (roku): it takes 5-10sec for the app to connect to the tv over the local network. So that's not bandwidth, but some protocol where negotiating the speed/frequency/etc takes a while. I'm genuinely puzzled why connecting to a network isn't faster; I think the protocols are overly-generous in waiting for early attempts to timeout before going to the next step.]