[Bug 268011] sysutils/parallel: Wrong --number-of-cores

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Nov 2022 12:10:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268011

            Bug ID: 268011
           Summary: sysutils/parallel: Wrong --number-of-cores
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: jwb@freebsd.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Running on a Dell PowerEdge R420 with 16 cores, 32 hyperthreads:

FreeBSD unixdev1.ceas  bacon ~ 1012: parallel --number-of-threads
32

FreeBSD unixdev1.ceas  bacon ~ 1013: parallel --number-of-cores
2

FreeBSD unixdev1.ceas  bacon ~ 1014: sysctl hw.ncpu
hw.ncpu: 32

--number-of-cores should be reporting 16.  I poked around the source code a
little, but I'm not much of a Perl guru.

-- 
You are receiving this mail because:
You are the assignee for the bug.