From patchwork Wed Oct 19 14:48:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meng Xu X-Patchwork-Id: 9384211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 38DC060487 for ; Wed, 19 Oct 2016 14:51:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A73128AE5 for ; Wed, 19 Oct 2016 14:51:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EA2228B1F; Wed, 19 Oct 2016 14:51:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9192328AE5 for ; Wed, 19 Oct 2016 14:51:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwsB4-0006ym-Vf; Wed, 19 Oct 2016 14:49:10 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwsB4-0006yg-43 for xen-devel@lists.xenproject.org; Wed, 19 Oct 2016 14:49:10 +0000 Received: from [85.158.143.35] by server-4.bemta-6.messagelabs.com id 93/B0-08293-5E787085; Wed, 19 Oct 2016 14:49:09 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRWlGSWpSXmKPExsUyr8m9SvdJO3u EwYKthhbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8bJozeYCp7yVaw/e5etgXE2TxcjF4eQQCOT xMzueexdjJwcbAIqEsc3PGIFsUUElCTurZrMBFLELDCPSWLl/99MIAlhAWuJlxt2ghWxCKhKz PvwlLmLkYODV8BZ4uocO5CwhICcxMljk1kh7FCJNYvPM8HEHz98wDiBkWsBI8MqRo3i1KKy1C JdI0u9pKLM9IyS3MTMHF1DAzO93NTi4sT01JzEpGK95PzcTYxAPzIAwQ7GA4sCDzFKcjApifL 6RLFHCPEl5adUZiQWZ8QXleakFh9ilOHgUJLgFQGGhZBgUWp6akVaZg4woGDSEhw8SiK8jiBp 3uKCxNzizHSI1ClGRSlx3p1tQAkBkERGaR5cGyyILzHKSgnzMgIdIsRTkFqUm1mCKv+KUZyDU UmY9xXIFJ7MvBK46a+AFjMBLT6XxwKyuCQRISXVwJi77b/IxweW+2zSpnIJrfCcotDK9KB8Tk HVUsZ84a9viltUdtvukdzz+nd0b1nmtuNfvkyKef/k2ZeYG/IsT+vaj/Y9V/pr5nOjfanyhsq t7o+/xzxnMnmf8+f/xR+iIjcj/tbeWlO2MMJhabKvxbL40P0f1+y5XDorx+Kw/1dns6jdNRoW 6wOUWIozEg21mIuKEwFl8HemXQIAAA== X-Env-Sender: mengxu@cis.upenn.edu X-Msg-Ref: server-13.tower-21.messagelabs.com!1476888548!38963572!1 X-Originating-IP: [158.130.71.122] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.0.13; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30411 invoked from network); 19 Oct 2016 14:49:08 -0000 Received: from coyote.seas.upenn.edu (HELO hound.seas.upenn.edu) (158.130.71.122) by server-13.tower-21.messagelabs.com with SMTP; 19 Oct 2016 14:49:08 -0000 Received: from panda-catbroadwell.cis.upenn.edu ([158.130.48.19]) (authenticated bits=0) by hound.seas.upenn.edu (8.14.9/8.14.5) with ESMTP id u9JEmtRM046138 (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NOT); Wed, 19 Oct 2016 10:48:55 -0400 From: Meng Xu To: xen-devel@lists.xenproject.org Date: Wed, 19 Oct 2016 10:48:39 -0400 Message-Id: <1476888519-3874-1-git-send-email-mengxu@cis.upenn.edu> X-Mailer: git-send-email 1.9.1 X-Proofpoint-Virus-Version: vendor=nai engine=5600 definitions=5800 signatures=585085 X-Proofpoint-Spam-Reason: safe Cc: Lars Kurth , Chong Li , Wei Liu , George Dunlap , Dario Faggioli , Meng Xu , Meng Xu Subject: [Xen-devel] [PATCH] docs:RTDS: Correct mistakes in feature doc X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Correct the mistakes in the example command Correct a simple typo. Signed-off-by: Meng Xu Acked-by: Dario Faggioli --- Cc: Meng Xu Cc: Dario Faggioli Cc: Wei Liu Cc: Lars Kurth Cc: George Dunlap Cc: Chong Li --- docs/features/sched_rtds.pandoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/features/sched_rtds.pandoc b/docs/features/sched_rtds.pandoc index 2843d97..354097b 100644 --- a/docs/features/sched_rtds.pandoc +++ b/docs/features/sched_rtds.pandoc @@ -15,7 +15,7 @@ RTDS is one of the virtual CPU (vCPU) scheduler available in the Xen hypervisor. -RTDS is a real--time scheduler, so its purpose is enabling +RTDS is a real-time scheduler, so its purpose is enabling **deterministic** scheduling of the virtual machine's vCPUs. It has been originally developed in the context of the RT-Xen project. @@ -35,8 +35,8 @@ in `docs/man/xlcpupool.cfg.pod.5` (and as exemplified in For checking or changing a VM's scheduling parameters from xl, do as follows: - * `xl sched-rtds -d vm-rt` - * `xl sched-rtds -d vm-rt -t 10000 -b 25000` + * `xl sched-rtds -d vm-rt -v all` + * `xl sched-rtds -d vm-rt -v all -p 10000 -b 2500` It is possible, for a multiple vCPUs VM, to change the parameters of each vCPU individually: @@ -88,7 +88,7 @@ at a macroscopic level), the following should be done: * create a VM with 1 vCPU and put it in the RTDS cpupool, * set the scheduling parameters such as it has a 50% reservation, with - `xl sched-rtds -d vm -t 100000 -b 50000`, + `xl sched-rtds -d vm -v all -p 100000 -b 50000`, * run a CPU-burning process inside the VM (e.g., `yes`), * check with `xentop` (in Domain0) that the VM is getting no more than 50% pCPU time.