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

Re: sync() slowdown

From
KTKenneth P. Turvey <kt-usenet@squeakydolphin.com>
Date
May 26, 2008, 16:06 UTC
Message-ID
<g1en6g$vuc$1@ger.gmane.org>
In-Reply-To
<20080526142607.GA3082@kali.thurne.chezwam.org>
On Mon, 26 May 2008 16:26:07 +0200, Sebastien Gross wrote:
> I do understand that syncing filesystem is usefull and needed.
> 
> But is there a good idea to add a --no-sync option to prevent that
> behaviour ?

Just a user here, but I would prefer it if it didn't sync at all. If I want to sync it, I will, or the operating system will handle it like it does with all other file accesses.

Just my 2 cents. 

I was just editing my backup script the other day and part of the problem with it was that I was syncing too often. What I needed was a single sync when everything was done.

This was possible because I was just doing copies and tars. It should be possible with git too.

-- 
Kenneth P. Turvey <kt-usenet@squeakydolphin.com>
http://www.electricsenator.net

  There are two major products that come out of Berkeley: LSD and UNIX.
  We don't believe this to be a coincidence.
        -- Jeremy S. Anderson
Previous: Sebastien GrossNext: Sebastien Gross
Message 2 of 4 in “sync() slowdown”
  1. Sebastien GrossMay 26, 2008
  2. Kenneth P. TurveyMay 26, 2008
  3. Sebastien GrossMay 26, 2008
  4. Matthieu MoyMay 26, 2008

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.