ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Q: exit_group slowness
Date: Tue, 5 Jun 2012 01:11:17 +0400
Message-ID: <20120604211117.GA10184@altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

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).

Кто-нибудь когда-нибудь сталкивался с чем-нибудь подобным?


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2012-06-04 21:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-04 21:11 Dmitry V. Levin [this message]
2012-06-04 22:30 ` Kirill A. Shutemov
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=20120604211117.GA10184@altlinux.org \
    --to=ldv@altlinux.org \
    --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