|
发表于 2023-12-25 11:16:50
|
显示全部楼层
关于 ulimit/unlimit, 可以试试这个方法:
1) vi /etc/security/limits.conf (请管理员修改)
增加:
* hard rss XXX (kB)
2) 然后,请管理员重启。
3) 看看 PID for spectre sim.
cat /proc/PID/limits
可以看到 Max resident set 改成了目标值。
Resident set size (RSS) means, roughly, the total amount of physical memory assigned to a process at a given point in time. It does not count pages that have been swapped out, or that are mapped from a file but not currently loaded into physical memory.
|
|