From: Michael Shigorin <mike@osdn.org.ua>
To: debian-russian@lists.debian.org
Cc: oleg@murphy.debian.org, community@altlinux.ru
Subject: [Comm] reading/writing, ugh (was: [d-r] Как правильно расставлять лимиты?)
Date: Fri, 11 Apr 2003 13:29:17 +0300
Message-ID: <20030411102917.GX2345@osdn.org.ua> (raw)
In-Reply-To: <20030411090627.GA996@kunashir.ukrpack.net>
On Fri, Apr 11, 2003 at 12:06:27PM +0300, Oleg Gritsinevich wrote:
> У меня на одной сравнительно слабой машинке, помимо прочего,
> крутится ftp-сервер (pure-ftpd). Проблема заключается в том,
> что если на/с него кто-либо начинает заливать/скачивать
> что-нибудь большое, то машинка становится неживая.
Это наш ioshed -- см. http://www.kerneltrap.org/node.php?id=592 .
На ftp.altlinux.org.ua наблюдалось дословно такое:
уходит 150--1000+ Kb/s с пятка-десятка зон одного шпинделя
(барракуда 120G); LA и загрузка CPU минимальны
пытаемся на тот же раздел (ext3) поселить iso-шники rh9, которые
тянем примерно на 5Mb/s (пока влазят в кэш)
...дальше они начинают вываливаться на fs и тут приходит капут:
скорость залития "сюда" плавно улетает к ~600Kb/s, LA -- в 12--15
(загрузка -- не помню, но все печально, при том, что это
D900/256M, все же не младшенький Celeron :) -- отдача падает до
~40Kb/s (не в последнюю очередь потому, что vsftpd было сказано
отказываться от коннектов при LA > 10, но и чтение с диска просто
ужасно).
понятное дело, что приходится сняться с ручника и перетащить
/pub/Linux/RedHat на второй шпиндель ("давно-было-пора" (tm)),
который был облагорожен XFS в свое время.
далее доливаем все, что надо, на него -- при этом отдача с
_той_же_ fs ненулевая, т.к. RH продолжают тянуть оттуда.
при этом исх. -- все те же ~300K/s, вх. -- ~5M/s, LA ~= 2..3.
На vmstat 1 приятно посмотреть.
Выводы из лабораторной работы: ext3/linux-2.4 для такого
применения меня не удовлетворяет, в отличие от xfs/2.4.
PS: это все на альте, но суть вряд ли другая.
PPS: чем отличается fs от iosched, я догадываюсь; здесь о
"кумулятивном эффекте".
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
next parent reply other threads:[~2003-04-11 10:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-11 10:29 ` Michael Shigorin [this message]
2003-04-11 11:42 ` [Comm] " Vlad Harchev
2003-04-11 12:33 ` Michael Shigorin
2003-04-11 12:45 ` Vlad Harchev
2003-04-12 8:30 ` Vlad Harchev
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=20030411102917.GX2345@osdn.org.ua \
--to=mike@osdn.org.ua \
--cc=community@altlinux.ru \
--cc=debian-russian@lists.debian.org \
--cc=oleg@murphy.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