public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Process map and fork problems
Date: Wed, 20 Apr 2016 14:20:00 -0000	[thread overview]
Message-ID: <20160420140625.GA25668@calimero.vinschen.de> (raw)
In-Reply-To: <loom.20160420T131743-463@post.gmane.org>

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

On Apr 20 11:24, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > > I think all the affected machines have 4GB memory installed, but the
> > > option may not have been default when they were installed.
> > 
> > They never are default.  Default is 2 Gigs application VM, 2 Gigs
> > kernel̇ memory space.  Specifying /3Gb means 3 Gigs application VM
> > vs. 1 Gig kernel̇ memory space.  That's not always a good thing
> > since it could lead to kernel memory pool exhaustion.
> 
> I meant "not default in the base install image provided by corporate IT". 
> I'll have to ask if they have some special procedure to switch it on.
> 
> > > With /3GB you mean 4GT (aka PAE), right?  And 32bit is without PAE?
> > 
> > No, PAE works differently, using different calls.  I'm talking abut
> > the normal 32 bit address space of a 32 bit CPU.
> 
> Hmm.  Microsoft's 4GT documentation makes you believe that /3GB and PAE is
> always coupled, though.  But then even non-/3GB might laready use some PAE
> facilities anyway.  But I guess it's not important.
> 
> > It can only know its own heap.  But keep in mind that the heap can
> > be differently sized in different applications.  The heap only *starts*
> > as a 384Meg heap, it could easly grow in big apps (gcc, emacs, ...)
> > when calling sbrk.
> 
> So it can grow only so much until it runs into the first loaded DLL above? 
> Or does it fragment into yet unused areas then?

It can't fragment, it can only grow.  The Unix heap management doesn't
have the notion of multiple application heaps.  There's only the sbrk
call to raise or shrink the size of the heap.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-04-20 14:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-20 10:38 Achim Gratz
2016-04-20 10:46 ` Achim Gratz
2016-04-20 10:50 ` Corinna Vinschen
2016-04-20 11:01   ` Corinna Vinschen
2016-04-20 11:14   ` Achim Gratz
2016-04-20 11:15     ` Corinna Vinschen
2016-04-20 11:56       ` Achim Gratz
2016-04-20 14:20         ` Corinna Vinschen [this message]
2016-04-20 14:40           ` Achim Gratz
2016-04-20 14:52             ` Corinna Vinschen
2016-04-20 15:01               ` Achim Gratz
2016-04-20 13:06     ` Marco Atzeri
2016-04-22 12:12       ` Achim Gratz
2016-04-22 12:41         ` Marco Atzeri
2016-04-22 13:23           ` Achim Gratz
2016-04-22 14:20             ` Achim Gratz
2016-04-22 17:41               ` Marco Atzeri

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=20160420140625.GA25668@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.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).