機械翻訳について

11 powertop2tunedを使用したTuneDプロファイルの作成

powertop2tunedを使用して、PowerTOP推奨を追加した現在のアクティブなTuneDプロファイルを含むTuneDプロファイルを作成します。

次のステップを実行します。

  1. powertop2tunedコマンドを、作成するプロファイルの名前で実行します。 たとえば、mypowertuneprofileというプロファイルを作成するには、次のコマンドを実行します:
    sudo powertop2tuned mypowertuneprofile

    このコマンドは、次のサンプル出力に示すように、PowerTOPを起動して推奨事項を生成するときにメッセージを出力します:

    Running PowerTOP, please wait...
    Generating shell script /etc/tuned/mypowertuneprofile/script.sh
    Generating TuneD config file /etc/tuned/mypowertuneprofile/tuned.conf
    ...
  2. 前のステップで生成された/etc/tuned/mypowertuneprofile/tuned.confファイルを開いてカスタマイズします。

    次のファイル抽出の例に示すように、デフォルトでは、PowerTOP推奨は最初にコメント・アウトされます。 システム要件に従ってエントリのコメントを解除します。

    #Automatically generated by powertop2tuned tool
    
    [main]
    include=virtual-guest
    
    
    # Enable SATA link power management for host2 
    #/sys/class/scsi_host/host2/link_power_management_policy=med_power_with_dipm
    
    # Enable SATA link power management for host3 
    #/sys/class/scsi_host/host3/link_power_management_policy=med_power_with_dipm
    
    # Enable SATA link power management for host4 
    #/sys/class/scsi_host/host4/link_power_management_policy=med_power_with_dipm
    
    ...
    
    # Wake status for USB device usb1 
    #/sys/bus/usb/devices/usb1/power/wakeup=enabled
    
    # Wake status for USB device usb2 
    #/sys/bus/usb/devices/usb2/power/wakeup=enabled
    
    [sysctl]
    # VM writeback timeout 
    #vm.dirty_writeback_centisecs=1500
    ...

PowerTOP推奨および現在のアクティブなTuneDプロファイル設定を含むプロファイルが作成されます。

powertop2tunedを使用して、既存のHTML PowerTOPレポートを使用してTuneDプロファイルを作成することもできます。 たとえば、myreport.htmlというファイルのPowerTOPレポートを使用して、mypowertuneprofileというプロファイルを作成するには、次のコマンドを実行します:

sudo powertop2tuned --input myreport.html mypowertuneprofile