git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: win2k/cygwin cannot handle even moderately sized packs

From
CFChristopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
Date
Nov 8, 2006, 19:22 UTC
Message-ID
<20061108192214.GA21892@trixie.casa.cgf.cx>
In-Reply-To
<81b0412b0611070555u1833cc8ci1d37d45782562df8@mail.gmail.com>
On Tue, Nov 07, 2006 at 02:55:01PM +0100, Alex Riesen wrote:
Show 8 quoted lines
>>So the problem is probably memory fragmentation.
>
>probably.
>
>>You might have more joy if you allocated one HUGE chunk immediately on
>>startup to use for the pack, and then kept re-using that chunk.
>
>Well, it is not _one_ chunk. The windows/cygwin abomin...combination

I would like to ask you, once again, to exercise some adult self-control when you feel compelled to answer questions about Cygwin. If you need to vent your frustration in some direction, I'd suggest getting a dog. They can look very contrite when you yell at them even if they didn't actually do anything wrong.

>may take an issue with this: it seem to copy complete address space
>at fork, which even for such a small packs I have here takes system
>down lightly (yes, I tried it).
Yes, Cygwin copies the heap on fork since Windows doesn't implement fork.

FWIW, Cygwin's malloc is based on Doug Lea's malloc. It reverts to using mmap when allocating memory above a certain threshhold.

cgf -- Christopher Faylor spammer? -> aaaspam@sourceware.org Cygwin Co-Project Leader aaaspam@duffek.com

Previous: Alex RiesenNext: Johannes Schindelin
Message 18 of 21 in “win2k/cygwin cannot handle even moderately sized packs”
  1. Alex RiesenNov 7, 2006
  2. Noel GrandinNov 7, 2006
  3. Alex RiesenNov 7, 2006
  4. Jakub NarebskiNov 7, 2006
  5. Alex RiesenNov 7, 2006
  6. Shawn PearceNov 7, 2006
  7. Alex RiesenNov 7, 2006
  8. Shawn PearceNov 7, 2006
  9. Shawn PearceNov 7, 2006
  10. Shawn PearceNov 7, 2006
  11. Alex RiesenNov 7, 2006
  12. Shawn PearceNov 8, 2006
  13. Alex RiesenNov 8, 2006
  14. Shawn PearceNov 8, 2006
  15. Alex RiesenNov 8, 2006
  16. Shawn PearceNov 8, 2006
  17. Alex RiesenNov 7, 2006
  18. Christopher FaylorNov 8, 2006
  19. Johannes SchindelinNov 13, 2006
  20. Alex RiesenNov 13, 2006
  21. Alex RiesenNov 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.