From: Sergey <a_s_y@sama.ru> To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Вопросы по VZ Date: Sat, 20 Nov 2010 20:35:34 +0300 Message-ID: <201011202035.34554.a_s_y@sama.ru> (raw) In-Reply-To: <AANLkTimTZ=OqQQ-mQOHnTfb5vPL6rKDFTpAEAnoXSLpk@mail.gmail.com> On Saturday 20 November 2010, Yuri Khachaturyan wrote: > > > Каким образом оно считается? Грубо говоря, как мне ограничить память > > > конкретной VE до 256MB? Никак не могу найти по какой формуле все это > > > считается... > > > > PRIVVMPAGES="65536:81920" > Спасибо за конкретный пример, но мне интересно как это посчитать самому... Наверное как-то так: 262144 / 65536 = 4 Стало быть 1 VMPAGE = 4M. :-) -- С уважением, Сергей a_s_y@sama.ru
next prev parent reply other threads:[~2010-11-20 17:35 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-20 14:14 ` Денис Смирнов 2010-11-21 7:14 ` Alexey Shabalin 2010-11-21 7:52 ` Yuri Khachaturyan 2010-11-20 14:16 ` Sergey 2010-11-20 16:35 ` Sergey 2010-11-20 17:35 ` Sergey [this message] 2010-11-21 9:54 ` Sergey 2010-11-21 12:28 ` Alexey Shabalin 2010-11-21 13:17 ` Anton Chernyshov 2010-11-21 14:40 ` Alexey I. Froloff 2010-11-25 11:20 ` Alexey Shabalin 2010-11-25 11:51 ` Sergey 2010-11-21 15:58 ` Mikhail A. Pokidko 2010-11-24 11:24 ` Mikhail A. Pokidko 2010-11-24 11:30 ` Vladimir V. Kamarzin
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=201011202035.34554.a_s_y@sama.ru \ --to=a_s_y@sama.ru \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git