1.9. cpu-partitioning TuneD 프로파일 사용자 정의

TuneD 프로필을 확장하여 추가 튜닝을 변경할 수 있습니다.

예를 들어 cpu-partitioning 프로필은 CPU가 cstate=1 을 사용하도록 설정합니다. cpu-partitioning 프로필을 사용하지만 CPU cstate를 cstate1에서 cstate0으로 추가로 변경하려면 다음 절차에서는 cpu-partitioning 프로필을 상속하고 C state-0을 설정하는 my_profile 이라는 새 TuneD 프로필을 설명합니다.

절차

  1. /etc/tuned/my_profile 디렉토리를 만듭니다.

    # mkdir /etc/tuned/my_profile
  2. 이 디렉터리에 tuned.conf 파일을 생성하고 다음 콘텐츠를 추가합니다.

    # vi /etc/tuned/my_profile/tuned.conf
    [main]
    summary=Customized tuning on top of cpu-partitioning
    include=cpu-partitioning
    [cpu]
    force_latency=cstate.id:0|1
  3. 새 프로필을 사용합니다.

    # tuned-adm profile my_profile
참고

공유 예에서는 재부팅이 필요하지 않습니다. 그러나 my_profile 프로필의 변경 사항을 적용하려면 재부팅을 수행한 다음 시스템을 재부팅합니다.

추가 리소스

  • tuned-profiles-cpu-partitioning(7) man page