this post was submitted on 26 Apr 2025
421 points (99.1% liked)
linuxmemes
24652 readers
1229 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
- Don't get baited into back-and-forth insults. We are not animals.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. π¬π§ Language/ΡΠ·ΡΠΊ/Sprache
- This is primarily an English-speaking community. π¬π§π¦πΊπΊπΈ
- Comments written in other languages are allowed.
- The substance of a post should be comprehensible for people who only speak English.
- Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures
We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations. - Keep discussions polite and free of disparagement.
- We are never in possession of all of the facts. Defamatory comments will not be tolerated.
- Discussions that get too heated will be locked and offending comments removed. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well it does make sense that the CPU has to work a bit when loading a new program.
All four cores at 100%? We don't see that kind of spike when we open some other application right? Is it the experience of everyone? Or am I wrong in this?
I mean, maybe. Imagine averaging the usage over a single instruction cycle. Whatever ran that instruction is using 100% of the processor for that time period.
That first data point is simply invalid. Ignore it. Monitoring software usually report some kind of statistic (mean, median, min/max, etc) taken from measurements over a period of time instead of the instantaneous value when the report is updated. But they can't do that for the first data point when the application is launched because there's no time period over which to measure it.
Lim t->0 x/t =infinity when x>0
Math - not even once.
I paid for all the cores, I'm gonna use all the cores!
Unless bottlenecked somewhere else, we would want to see 100 % with everything that takes more than some milliseconds.
This is the real answer. Other apps might be bottlenecked by IO so the CPU doesnβt work as hard. Get faster disks, the CPU will see more use. Since
top
is so small that it loads into memory almost instantly, and has no need for further IO, the CPU is free to spin all the way!People get worked up when CPU usage is high, but unless thereβs a resource leak somewhere, that just means the computer is working at full efficiency.
Top revs the engine as a test /s
It's like when the boss walks in so everybody becomes visibly busy. Never want to look like you could be the couple pennies shaved off the budget when management bonus calculation time comes around.
Absolutely. That's why race to idle is a thing. As soon as the CPU is fed cycles it races to complete the task as quickly as possible. When the program first launches and starts monitoring the only thing it knows is that it was just doing something. It hasn't had a change to not do something. It's now completed its race and now it's able to relax for a second and idle.
It's going to be an artifact of the data collection method. The sample size is extremely small and taken during the period where top has never stopped running.