ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Mikhail A. Pokidko" <mikhail.pokidko@gmail.com>
To: "ALT Linux Team development discussions" <devel@lists.altlinux.org>
Subject: Re: [devel] build process in VPS
Date: Wed, 3 Dec 2008 14:49:16 +0300
Message-ID: <21bd5bb90812030349u25e7afa3w7eff86df7fd40d09@mail.gmail.com> (raw)
In-Reply-To: <20081203114232.GE9564@osdn.org.ua>

2008/12/3 Michael Shigorin <mike@>:
> On Tue, Dec 02, 2008 at 12:38:46PM +0500, Vladimir V. Kamarzin wrote:
>> > Может кто подсказать правильную конфигурацию контейнера,
>> > а также как туда рекомендуется tmpfs пробросить?
>> Побольше ресурсов дать контейнеру, а приоритеты поставить
>> поменьше (cpuunits, ioprio).
>
> Для ориентировки: в старом офисе терминальный сервер уживается
> на одной железке с hasher32, hasher64 и 4Gb.
>
> Отношение параметров примерно такое:
> CPUUNITS: 20000/1000
> IOPRIO: 5/3
3 у сборочниц?

>> tmpfs делается так же как везде, прописыванием в fstab.
>
> Отнюдь -- для ovz ещё надо shmpages соответственно задрать.

У нас на свежих хост-машинах и в контейнерах делается
mem=$(grep -i memtotal /proc/meminfo|awk {'print $2'});
shm=$(($mem*1024*8/10)); \
echo "kernel.shmall=$shm" >> /etc/sysctl.conf; \
echo "kernel.shmmax=$shm" >> /etc/sysctl.conf; \
sysctl kernel.shmall=$shm; \
sysctl kernel.shmmax=$shm





-- 
xmpp: pma AT altlinux DOT org

  reply	other threads:[~2008-12-03 11:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-30 15:57 Alexander Volkov
2008-11-30 16:10 ` Mikhail Gusarov
2008-12-01  7:00   ` Alexander Volkov
2008-12-01  7:19     ` Alexander Volkov
2008-12-01  8:57     ` Mikhail Gusarov
2008-12-01  9:51       ` Alexander Volkov
2008-12-01  9:55         ` Mikhail Gusarov
2008-12-01 11:12           ` Alexander Volkov
2008-12-01 11:20             ` Mikhail Gusarov
2008-12-01 11:39               ` Alexander Volkov
2008-12-02  3:59     ` Vitaly Lipatov
2008-11-30 21:32 ` Michael Shigorin
2008-12-01  7:01   ` Alexander Volkov
2008-12-01 11:05     ` [devel] nginx as reverse proxy Gennady Kovalev
2008-12-01 11:13       ` Alexander Volkov
2008-12-01 11:17         ` Mykola S. Grechukh
2008-12-01 11:19           ` Alexander Volkov
2008-12-02  4:00 ` [devel] build process in VPS Vitaly Lipatov
2008-12-02  7:38 ` Vladimir V. Kamarzin
2008-12-02 13:17   ` Alexander Volkov
2008-12-02 13:40     ` Vladimir V. Kamarzin
2008-12-02 14:08       ` Mikhail A. Pokidko
2008-12-02 14:59         ` Vladimir V. Kamarzin
2008-12-03 11:42   ` Michael Shigorin
2008-12-03 11:49     ` Mikhail A. Pokidko [this message]
2008-12-03 11:53       ` Michael Shigorin

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=21bd5bb90812030349u25e7afa3w7eff86df7fd40d09@mail.gmail.com \
    --to=mikhail.pokidko@gmail.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