[PATCH 0/1] MR8135: winnt: fix maximum support logical cores
2 issues is closed: - it also fixes spam in logs that maximum value 64 has been exceeded, and (AMD Threadreapers and modern 32 core cpu) have become more accessible - most software does not use all logical cores by default, and many server boards cannot fully run software -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8135
From: Herman Semenov <germanaizek(a)yandex.ru> 2 issues is closed - it also fixes spam in logs that maximum value 64 has been exceeded, and (AMD Threadreapers and modern 32 core cpu) have become more accessible - most software does not use all logical cores by default, and many server boards cannot fully run software --- include/winnt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/winnt.h b/include/winnt.h index e776312f922..5a5afa3d5ef 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -734,9 +734,9 @@ typedef DWORD FLONG; #define PROCESSOR_OPTIL 18767 #ifdef _WIN64 -#define MAXIMUM_PROCESSORS 64 +#define MAXIMUM_PROCESSORS 512 #else -#define MAXIMUM_PROCESSORS 32 +#define MAXIMUM_PROCESSORS 256 #endif typedef struct _MEMORY_BASIC_INFORMATION -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8135
Nikolay Sivov (@nsivov) commented about include/winnt.h:
#define PROCESSOR_OPTIL 18767
#ifdef _WIN64 -#define MAXIMUM_PROCESSORS 64 +#define MAXIMUM_PROCESSORS 512 #else -#define MAXIMUM_PROCESSORS 32 +#define MAXIMUM_PROCESSORS 256 #endif It's not something you can change, it's a public header.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8135#note_104436
You can't do that. You would need to implement processor groups. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8135#note_104639
This merge request was closed by Alexandre Julliard. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8135
participants (4)
-
Alexandre Julliard (@julliard) -
Herman Semenov -
Herman Semenov (@GermanAizek) -
Nikolay Sivov (@nsivov)