사용자 도구

사이트 도구


linux:performance

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
linux:performance [2023/04/29 14:02]
kwon37xi [swappiness]
linux:performance [2023/04/29 14:08] (현재)
kwon37xi [vm.max_map_count]
줄 32: 줄 32:
 ===== vm.max_map_count ===== ===== vm.max_map_count =====
   * 리눅스에서 [[linux:wine|Linux Wine]] 혹은 [[linux:steam|Steam]] 게임 혹은 [[search:elasticsearch|Elastic Search]] 서버 설정을 위해 필요할 수 있음.   * 리눅스에서 [[linux:wine|Linux Wine]] 혹은 [[linux:steam|Steam]] 게임 혹은 [[search:elasticsearch|Elastic Search]] 서버 설정을 위해 필요할 수 있음.
-  * 게임용도로는 ''vm.max_map_count=2147483642'' +  * 게임용도로는 ''vm.max_map_count=2147483642'' (''MAX_INT - 5'') 
-  * [[search:elasticsearch|Elastic Search]]는 최소 ''vm.max_map_count=262144'' 가 필요함. [[https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html|vm.max_map_count=262144]] +  * [[search:elasticsearch|Elastic Search]]는 최소 ''vm.max_map_count=262144'' 가 필요함. [[https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html|Virtual memory | Elasticsearch Guide | Elastic]] 
 +<code sh> 
 +sudo sysctl -w vm.max_map_count=2147483642 
 +</code> 
 +  * ''/etc/sysctl.d/99-vm-max-map-count.conf'' 파일을 만들어서 내용을 추가하면 부팅시 자동적용 
 +<code> 
 +vm.max_map_count=2147483642 
 +</code> 
 +  * [[https://www.youtube.com/watch?v=PsHRbfZhgXM&ab_channel=BrodieRobertson|Fedora 39 Changes 1 Line Saving Hours Of Pain - YouTube]] : Fedora 39 에서 기본값으로 ''2147483642'' 적용될 수 있음.
 ===== nproc(Max User Processes) ===== ===== nproc(Max User Processes) =====
   * ''ulimit -u'' 명령으로 값을 볼 수 있다.   * ''ulimit -u'' 명령으로 값을 볼 수 있다.
linux/performance.1682744577.txt.gz · 마지막으로 수정됨: 2023/04/29 14:02 저자 kwon37xi