From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: exit_group slowness
Date: Tue, 5 Jun 2012 01:30:47 +0300
Message-ID: <20120604223046.GA10007@shutemov.name> (raw)
In-Reply-To: <20120604211117.GA10184@altlinux.org>
On Tue, Jun 05, 2012 at 01:11:17AM +0400, Dmitry V. Levin wrote:
> Hi,
>
> Наблюдаю странный эффект:
> $ time /usr/libexec/hasher-priv/hasher-priv chrootuid2 /tmp/.private/bee1/hasher/chroot /bin/true
> 0.00user 0.00system 0:08.61elapsed 0%CPU (0avgtext+0avgdata 3152maxresident)k
> 0inputs+0outputs (0major+321minor)pagefaults 0swaps
> $ uname -rm
> 3.3.7-std-def-alt1 x86_64
>
> Воспроизводимость 100%, разброс примерно от 2 до 16 секунд. С момента
> запуска команды до момента завершения всех системных вызовов exit_group(0)
> проходит 0 секунд, остальные несколько секунд уходят на то, чтобы
> проинформировать parent (bash, strace) о завершении child'а (hasher-priv).
>
> Кто-нибудь когда-нибудь сталкивался с чем-нибудь подобным?
Хм. Интересно.
Хорошо б увидеть на чём залипают процессы с обоих строн.
После 'echo t > /proc/sysrq-trigger' чё-нить интересное относительно этих
процессов в dmesg есть?
--
Kirill A. Shutemov
next prev parent reply other threads:[~2012-06-04 22:30 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 21:11 Dmitry V. Levin
2012-06-04 22:30 ` Kirill A. Shutemov [this message]
2012-06-05 0:20 ` Dmitry V. Levin
2012-06-05 6:06 ` Kirill A. Shutemov
2012-06-05 9:08 ` [devel] [partially solved] " Dmitry V. Levin
2012-06-05 12:37 ` Kirill A. Shutemov
2012-06-05 12:46 ` Dmitry V. Levin
2012-06-05 13:10 ` Kirill A. Shutemov
2012-06-06 1:31 ` Dmitry V. Levin
2012-06-06 18:40 ` Kirill A. Shutemov
2012-06-08 12:46 ` Kirill A. Shutemov
2012-06-08 15:31 ` Kirill A. Shutemov
2012-06-08 15:56 ` Dmitry V. Levin
2012-06-12 7:00 ` Kirill A. Shutemov
2012-06-13 0:32 ` Dmitry V. Levin
2012-08-10 19:41 ` Michael Shigorin
2012-06-04 22:35 ` [devel] " Led
2012-06-04 22:39 ` Kirill A. Shutemov
2012-06-04 22:47 ` Led
2012-06-06 8:43 ` Michael Shigorin
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=20120604223046.GA10007@shutemov.name \
--to=kirill@shutemov.name \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git