ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] JACK, /proc/sys/kernel/sched_rt_runtime_us, CONFIG_RT_GROUP_SCHED
Date: Fri, 8 May 2020 20:53:00 +0300
Message-ID: <20200508175300.GL30504@imap.altlinux.org> (raw)
In-Reply-To: <CAN=cCgo-Vo7KFfw6QLVT-Apqo5wWPoXUDBwmSLEGr=2-EFjVVg@mail.gmail.com>

On Fri, May 08, 2020 at 06:00:29PM +0300, Yuriy Al. Shirokov wrote:
> Это лечится командой
> sudo sysctl -w kernel.sched_rt_runtime_us=-1
> но вряд ли это штатный способ заставить jackd работать.

Насколько понимаю, это попросту отключает RT:

---
/proc/sys/kernel/sched_rt_runtime_us:
  A global limit on how much time realtime scheduling may use.  Even without
  CONFIG_RT_GROUP_SCHED enabled, this will limit time reserved to realtime
  processes. With CONFIG_RT_GROUP_SCHED it signifies the total bandwidth
  available to all realtime groups.

  * Time is specified in us because the interface is s32. This gives an
    operating range from 1us to about 35 minutes.
  * sched_rt_period_us takes values from 1 to INT_MAX.
  * sched_rt_runtime_us takes values from -1 to (INT_MAX - 1).
  * A run time of -1 specifies runtime == period, ie. no limit.
--- http://www.kernel.org/doc/Documentation/scheduler/sched-rt-group.txt

Я бы почитал документацию jack -- насколько помню,
конфигурирование RT всегда было делом барским (root).

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  reply	other threads:[~2020-05-08 17:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-08 15:00 Yuriy Al. Shirokov
2020-05-08 17:53 ` Michael Shigorin [this message]
2020-05-08 18:35   ` Yuriy Al. Shirokov
2020-05-09 19:46     ` Yuriy Al. Shirokov
2020-05-09 20:01       ` Michael Shigorin
2020-05-09 20:12         ` Alexey Shabalin
2020-05-09 21:55           ` Yuriy Al. Shirokov
2020-05-09 21:36         ` Yuriy Al. Shirokov
2020-05-11  8:46           ` Anton V. Boyarshinov
2020-05-11  8:39 ` Anton V. Boyarshinov
2020-05-12 16:03 ` Anton V. Boyarshinov
2020-05-21 22:38   ` [Comm] config ядра для работы docker (Was:JACK, /proc/sys/kernel/sched_rt_runtime_us, CONFIG_RT_GROUP_SCHED) Alexey Shabalin
2020-05-21 22:41     ` Alexey Shabalin
2020-05-22  8:31       ` Anton V. Boyarshinov
2020-05-22  8:30     ` Anton V. Boyarshinov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200508175300.GL30504@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git