|
I have an AMD® Ryzen 5 2600x six-core processor × 2 (12) core in mine and I notice that all my cores get used also. Running Ubuntu 22.04.3 LTS all seems good.
|
|
|
|
|
Yeah, but see Daniel Pfeffer's reply down-thread. The actual issue has to do with time-slice calculations for the scheduler, not the use of CPU cores/threads. If performance could be better with finer grained calculations for more than 8 cores, it's probably pretty subtle. Like all things, there's probably a point of diminishing returns, and maybe somewhere around 8 cores, scheduling characteristics don't make much difference overall. No doubt someone like the guys over at Phoronix will do some benchmarking with patched kernels and report. Then we'll know what, if anything, we've been missing.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
I read the original article.
The issue is not that only 8 cores are used, but that the time slice does not scale properly with the number of cores. The larger the number of cores, the larger the inherent multitasking, so less switching is performed on each core to simulate multitasking.
The Linux kernel is supposed to use a certain core number-dependent algorithm to calculate the time slice size, but the number of cores used in the calculation is maxed out at 8.
IMO, this is deliberate. When you have more than 8 cores, increasing the time slice size gives no real benefit.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Why would anyone need more than 8 codes?
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
Eight cores oughta be enough for anybody.
|
|
|
|
|
Anything more is just pretentious!
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
Ah! But how many threads? I seem to recall a CPU (maybe MIPS?) that supported 3 threads per core, and there's tales of IBM Power supporting 4 or 8 TPC, and I think Sun SPARC had chips that supported 8 TPC. Imagine a Beowulf cluster of those! Oops, sorry, wrong forum
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
(PIEBALD looks up Itanium specs...)
|
|
|
|
|
I think how many threads per core are supported is determined by the O/S, not the CPU.
|
|
|
|
|
I'm thinking in terms of "Hyperthreading", or "Virtual Cores", which is definitely hardware, not software.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|
PIEBALDconsult wrote: Eight cores oughta be enough for anybody.
Consider
(a) the number of cores in an AMD Threadripper CPU
(b) the fact that you can use AMD CPUs as space heaters
You might want to make use of more cores during those cold winter nights...
|
|
|
|
|
Uh huh, here in freaking Phoenix.
|
|
|
|
|
I'm not without sympathy.
The one time I had an AMD CPU for my primary machine...I remember shutting it down at times because it was just getting too damned hot in summer, despite the AC unit keeping the rest of the house reasonably cool. Nothing wrong with the CPU or heatsink, as I was repeatedly told this was "to be expected" with that particular generation (I forget which exactly).
I have no need for a machine that has to be turned off due to the amount of heat it throws off. I've never owned another system with an AMD CPU.
|
|
|
|
|
dandy72 wrote: because it was just getting too damned hot in summer, despite the AC unit keeping the rest of the house reasonably cool.
That sounds a bit scary.
So the CPU was getting so hot that it was warming up the room (not just computer) that you were in to such an extent that you turned it off to get cooler?
Sounds more like a fireplace or an oven than the computer.
|
|
|
|
|
The prototypes of the DEC Alpha required a 3 phase power supply. Before the release, they managed to trim down the power requirements so that a plain single-phase PS could handle it.
While I was teaching at a tech. college, we got an Alpha machine. Good thing was that it could provide hot lunches for the students
(I'm kidding. It was a common joke among the students, though.)
|
|
|
|
|
jschell wrote: So the CPU was getting so hot that it was warming up the room (not just computer) that you were in to such an extent that you turned it off to get cooler? Have you never been working in an environment with, say, 40 servers gathered in a server room?
A few years ago, we were moving to another wing of the building. The move was delayed by a couple of months because the machine room needed so much AC that there wasn't enough electric power for it without a significant rewiring, with more circuits of higher rating.
A home environment is different, of course. But look at these gaming machines: They have power supplies of 1200 W, 1500 W, ... The three huge screens come on top of that. And the 6 channel times 50 W sound system. It all ends up as heat, similar to a 2000-2500 W electric heater. If you don't need it to keep your house warm (and it certainly is not a very efficient way to heat your house!), you need an AC which can dispose of 2000-2500 W of heat - and the AC unit will give you another 500 W or so of heat (assuming a COP of 4 to 5; they don't go very much higher).
If you live in a house built by current insulation standards (as far as I have read, Canada and Norway standards are comparable), then an extra 3000 W of heat may be sufficient to keep your entire house warm even in mid-winter.
|
|
|
|
|
The post said "primary" so I presumed one.
trønderen wrote: They have power supplies of 1200 W, 1500 W,
Not really my thing these days but I believe that if you drive the power supply to the maximum on the computer and the other devices you are going to end up having hardware issues quite quickly.
|
|
|
|
|
jschell wrote: So the CPU was getting so hot that it was warming up the room (not just computer) that you were in to such an extent that you turned it off to get cooler?
Sounds more like a fireplace or an oven than the computer.
You sound surprised. Heat management is absolutely a consideration for any IT manager who's responsible for putting together a number of PCs in a room. It'll get hot - very hot. Data centers spend a fortune on AC. But this one PC was a special case.
As mentioned, that particular generation of AMD CPUs (Athlons? It was over 10 years ago) was known to be generating a lot of heat; it's not like the thermal paste needed to be replaced or the heat sink reseated as is often the solution nowadays. It just generated that much heat, by design, so even with proper cooling/ventilation, the heat had to go somewhere. So, it heated the room.
Nowadays, it seems like high-end GPUs have taken that role...
|
|
|
|
|
|
Interesting article.
As the aircraft designer said, "Simplicate and add lightness".
PartsBin an Electronics Part Organizer - Release Version 1.3.0 JaxCoder.com
Latest Article: SimpleWizardUpdate
|
|
|
|
|
I first heard this quote from my Grad School prof at about the same time frame.
We were experimenting with different memory access schemes for RISC processors the hottest CPU design at the time (bit slicing, segmentation, etc. ). Fun times.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I think he's denied it, but I'm going to keep repeating it anyway. The sentiment still has value, wherever it originated.
|
|
|
|
|
I am repeating it too - as a great example of taking quotes out of context.
In another interview (for which I don't have any URL), Gates did not remember having said it, but remarked that if he had said anything like that, it would have to be in discussions about the sharing of the 1024 Ki available RAM between the OS and user processes. Reserving 384 Ki for the OS, leaving 640 Ki for user processes, that should be enough for any user process running in 1024 Ki RAM.
Whether Gates actually said it or not: I support it! I would never argue that, given 1024 Ki, the OS, drivers, I/O buffers and other system software should be given any less than 384 Ki. You may ridicule me for that statement just as much as you ridicule Gates. Go ahead! Then, please include some viable arguments why the OS should have less than 384 Ki, and tell us how much less, given the 1024 Ki total.
I am really happy that Gates made or didn't make this statement. I have no better example to illustrate quotes taken out of context.
|
|
|
|
|
Good point. The quote about "no one needs a computer in their home" is another example of a quote taken out of context.
But it can also be an example of someone (anyone) not foreseeing the future very well, such as the oft repeated "I see a world market for maybe five computers".
Olsen is quoted as saying "There is no reason for any individual to have a computer in his home."
Thomas J Watson, reputedly said: "I think there is a world market for about five computers."
|
|
|
|
|
PIEBALDconsult wrote: Thomas J Watson, reputedly said: "I think there is a world market for about five computers." If you today stated that "I think that there is a world market for about five cloud service providers", maybe you will be ridiculed for it, 30 years from now.
Thomas J Watson viewed those five computers remarkable similar to how we view the five biggest (are there really that many?) cloud service providers.
You could make similar statements e.g. about how many search engines the world needs. And different OSes. And different Linux distros.
|
|
|
|