From: "Alexander V. Mitin" <sasha@sasha.org.ua>
To: gentoo-user-ru@lists.gentoo.org
Subject: [gentoo-user-ru] Re: [gentoo-user-ru] ionice, nice, cfq - не помогают от тормозов
Date: Fri, 26 Feb 2010 11:41:47 +0200 [thread overview]
Message-ID: <632b13881002260141i33e02c7dm7f04b89d62a584ca@mail.gmail.com> (raw)
In-Reply-To: <20100226152729.20482qe6qzz0gjr4@ash.catalysis.ru>
[-- Attachment #1: Type: text/plain, Size: 1615 bytes --]
2010/2/26 Andrew A. Sabitov <sabitov@catalysis.ru>
> Quoting Konstantin Astafjev <konstantin@astafjev.com>:
>
> Hello Alexander,
>>
>> Friday, February 26, 2010, 10:03:14, you wrote:
>>
>>> Есть gentoo arch x86, kernel 2.6.31. Проблема с тем, что при
>>> запуске обновлений (установка бинарников) либо при emerge --sync
>>> система уходит в ступор, gui в этот момент очень тяжело пользоваться.
>>> Обновления запускаю с параметрами ionice -c3 nice -n -20 при
>>> использовании cfq. Пробовал еще баловаться с cpulimit, что-то
>>> бестолку. В ядре 2,6,33 есть возможность ограничения использования
>>> диского i/o для выбранного процесса, что наверное мне помогло бы. Что
>>> можно сделать сейчас, на ядре 2,6,31?
>>>
>>
>> nice -n -20 насколько я понимаю даёт задаче самый высокий приоритет,
>> следовательно трудно удивляться что всё начинает притормаживать. Или я
>> что-то
>> не так понял?
>>
>
> man nice:
> Nicenesses range from -20 (most favorable scheduling) to 19 (least
> favorable).
>
> Так что Вы всё правильно поняли :) На самом деле, как мне кжется, проблема
> эта не с ЦПУ, а с дисками, это уже обсуждалось и здесь, и в других листах.
> при большой нагрузке на диск система стаёт колом.
>
> Alexander, попробуйте 2.6.32-gentoo-r1 или 2.6.32-gentoo-r6 у меня они
> стабильней работают чем .31
>
добавьте в /etc/make.conf строку
PORTAGE_NICENESS=19
env-update && source /etc/profile
и Ваши мучения должны закончиться (по крайней мере, если с дисковой
подсистемой все нормально и нет других фоновых задач, понижающих
быстродействие и интерактивность системы в целом).
--
regards,
Alexander
[-- Attachment #2: Type: text/html, Size: 2330 bytes --]
next prev parent reply other threads:[~2010-02-26 9:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-26 8:03 [gentoo-user-ru] ionice, nice, cfq - не помогают от тормозов Alexander Tiurin
2010-02-26 8:28 ` [gentoo-user-ru] " Konstantin Astafjev
2010-02-26 8:49 ` [gentoo-user-ru] " Alexander V. Mitin
2010-02-26 9:27 ` Andrew A. Sabitov
2010-02-26 9:35 ` Alexander V. Mitin
2010-02-26 9:41 ` Alexander V. Mitin [this message]
2010-02-26 14:08 ` [gentoo-user-ru] Re: [gentoo-user-ru] " Alexander Tiurin
2010-03-08 0:56 ` [gentoo-user-ru] " Semen Maryasin
2010-03-08 7:53 ` Konstantin Astafjev
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=632b13881002260141i33e02c7dm7f04b89d62a584ca@mail.gmail.com \
--to=sasha@sasha.org.ua \
--cc=gentoo-user-ru@lists.gentoo.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox