linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: starlight@binnacle.cx
To: Adam Litke <agl@us.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, bugme-daemon@bugzilla.kernel.org,
	Andy Whitcroft <apw@shadowen.org>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Bug 12134] New: can't shmat() 1GB hugepage segment from second process more than one time
Date: Fri, 05 Dec 2008 14:04:59 -0500	[thread overview]
Message-ID: <6.2.5.6.2.20081205135900.01c3ec18@binnacle.cx> (raw)
In-Reply-To: <1228503462.13428.36.camel@localhost.localdomain>

At 12:57 12/5/2008 -0600, Adam Litke wrote:
>Great.  I was going to ask you to disable mlock() as well.  Is this the
>same machine that was running your workload on RHEL4 successfully?

No, that was a an old Athlon 4800+ dev box.

>One theory I've been contemplating is that, with all of the mlocking and
>threads, you might be running out of memory for page tables and that
>perhaps the hugetlb code is not handling that case correctly.

Seems unlikely.  Have 13GB of free RAM.

>When do
>the bad pmd messages appear?  When the daemon starts?  When the first
>separate process attaches?  When the second one does?  or later?

Only after a starting, stopping and attempting to restart the
server daemon.  The 'dmesg' errors don't appear synchronously
with the initial failure.

>
>> >If so, I could quickly bisect the kernel and identify the guilty 
>> >patch.  Without the program, I am left stabbing in the dark. 
>> >Could you try on a 2.6.18 kernel to see if it works or not?  
>> >Thanks.
>> 
>> Any particular version of 2.6.18?
>
>Nothing specific.  You could try 2.6.18.8 (latest -stable).  We could
>probably bisect this with approximately 8 kernel build-boot-test cycles
>if you are willing to engage on that.  I am looking forward to your
>disabled-mlock() results.

Ok, but this could take awhile.  Can only spare a few hours
a week on it.  Hopefully my suspicion of the fork() call is
on target.  Forking a 3GB process seems like an extreme
operation to me.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-12-05 19:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-12134-27@http.bugzilla.kernel.org/>
2008-12-02  2:14 ` Andrew Morton
2008-12-02 19:24   ` Adam Litke
2008-12-02 19:41     ` starlight
2008-12-04  3:15     ` starlight
2008-12-05 17:17       ` Adam Litke
2008-12-05 17:49         ` starlight
2008-12-05 18:57           ` Adam Litke
2008-12-05 19:04             ` starlight [this message]
2008-12-06  5:17 starlight

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=6.2.5.6.2.20081205135900.01c3ec18@binnacle.cx \
    --to=starlight@binnacle.cx \
    --cc=agl@us.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=apw@shadowen.org \
    --cc=bugme-daemon@bugzilla.kernel.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=linux-mm@kvack.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