On 3/18/2019 6:29 PM, Bruce Hoult wrote:
> On Monday, March 18, 2019 at 12:48:20 PM UTC-7, BGB wrote:
>> I can't compare exactly. The fastest Intel HW I have is still some older
>> rack servers with dual Xeon E5410's. I got them mostly because they were
>> getting thrown out.
>
> Oh, wow, that's pretty old. 2.33 GHz, pre Nehalem. At least eight real cores though.
>
Yeah. The thing was generally a little bit slower than my FX for
single-threaded tasks, but under multi-threaded workloads there was no
real per-thread slowdown, so it could actually go pretty fast at this.
With my FX, much past two or three threads, the per-thread performance
would start to drop off quickly, limiting its max performance.
So, with 8 threads, the E5410's had a pretty massive speed advantage.
With my Ryzen, a single thread is ~ 3x as fast as before, but something
weird is going on with scheduling that I have not figured out:
One thread is pretty fast;
Two threads is slightly faster;
Beyond two threads is detrimental (within a single process).
However, the process remains limited to ~8% CPU load, regardless of the
number of threads created. Usually only one of the cores is active in
Resource Monitor.
If I fire up two processes, each runs at 8%, and each runs at roughly
the full speed of the first process. Each process runs on a different core.
I have yet to figure out what is going on with this, nor a workaround,
but for now I have been living with it, as two threads (at 8% load) on
my Ryzen is faster than running my FX at 100% CPU load...
I haven't found anything that mentions this behavior, nor a cause nor a
workaround (at least, short of spawning multiple processes).
Digging around in the Windows API, it appears:
The process affinity is already 0xFFFF (all processors);
There is only a single Processor Group, which contains all 16 cores;
Thread affinity is already set to use all cores;
...
So, at least according to the Win32 API, a process should already be
able to max out the CPU.
So, something curious is going on, that I can't quite seem to figure
out. In any case, I suspect it is a software issue (probably some
"clever" OS feature designed to try to keep programs from hogging the
CPU or similar).
>
>> I had thought NUC was basically Intel's equivalent of a RasPi (just more
>> expensive)?...
>
> The first NUCs were pretty low end ... atom I think ... but I don't think they were ever quite as slow as a Pi :-)
>
When I first saw them, it was people talking about them as a sort of
Intel equivalent to the RasPi.
There was also some complaint that the GPIO was using a somewhat
non-standard 1.0 volt GPIO interface, which made it problematic to
interface with most peripheral hardware (though, some other info online
says it uses a more common 3.3v signaling, and some other people saying
that it doesn't have any GPIO pins).
Either way, it appears it has a far less GPIO than the 40-pin header on
the RasPi.
Seems to be board specific, but the headers only have 6 pins, usable
either as GPIO, or as I2C and two PWM outputs.
So, yeah, still wouldn't be terribly useful for the kinds of things I am
doing with using RasPi boards (which generally make much more extensive
use of GPIO).
Though, I guess one could use shift-registers to multiplex the IO pins
or similar.
> My NUC has a Core i7-8650U. 8th gen, quad core, hyperthreading, up to 4.2 GHz, 32 GB DDR4-2400, 500 GB Samsung Pro M.2 PCIe SSD (reused from the 6700K tower I left behind in Moscow when I moved). In April last year when I bought it, it was faster than any laptop. A few months later, laptop manufacturers started using the same generation of CPUs, though most top out with the i7-8550U (100 MHz slower). In practice I find the NUC is significantly faster because today's "thin and light" laptops thermal throttle much more and much sooner than the NUC.
>
> There are a couple of NUC models with even beefier processors, but they are also something like twice as large.
>
>
https://pbs.twimg.com/media/DlfqLMJUUAE5quy.jpg
>
> It's pretty good for all the travel and living in different places I've been doing in the last year, as long as I have a decent monitor available in each place. (I like 32" 4K monitors)
>
OK.
I have a desktop PC in my case.
General description:
Ryzen 2700X 3.7 GHz
32GB DDR4 2933
4 HDDs, 1 SSD, and a DVD-RW drive
750W PSU
GeForce GTX 970
...
Case is a decent sized full-tower, PC weighing approx 60 lbs.
Annoyingly, the 500VA UPS I have (with a relatively new battery) can't
keep this thing running during a blackout (dumps power very quickly). I
think I need a bigger UPS.
>
>> But, meh, my efforts are sort of a hobby project that has managed to eat
>> a pretty absurd amount of time over the past few years (and has drifted
>> pretty far from how it started out).
>
> Designing a complete instruction set and hardware implementation of it is a BIG task -- almost ridiculous for just one person to do. It's very impressive how much you get done.
>
Yeah.
I have much of my life obsessing on computers and similar as experience.
Decided to omit a personal history, but I had been messing around a bit
with compiler and VM technology over the course of my life (among other
things), and over the past several years, have started branching out
into ISA design.
Though, in some sense, ISA design is sort of like VM design, just with
much more restrictive design constraints (more so when trying to design
something which is reasonably usable both as a VM and as a CPU ISA).
A lot of my past VM designs would be unsuitable for implementation in
hardware; and many hardware ISA's have features which are rather
problematic for use as a VMs.
For example, x86 is difficult to decode, and both x86 and ARM make heavy
use of ALU condition-codes which are difficult to emulate efficiently, ...
>
>> The other parts of my life are:
>> Working IRL in making various parts out of wood and metal and similar;
>> Hoping (in some vain sense), that someone might eventually actually hire
>> me for a job, but no luck here (I otherwise still live with parents,
>> never having managed to achieve any real sense of independence, ...).
>>
>> Granted, I am autistic, so maybe expectations are lower; at least when
>> not being judged by people for being useless, and being dismissed by HR
>> people and staffing agencies as "unemployable", ...
>
> This is awful!
>
> You've clearly got very useful skills in machine code programming, CPU architecture, Verilog for goodness sake. I would say you are easily employable by a company doing that kind of thing -- and there are many opportunities to work remotely at your own pace on a fixed price contract (or just monthly rate with progress evaluated from time to time).
>
> The hardest thing might be maintaining interest in someone else's project.
>
I had looked at a few freelance websites, but was pretty discouraged by
most of what I saw:
People wanting huge/elaborate things, paying little or nothing;
People wanting things which were legally dubious or illegal;
...
Most of the rest were things that didn't really align with my skill-set
(eg: web development stuff). Pretty much everything I can find locally
(for 'developer' jobs) is looking for web developers. I have also
determined that they don't want to hire me either.
Had also tried getting jobs as a machine operator or doing industrial
maintenance/repair (pretty big locally, *1), but they don't want to hire
me for these sorts of things either.
*1: Main local industries:
Oilfield stuff (drilling, refinery stuff, ...);
Mining related stuff (coal, etc);
Manufacturing industries (paper products, aviation parts, ...);
Farming industry (corn fields);
Used car lots (so many used car lots);
...
> Maybe you should contact me privately.
>
Maybe, will see.
>> Well, and similarly no GF, because (in the view of females), ones' value
>> as a person is dependent primarily on having a job and money and other
>> related things (car, house, ...). As much as people say otherwise,
>> having gone through enough interactions in these areas, this seems to be
>> a pretty major determining factor, and otherwise I am pretty much seen
>> as being useless.
>
> Ahhh .. being a young guy sucks, or at least it sucked for me. Young women get all the attention they want and more, but not guys unless they're captain of the football team or something. Things started to turn around for me once I hit 30, and especially 35 to 45 were great years. Living in Moscow from 52 to 55 was the best time I've ever had.
>
I am 35 now. Not really young anymore either...
At my age, I mostly just get looked down on and judged, sort of idea is
that anyone who was actually worth anything would have become
financially successful already, vs just siting around at home
(occasionally applying to jobs but pretty much universally not getting
any response).
Local area is also part of what is called the "Bible Belt", so some
amount of people who are anti-alcohol and very fussy about "King James
Only" and similar. Have determined that I can't really interact
meaningfully with them. I am non-denominational and my views are
generally a bit more lax. My views are also more that individuals are
responsible for their own morality, or lack thereof, rather than it
being good or right to cast shame and judgement on those who don't live
up to ones own standards.
Similarly, can't really get along with people who are overly
liberal/"progressive" either, as their ideology tends to run counter to
my own, and they seem to actively despise anyone who doesn't buy into
their particularly ideology (eg, "doesn't buy into their
ideology"="fascist" and similar).
But, no, I am not exactly a huge fan of DJT either, I am more in the
stance of "well, maybe he was the lesser of two evils", a lot of them
saw HRC as an almost messiah-like figure, and anyone who didn't vote for
HRC as an enemy. My dad was a pretty big supporter of DJT though, and he
would have been pretty upset had I voted otherwise. Will not exactly
mourn DJT leaving office though.
I suspect though that both fundamentalists and liberals seemingly live
in a reality which is somehow pretty different from the one in which I live.
Decided to leave out going into the whole topic of morals/ethics based
on systems of rules and good/bad via accumulation (both fundamentalists
and progressives often seem inclined towards this; differing more in
their particular systems of rules, than in terms of whether or not they
try to follow them and/or impose them on others). Both groups also tend
to have a bit of an "us versus them" thing going on, ...
Contrast is "just trying to do whatever brings the most net benefit for
the parties involved" or similar.
This is a hairy issue, and often a point of conflict.
The end results aren't terribly dramatic though.
Similarly, maximizing net cost/benefit generally still seems to lean in
a relatively conservative direction. (Subject to possible debate over
specifics).
And, as noted, there is also the whole job/money/house/car thing.
...
It was bad enough that I mostly gave up talking to anyone...
The few times I tried talking to anyone IRL in the past few years,
things didn't go well.