mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 09:01:25 +00:00
1.2 KiB
1.2 KiB
libkernel
change sysconf
- sysconf (libkernel) -
_SC_NPROCESSORS_CONF,_SC_NPROCESSORS_ONLNand_SC_PHYS_PAGESreport the host's processor count and memory in 16 KiB pages, where a fat PS5 payload process (12.70) read 16, 16 and 139888 and a PS5 Pro one (13.60) 170220 - the page count follows the model's guest memory; every other value here reproduced on 13.60._SC_CHILD_MAX,_SC_OPEN_MAXand_SC_STREAM_MAXfollow the guestRLIMIT_NPROCandRLIMIT_NOFILE; (payload, 11.60): 1604, 256 after loweringRLIMIT_NPROC, 1443 when set back; heresetrlimitstoresRLIMIT_NPROCclamped to 1443;_SC_OPEN_MAXand_SC_STREAM_MAXfollowed theRLIMIT_NOFILEsoft limit there (13952, 64 and 12555); the 32767 bound on_SC_STREAM_MAXwas not tried above 13952._SC_CLK_TCKreturns the 128 that process read, though notimesrate matches; CPython in PS5MC (PPSA99420) needs >= 1._SC_CPUSET_SIZE(122) returns 8 on both, which report 16 processors: it does not follow the count. A failedgetrlimitor host count 0 gives -1EIO, unseen on console. What a title process gets was not measured