Click here to Skip to main content
15,881,559 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralSpan<T> equality Pin
Rob Grainger31-Jan-23 14:05
Rob Grainger31-Jan-23 14:05 
GeneralRe: Span<T> equality Pin
Richard Deeming31-Jan-23 21:50
mveRichard Deeming31-Jan-23 21:50 
GeneralRe: Span<T> equality Pin
Richard Deeming7-Feb-23 4:12
mveRichard Deeming7-Feb-23 4:12 
GeneralWeird One: CPU utilization Pin
raddevus25-Jan-23 8:31
mvaraddevus25-Jan-23 8:31 
GeneralRe: Weird One: CPU utilization Pin
RickZeeland25-Jan-23 9:06
mveRickZeeland25-Jan-23 9:06 
GeneralRe: Weird One: CPU utilization Pin
trønderen25-Jan-23 9:28
trønderen25-Jan-23 9:28 
GeneralRe: Weird One: CPU utilization Pin
trønderen25-Jan-23 9:57
trønderen25-Jan-23 9:57 
GeneralRe: Weird One: CPU utilization Pin
raddevus25-Jan-23 10:22
mvaraddevus25-Jan-23 10:22 
Fantastic info! Thanks for replying. Thumbs Up | :thumbsup:


trønderen wrote:
then the flat 19% can be read as '100% utilization at the current clock speed'. If there is a great backlog of CPU tasks, it isn't surprising that all cores are saturated.

Yes, that was exactly what I was thinking too.


trønderen wrote:
immediately after boot up turn on the Resource Monitor CPU view, you will loads of processes coming and going

I've definitely noticed this.
In my case my laptop had been sitting idle overnight (plugged in). I removed the plug then opened the lid. I think this is what caused the problem. It was probably in low-power mode then I removed the plug and I know from past that this laptop (and Microsoft) try to idle some cores to save power.

I think it attempted to do that but then I was attempting to activate the laptop also and something went screwy.

Also, notice that when my laptop is removed from power, it tries to idle the last 4 cores (to conserve power) even though I've forced my laptop to have the setting "prefer speed over power saving".

I've talked at length with people about this and many say "there is a BIOS setting!" But there actually isn't on my (quite new) HP laptop.

What I've Learned, What I will Try Next Time
In future I will first activate my laptop (open the lid) then after I see the desktop and only after will I pull the plug. Should'a been doing this all along but the hardware & software shouldn't do that anyways.

Thanks again for the discussion, really great info.
GeneralRe: Weird One: CPU utilization Pin
RainHat25-Jan-23 23:00
RainHat25-Jan-23 23:00 
GeneralWhat the *ell Windows Explorer? Pin
charlieg18-Jan-23 9:23
charlieg18-Jan-23 9:23 
GeneralHow old am I, according to Amazon? Pin
jsc4214-Jan-23 5:09
professionaljsc4214-Jan-23 5:09 
GeneralRe: How old am I, according to Amazon? Pin
Richard Deeming15-Jan-23 22:38
mveRichard Deeming15-Jan-23 22:38 
GeneralRe: How old am I, according to Amazon? Pin
jsc4215-Jan-23 23:05
professionaljsc4215-Jan-23 23:05 
GeneralRe: How old am I, according to Amazon? Pin
Jeremy Falcon18-Jan-23 2:53
professionalJeremy Falcon18-Jan-23 2:53 
GeneralRe: How old am I, according to Amazon? Pin
charlieg18-Jan-23 8:42
charlieg18-Jan-23 8:42 
GeneralRe: How old am I, according to Amazon? Pin
jsc4218-Jan-23 22:54
professionaljsc4218-Jan-23 22:54 
GeneralForbidden File Names? Pin
kmoorevs30-Dec-22 9:23
kmoorevs30-Dec-22 9:23 
GeneralRe: Forbidden File Names? Pin
trønderen30-Dec-22 9:52
trønderen30-Dec-22 9:52 
GeneralRe: Forbidden File Names? Pin
kmoorevs2-Jan-23 7:16
kmoorevs2-Jan-23 7:16 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 10:36
professionalEddy Vluggen2-Jan-23 10:36 
GeneralRe: Forbidden File Names? Pin
Daniel Pfeffer2-Jan-23 21:23
professionalDaniel Pfeffer2-Jan-23 21:23 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:43
professionalEddy Vluggen2-Jan-23 22:43 
GeneralRe: Forbidden File Names? PinPopular
haughtonomous2-Jan-23 21:47
haughtonomous2-Jan-23 21:47 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:52
professionalEddy Vluggen2-Jan-23 22:52 
GeneralRe: Forbidden File Names? Pin
Eddy Vluggen2-Jan-23 22:59
professionalEddy Vluggen2-Jan-23 22:59 

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.