문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:performance [2019/03/07 14:50] kwon37xi |
linux:performance [2023/04/29 14:03] kwon37xi [vm.max_map_count] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Linux Performance ====== | ====== Linux Performance ====== | ||
+ | * [[linux: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
줄 28: | 줄 29: | ||
AWS 인스턴스의 경우 명시적으로 지정하지 않으면 아예 swap 공간을 만들지 않으므로 swappiness가 의미가 없는 듯. | AWS 인스턴스의 경우 명시적으로 지정하지 않으면 아예 swap 공간을 만들지 않으므로 swappiness가 의미가 없는 듯. | ||
+ | |||
+ | ===== vm.max_map_count ===== | ||
+ | * 리눅스에서 [[linux: | ||
+ | * 게임용도로는 '' | ||
+ | * [[search: | ||
+ | |||
===== nproc(Max User Processes) ===== | ===== nproc(Max User Processes) ===== | ||
* '' | * '' | ||
줄 43: | 줄 50: | ||
===== limits.conf ===== | ===== limits.conf ===== | ||
+ | * [[https:// | ||
+ | * ''/ | ||
+ | * '' | ||
+ | * 계정명은 '' | ||
< | < | ||
계정명 | 계정명 | ||
줄 62: | 줄 73: | ||
</ | </ | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ===== systemd 사용시의 limits 설정 ===== | ||
+ | * [[linux: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | |||
+ | < | ||
+ | [Manager] | ||
+ | DefaultLimitNOFILE=50000 | ||
+ | DefaultLimitNPROC=10000 | ||
+ | </ | ||
+ | <code sh> | ||
+ | $ ulimit -n -u | ||
+ | open files (-n) 50000 | ||
+ | max user processes | ||
+ | </ | ||
===== Outbound Socket Connection ===== | ===== Outbound Socket Connection ===== | ||
* [[http:// | * [[http:// | ||
줄 82: | 줄 111: | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// |