From: "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com> To: git@vger.kernel.org Cc: "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com> Subject: [PATCH v2 0/5] Speed up cache loading time Date: Tue, 10 Jun 2014 20:24:20 +0700 Message-ID: <1402406665-27988-1-git-send-email-pclouds@gmail.com> (raw) Compared to v1 [1], this is like a new series - git-read-cache--daemon is renamed to git-index-helper (easier to guess what it's for) - simplified locking mechanism on shared memory - UNIX signals are used for notification instead of UNIX sockets - Windows support (only tested with wine) I think I'm getting closer to something that can finally have a chance of merging. Still don't know how to write tests for this though. [1] http://thread.gmane.org/gmane.comp.version-control.git/247268/focus=248760 Nguyễn Thái Ngọc Duy (5): read-cache: allow to keep mmap'd memory after reading index-helper: new daemon for caching index and related stuff index-helper: add Windows support daemonize(): set a flag before exiting the main process index-helper: add --detach .gitignore | 1 + Documentation/git-index-helper.txt (new) | 26 ++++ Makefile | 7 ++ builtin/gc.c | 2 +- cache.h | 6 +- config.mak.uname | 3 + daemon.c | 2 +- git-compat-util.h | 1 + index-helper.c (new) | 198 +++++++++++++++++++++++++++++++ read-cache.c | 97 +++++++++++++-- setup.c | 4 +- shm.c (new) | 163 +++++++++++++++++++++++++ shm.h (new) | 23 ++++ 13 files changed, 521 insertions(+), 12 deletions(-) create mode 100644 Documentation/git-index-helper.txt create mode 100644 index-helper.c create mode 100644 shm.c create mode 100644 shm.h -- 1.9.1.346.ga2b5940
next reply index Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-06-10 13:24 Nguyễn Thái Ngọc Duy [this message] 2014-06-10 13:24 ` [PATCH 1/5] read-cache: allow to keep mmap'd memory after reading Nguyễn Thái Ngọc Duy 2014-06-10 13:24 ` [PATCH 2/5] index-helper: new daemon for caching index and related stuff Nguyễn Thái Ngọc Duy 2014-06-10 18:44 ` David Turner 2014-06-10 13:24 ` [PATCH 3/5] index-helper: add Windows support Nguyễn Thái Ngọc Duy 2014-06-10 13:24 ` [PATCH 4/5] daemonize(): set a flag before exiting the main process Nguyễn Thái Ngọc Duy 2014-06-10 13:24 ` [PATCH 5/5] index-helper: add --detach Nguyễn Thái Ngọc Duy
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=1402406665-27988-1-git-send-email-pclouds@gmail.com \ --to=pclouds@gmail.com \ --cc=git@vger.kernel.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
Git Mailing List Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/git/0 git/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 git git/ https://lore.kernel.org/git \ git@vger.kernel.org public-inbox-index git Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.git AGPL code for this site: git clone https://public-inbox.org/public-inbox.git