News for hackers. Stuff that matters.
Re:AMD Discloses Initial Zen 2 Details by mehrdadn on Sunday November 18, 2018 @05:17PM (#18482794)
Yes but that means every group is 64 CPUs. Notice you can set affinity for any group (16-bit index).
Re:AMD Discloses Initial Zen 2 Details by psyq321 on Sunday November 18, 2018 @06:24PM (#18483063)
Yes, starting from Windows 7 / Server 2008 R2 it is possible to support more than 64 CPUs within a single process by using new Win32 APIs supporting processor groups. You'd need to manually set the affinities for the threads, but after that you are all set.

Unfortunately, unaware (legacy) software is still limited to 64 processors.

Re:AMD Discloses Initial Zen 2 Details by monocasa on Sunday November 18, 2018 @07:24PM (#18483313)
But AFAIK, if I have 128 logical cores, I can't say "schedule this thread on any of the 128 cores because you as the scheduler should know better than me". You have to manually manage the two thread groups each of 64 cores because new threads are round robin assigned to the two groups on thread creation and aren't migrated as circumstances change.
Re:AMD Discloses Initial Zen 2 Details by mehrdadn on Sunday November 18, 2018 @07:37PM (#18483373)
Huh, I don't really know much about this to be honest, but are you sure that's not a consequence of prefering not to migrate threads across NUMA nodes rather than across thread groups? Are you aware if there's any documentation on the behavior you're mentioning?
Re:AMD Discloses Initial Zen 2 Details by monocasa on Sunday November 18, 2018 @08:02PM (#18483484)
Re:AMD Discloses Initial Zen 2 Details by mehrdadn on Sunday November 18, 2018 @08:13PM (#18483527)
Oof, I hadn't read the whole page. Interesting, thanks!