From: Michael Shigorin <mike@osdn.org.ua> To: debian-russian@lists.debian.org Cc: community@altlinux.ru Subject: [Comm] Re: swap & software RAID5 Date: Fri, 10 Dec 2004 11:54:00 +0200 Message-ID: <20041210095400.GT17193@osdn.org.ua> (raw) In-Reply-To: <Pine.SGI.4.10.10412100811150.2190558-100000@Sky.inp.nsk.su> On Fri, Dec 10, 2004 at 08:41:41AM +0600, Dmitry A. Fedorov wrote: > > > /dev/hda3 swap swap defaults,pri=100 0 0 > > > /dev/hdc1 swap swap defaults,pri=50 0 0 > > > /dev/hde1 swap swap defaults,pri=0 0 0 > > > /dev/hdg1 swap swap defaults,pri=0 0 0 > > Это prority, которе рассказывает ядру, когда начинать > > использовать swap. А сверху было (насколько я понял) про > > балансировку записи на raid массив. > То есть, выприведенный пример балансировать нагрузку > действиетельно не будет, поскольку области с наивысшим > приоритетом разные. Нет, так задумано -- hdc, hde и hdg имеют довольно заметный sustained transfer, а hda -- системный и относительно разгружен. При ~400M свопа он живёт в 512M на hda, а 128M кусочки на разных дисках являются скорее страховкой от уж совсем тыла зебры. И вот только тогда нагрузка бы действительно балансировалась. Задумался, вспоминая, отчего hdc выше "собратьев" (40+3*120) -- всё правильно, там ещё есть зеркальный кусочек и свопить рядом с ним хотелось в последнюю очередь. > С одной стороны, увеличиваем надежность за счет меньшей > скорости, размещая своп на raid, а с другой стороны пытаемся > увеличить скорость, балансируя своп между несколькими raid'ами. > Кто же победит? Правильная постановка задачи и грамотный админ. (не претендуя) PS: т.к. этот же фрагмент fstab уже сегодня попал в community@ (тоже про свопы подобный вопрос был) -- даю копии, отвечайте, куда уместно. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
parent reply other threads:[~2004-12-10 9:54 UTC|newest] Thread overview: expand[flat|nested] mbox.gz Atom feed [parent not found: <Pine.SGI.4.10.10412100811150.2190558-100000@Sky.inp.nsk.su>]
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=20041210095400.GT17193@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@altlinux.ru \ --cc=debian-russian@lists.debian.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