From: Florian Weimer <fweimer@redhat.com>
To: Szabolcs Nagy <szabolcs.nagy@arm.com>, sellcey@cavium.com
Cc: nd@arm.com, GNU C Library <libc-alpha@sourceware.org>
Subject: Re: glibc failures on aarch64: (Was Re: [PATCH] add attribute nonstring)
Date: Fri, 17 Nov 2017 12:57:00 -0000 [thread overview]
Message-ID: <a43b9178-56f9-1523-0905-b970adfd339e@redhat.com> (raw)
In-Reply-To: <5A0EDACF.40904@arm.com>
On 11/17/2017 01:49 PM, Szabolcs Nagy wrote:
> On 15/11/17 17:58, Steve Ellcey wrote:
>> tst-nss-files-hosts-multi.out:
>>
>> Timed out: killed the child process
>>
>
> i've seen this timeout too (in virtual machine),
> it does 1.5M syscalls a third of which is slow socket syscalls.
>
> i think that's a bit too much, less iterations should be enough.
The buffer code in nss_files (and nss_db) is really sensitive to input
sizes, and we have seen bugs which are triggered with very specific
result sizes only, hence the the first loop with the small counts.
The 22222 count is arbitrary, but a fairly large value is needed to make
the super-linear behavior of the old implementation immediately obvious.
An alternative would be to reduce the RLIMIT_AS limit considerably,
but that might unduly affect architectures which are wasteful with
address space.
Thanks,
Florian
next prev parent reply other threads:[~2017-11-17 12:57 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-10 17:31 [PATCH] add attribute nonstring Martin Sebor
2017-11-10 17:54 ` Joseph Myers
2017-11-10 23:11 ` Martin Sebor
2017-11-10 23:46 ` Joseph Myers
2017-11-14 17:58 ` Joseph Myers
2017-11-15 22:09 ` Steve Ellcey
2017-11-15 23:05 ` Martin Sebor
2017-11-15 23:14 ` Joseph Myers
2017-11-21 5:27 ` Paul Eggert
2017-11-21 13:38 ` Joseph Myers
2017-11-12 9:06 ` Paul Eggert
2017-11-12 17:33 ` Martin Sebor
2017-11-12 20:39 ` Paul Eggert
2017-11-12 23:49 ` Martin Sebor
2017-11-13 17:35 ` Steve Ellcey
2017-11-14 16:37 ` Joseph Myers
2017-11-14 16:50 ` Florian Weimer
2017-11-14 17:06 ` Joseph Myers
2017-11-14 17:55 ` Andreas Schwab
2017-11-14 18:21 ` Florian Weimer
2017-11-14 18:27 ` Joseph Myers
2017-11-14 18:29 ` Florian Weimer
2017-11-14 23:22 ` Steve Ellcey
2017-11-15 10:48 ` Florian Weimer
2017-11-15 17:58 ` glibc failures on aarch64: (Was Re: [PATCH] add attribute nonstring) Steve Ellcey
2017-11-16 0:37 ` Adhemerval Zanella
2017-11-17 12:49 ` Szabolcs Nagy
2017-11-17 12:57 ` Florian Weimer [this message]
2017-11-13 0:50 ` [PATCH] add attribute nonstring Joseph Myers
2017-11-27 11:05 ` Siddhesh Poyarekar
2017-11-27 16:04 ` Martin Sebor
2017-11-27 16:24 ` Siddhesh Poyarekar
2017-11-27 16:26 ` Siddhesh Poyarekar
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=a43b9178-56f9-1523-0905-b970adfd339e@redhat.com \
--to=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=nd@arm.com \
--cc=sellcey@cavium.com \
--cc=szabolcs.nagy@arm.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).