From: Vlad Harchev <hvv@hippo.ru>
To: debian-russian@lists.debian.org, oleg@murphy.debian.org,
community@altlinux.ru
Subject: [Comm] Re: reading/writing, ugh (was: [d-r] Как правильно расставлять лимиты?)
Date: Fri, 11 Apr 2003 16:42:13 +0500
Message-ID: <20030411114213.GH3407@h> (raw)
In-Reply-To: <20030411102917.GX2345@osdn.org.ua>
On Fri, Apr 11, 2003 at 01:29:17PM +0300, Michael Shigorin wrote:
> 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 (пока влазят в кэш)
А если просто RH9 с другого шпинделя копировать на этот ext3 раздел -
эти симптомы появляются или нет? Или надо чтобы из сети обязательно?
> ...дальше они начинают вываливаться на 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, я догадываюсь; здесь о
> "кумулятивном эффекте".
Все-таки рекомендую попытаться на редхатовских ядрах тоже самое сделать.
У них ядра совершенно с другой VM - может там эта проблема тоже отсутствует?
--
Best regards,
-Vlad
next prev parent reply other threads:[~2003-04-11 11:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-11 10:29 ` [Comm] " Michael Shigorin
2003-04-11 11:42 ` Vlad Harchev [this message]
2003-04-11 12:33 ` [Comm] " 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=20030411114213.GH3407@h \
--to=hvv@hippo.ru \
--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