[Webkit-unassigned] [Bug 273675] New: Need to change the method for determining the number of CPUs on Linux
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri May 3 01:03:55 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=273675
Bug ID: 273675
Summary: Need to change the method for determining the number
of CPUs on Linux
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: haiweiwang1109 at 163.com
Determine the number of CPUs on Linux by directly interpreting /proc/cpuinfo, as using the nproc tool may yield incorrect results (`determineNumberOfCPUs` in Tools/Scripts/webkitdirs.pm). Incorrect results (usually bigger than the true number) can lead to OOM issue.
In my ubuntu virtual machine:
```
$ nproc
6
$ nproc --all
128
```
And there are similar discussions on the Arch Linux forum as well.
-[nproc indicating higher number of cpu cores than CPU has](https://bbs.archlinux.org/viewtopic.php?id=278874)
```
$ nproc
24
$ nproc --all
128
```
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240503/40c56a93/attachment.htm>
More information about the webkit-unassigned
mailing list