ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Целесообразность CONFIG_HZ_250 на x86_64
Date: Thu, 27 Nov 2014 11:40:26 +0300
Message-ID: <5476E37A.5090007@altlinux.com> (raw)
In-Reply-To: <1365838779.46273.1416510604872.JavaMail.zimbra@taf.ru>

On 20.11.2014 22:10, alexei-W/DNgjy8krs@public.gmane.org wrote:
> Добрый день!
>
> Ранее здесь уже было обсуждение обоснованности CONFIG_HZ_250 в параметрах
> ядра. Тогда такие настройки аргументировались тем, что на старом железе при иных знчениях
> получается чувствительная регрессия производительности. Но прошло семь лет, и не настала ли
> пора подумать о небольшом тюнинге ядра? Хотя бы для архитектуры x86_64, ибо если железо работает
> в 64-битном режиме, то CONFIG_HZ_1000 ей сам Линус прописал.
>
> При попытке прожевать >1G трафика шейпером и iptables поимел фееричные фризы системы и дропы
> пакетов. Аналогичные проблемы (правда, без развития регрессии производительности) проявляются
> и на BRAS'ах (на них тоже подходим к уровню ~1G на сетевой порт). Во всех рекомендациях прямо
> пишут "CONFIG_HZ должен быть не менее 1000". Пришлось локально пересобирать std-def с двумя
> измененными параметрами (по некоторым причинам использовать ws-ядра не представляется возможным)

По поводу шейпера это очень странно - у меня есть конфигурация с 
шейпером на 2300 хостов и потоком в 1300 мегабит, всё пережёвывается без 
проблем с загрузкой CPU около 0.7% в пиках - обычный Xeon E5606





  parent reply	other threads:[~2014-11-27  8:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 19:10 alexei
2014-11-27  1:41 ` Michael Shigorin
2014-11-27  8:40 ` Anton Farygin [this message]
2014-11-27 12:20 ` Anton V. Boyarshinov
2014-11-27 12:39   ` Anton Gorlov
2014-11-28 14:40     ` Anton V. Boyarshinov
2014-11-28 23:58     ` Anton Gorlov
2014-11-29  1:45       ` alexei
2014-11-29  8:21         ` Anton Gorlov
2014-11-29 11:06           ` Sergey Y. Afonin
2014-11-29 14:57             ` Anton Gorlov

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=5476E37A.5090007@altlinux.com \
    --to=rider@altlinux.com \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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