A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1608 ====================================================================== Reported By: dannyniu Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1608 Category: Base Definitions and Headers Type: Enhancement Request Severity: Comment Priority: normal Status: New Name: DannyNiu/NJF Organization: Individual User Reference: Section: sysconf Page Number: -- Line Number: -- Final Accepted Text: ====================================================================== Date Submitted: 2022-10-14 11:27 UTC Last Modified: 2022-10-20 15:58 UTC ====================================================================== Summary: Suggesting informative texts for bug-id339 ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0000339 Add _SC_NPROCESSORS_CONF / _SC_NPROCESS... ======================================================================
---------------------------------------------------------------------- (0006008) geoffclare (manager) - 2022-10-20 15:58 https://austingroupbugs.net/view.php?id=1608#c6008 ---------------------------------------------------------------------- After D2.1 page 2061 line 66817 section sysconf(), add:<blockquote>Although the queries _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN provide a way for a class of "heavy-load" application to estimate the optimal number of threads that can be created to maximize throughput, real-world environments have complications that affect the actual efficiency that can be achieved. For example:<ul> <li>There may be more than one "heavy-load" application running on the system.</li> <li>The system may be on battery power, and applications should co-ordinate with the system to ensure that a long-running task can pause, resume, and successfully complete even in the event of a power outage.</li> </ul> In case a portable "heavy-load" application wants to avoid the use of extensions, its developers may wish to create threads based on the logical partition of the long-running task, or utilize heuristics such as the ratio between CPU time and real time.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2022-10-14 11:27 dannyniu New Issue 2022-10-14 11:27 dannyniu Name => DannyNiu/NJF 2022-10-14 11:27 dannyniu Organization => Individual 2022-10-14 11:27 dannyniu Section => sysconf 2022-10-14 11:27 dannyniu Page Number => -- 2022-10-14 11:27 dannyniu Line Number => -- 2022-10-20 15:42 geoffclare Relationship added related to 0000339 2022-10-20 15:58 geoffclare Note Added: 0006008 ======================================================================