OSDN Git Service

(split) LDP: Translate several number of pages
[linuxjm/LDP_man-pages.git] / draft / man2 / sched_rr_get_interval.2
index 4f594f2..a384681 100644 (file)
@@ -88,15 +88,11 @@ POSIX システムで \fBsched_rr_get_interval\fP() は \fI<unistd.h>\fP に
 \fB_POSIX_PRIORITY_SCHEDULING\fP が定義されている場合にのみ使用可能である。
 .SS "Linux での注意"
 .\" commit a4ec24b48ddef1e93f7578be53270f0b95ad666c
-POSIX does not specify any mechanism for controlling the size of the
-round\-robin time quantum.  Older Linux kernels provide a (nonportable)
-method of doing this.  The quantum can be controlled by adjusting the
-process's nice value (see \fBsetpriority\fP(2)).  Assigning a negative (i.e.,
-high) nice value results in a longer quantum; assigning a positive (i.e.,
-low) nice value results in a shorter quantum.  The default quantum is 0.1
-seconds; the degree to which changing the nice value affects the quantum has
-varied somewhat across kernel versions.  This method of adjusting the
-quantum was removed starting with Linux 2.6.24.
+POSIX ではラウンドロビン時間量の大きさを制御する仕組みが規定されていない。 古い Linux カーネルではこれを変更する方法が提供されている
+(この方法に移植性はない)。 プロセスの nice 値を調整することで時間量を制御できる (\fBsetpriority\fP(2) 参照)。 負の nice
+値 (すなわち、高い nice 値) を割り当てると時間量は長くなり、 正の nice 値 (すなわち、低い nice 値)
+を割り当てると時間量は短くなる。 デフォルトの時間量は 0.1 秒である。 nice 値の変更が時間量にどの程度影響を与えるかは
+カーネルのバージョンにより多少異なる。時間量を調整するこのメソッドは Linux 2.6.24 以降で削除された。
 
 .\" commit ce0dbbbb30aee6a835511d5be446462388ba9eee
 .\" .SH BUGS
@@ -105,10 +101,9 @@ quantum was removed starting with Linux 2.6.24.
 .\" returns with error
 .\" ENOSYS, because SCHED_RR has not yet been fully implemented and tested
 .\" properly.
-Linux 3.9 added a new mechanism for adjusting (and viewing) the \fBSCHED_RR\fP
-quantum: the \fI/proc/sys/kernel/sched_rr_timeslice_ms\fP file exposes the
-quantum as a millisecond value, whose default is 100.  Writing 0 to this
-file resets the quantum to the default value.
+Linux 3.9 で、 \fBSCHED_RR\fP の時間量の調整 (と参照) を行う新しい機構が追加された。
+\fI/proc/sys/kernel/sched_rr_timeslice_ms\fP ファイルでミリ秒単位の時間量の値が参照でき、 デフォルト値は 100
+である。 このファイルに 0 を書き込むと、 時間量をデフォルト値に戻すことができる。
 .SH 関連項目
 \fBsched_setscheduler\fP(2) に Linux のスケジューリング方式についての説明
 がある。