Click here to Skip to main content
15,887,267 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Utilization Pin
dandy727-Sep-23 7:02
dandy727-Sep-23 7:02 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 7:06
mvahoney the codewitch7-Sep-23 7:06 
GeneralRe: Utilization Pin
dandy727-Sep-23 7:20
dandy727-Sep-23 7:20 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 7:25
mvahoney the codewitch7-Sep-23 7:25 
GeneralRe: Utilization Pin
dandy727-Sep-23 7:29
dandy727-Sep-23 7:29 
GeneralRe: Utilization Pin
Marc Clifton7-Sep-23 7:54
mvaMarc Clifton7-Sep-23 7:54 
GeneralRe: Utilization Pin
obermd7-Sep-23 8:40
obermd7-Sep-23 8:40 
GeneralRe: Utilization Pin
honey the codewitch7-Sep-23 9:18
mvahoney the codewitch7-Sep-23 9:18 
I wouldn't say *anything*, but I do hear you.

Certainly thrashing is a concern with something like virtual memory, but I'm not even necessarily talking about vmem here. With the memory example, my point was simply about a hypothetical ideal. It takes the same amount of power to run 32GB of allocated memory as it does 32GB of unallocated memory, so if you're not using that memory for something, it's in effect, being wasted. In the standard case, this would be an OS responsibility, and if an OS wanted to approach that ideal, it might use something, like an internal ramdisk to preload commonly used apps and data for example. May as well. It's not being used for anything else, and if you run out, you just start dumping all your ramdisk. Only after it's gone, start going to vmem. Something like that. It's just an idea, there are a million ways to use RAM.

I/O (to storage) is really where your thrashing occurs, and historically there was literal thrashing due to the moving parts involved, even though that's so often not the case anymore.

But again, the idea would be in an ideal "typical" situation, an OS would manage that, and run any preloads at idle time, and make them lower priority than anything else.

In effect, as long as everything you're doing on top of idling is basically "disposable" thrashing won't be much of a concern.

The CPU is a bit of an animal, in that you'll need about 10% of it to run the scheduler effectively, and without that, everything else falls apart. So yeah, with a CPU it's more like 80-90% utilization, although 100% is acceptable for bursts. In any case, I worded my post carefully to dictate that the CPU should be utilized when it has something to do. It's not the case that I'd necessarily want to "find" things to do with it the way I would with RAM. It's that when it does need to do something, it expands like a lil puffer fish and uses all of its threading power toward a task - again, ideal scenario. The reason for the discrepancy here, vs say with RAM is because of power concerns. RAM uses the same power regardless. A CPU varies with task so it should be allowed to idle if that makes sense.

I hope this clears things up rather than making it worse. Laugh | :laugh:
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix

GeneralRe: Utilization Pin
wapiti648-Sep-23 5:56
wapiti648-Sep-23 5:56 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 5:57
mvahoney the codewitch8-Sep-23 5:57 
GeneralRe: Utilization Pin
wapiti648-Sep-23 6:28
wapiti648-Sep-23 6:28 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 7:01
mvahoney the codewitch8-Sep-23 7:01 
GeneralRe: Utilization Pin
trønderen8-Sep-23 8:22
trønderen8-Sep-23 8:22 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 11:05
mvahoney the codewitch8-Sep-23 11:05 
GeneralRe: Utilization Pin
trønderen7-Sep-23 11:49
trønderen7-Sep-23 11:49 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 3:19
mvahoney the codewitch8-Sep-23 3:19 
GeneralRe: Utilization Pin
Peter Adam7-Sep-23 23:25
professionalPeter Adam7-Sep-23 23:25 
GeneralRe: Utilization Pin
Choroid8-Sep-23 5:30
Choroid8-Sep-23 5:30 
GeneralRe: Utilization Pin
honey the codewitch8-Sep-23 5:32
mvahoney the codewitch8-Sep-23 5:32 
GeneralRe: Utilization Pin
trønderen8-Sep-23 8:15
trønderen8-Sep-23 8:15 
GeneralRe: Utilization Pin
Choroid9-Sep-23 6:39
Choroid9-Sep-23 6:39 
GeneralRe: Utilization Pin
Gerry Schmitz8-Sep-23 11:25
mveGerry Schmitz8-Sep-23 11:25 
General210 Watts, £560/$700 a year Pin
Rob Philpott7-Sep-23 0:28
Rob Philpott7-Sep-23 0:28 
GeneralRe: 210 Watts, £560/$700 a year Pin
Richard MacCutchan7-Sep-23 0:40
mveRichard MacCutchan7-Sep-23 0:40 
GeneralRe: 210 Watts, £560/$700 a year Pin
Rob Philpott7-Sep-23 0:52
Rob Philpott7-Sep-23 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.