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

Re: [PATCH] Fix checkout of large files to network shares under Windows XP

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Oct 17, 2010, 10:54 UTC
Message-ID
<AANLkTinpwpckOn3BEHWn=4Tq_kRyOYYmYF5UQQ0qSpmS@mail.gmail.com>
In-Reply-To
<4CB9DF7E.1020203@lsrfire.ath.cx>

On Sat, Oct 16, 2010 at 9:23 PM, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:

>
> Also, 27KB is an odd number.  I take it that 28KB won't fix the issue
> for you?

I guess the beginning of the written buffer is not page aligned, and the system locks pages. Thus depending on the buffer alignment, the written maximum can vary up to the size of one page.

>
> I wonder about the cause of this threshold.  Wild guess: network driver
> bug or other network issue?

Memory pressure? Git may consume large amount of virtual memory during some operations, but I am not sure how it is translated in the number of physical memory consumed by the process as well as what quotas could be on that system. It would be interesting to see what GetProcessMemoryInfo() returns when write() fails.

Dmitry
Previous: René Scharfe
Message 15 of 15 in “Fix checkout of large files to network shares under Windows XP”
  1. Fix checkout of large files to network shares under Windows XPSebastian Schuberth, Apr 19, 2010
  2. Junio C HamanoApr 19, 2010
  3. Johannes SchindelinApr 20, 2010
  4. René ScharfeApr 19, 2010
  5. Albert DvornikApr 19, 2010
  6. Johannes SixtApr 20, 2010
  7. Sebastian SchuberthApr 20, 2010
  8. Johannes SixtApr 20, 2010
  9. Sebastian SchuberthApr 20, 2010
  10. René ScharfeApr 20, 2010
  11. René ScharfeApr 29, 2010
  12. Johannes SixtApr 30, 2010
  13. Sebastian SchuberthApr 30, 2010
  14. René ScharfeOct 16, 2010
  15. Dmitry PotapovOct 17, 2010

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.