From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Nicolas Pitre" <nico@cam.org>
Cc: "Junio C Hamano" <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH 2/2] pack-objects: fix threaded load balancing
Date: Sun, 9 Dec 2007 23:10:58 -0500 [thread overview]
Message-ID: <9e4733910712092010m31043915kb6fd0867beefa8f3@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.0.99999.0712080000120.555@xanadu.home>
I added a couple of printfs to debug this.
Why did the thread exit when there were still 72,000 objects left?
Another one exited with 50,000 objects left.
The repack is still running, it has been proceeding on two cores for
10 minutes after the two threads exited.
jonsmirl@terra:/video/gcc$ git-repack -a -d -f --depth=250 --window=250
Counting objects: 828348, done.
starting thread 0
Compressing objects: 0% (1/809010)
starting thread 1
starting thread 2
starting thread 3
Compressing objects: 59% (478011/809010)
victim 0x7fffc7976480 sub_size 76058
thread 0x7fffc79764f8 sub_size 76058
Compressing objects: 62% (504273/809010)
victim 0x7fffc79764a8 sub_size 69967
thread 0x7fffc79764d0 sub_size 69967
Compressing objects: 82% (664231/809010)
victim 0x7fffc7976480 sub_size 35308
thread 0x7fffc79764d0 sub_size 35308
Compressing objects: 91% (736690/809010)
victim 0x7fffc79764d0 sub_size 0
thread 0x7fffc79764f8 sub_size 0
Compressing objects: 93% (758922/809010)
victim 0x7fffc79764d0 sub_size 0
thread 0x7fffc79764a8 sub_size 0
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2007-12-10 4:11 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-08 5:03 [PATCH 2/2] pack-objects: fix threaded load balancing Nicolas Pitre
2007-12-08 9:18 ` Jeff King
2007-12-10 4:10 ` Jon Smirl [this message]
2007-12-10 4:30 ` Jon Smirl
2007-12-10 5:23 ` Jon Smirl
2007-12-10 5:59 ` Jon Smirl
2007-12-10 6:06 ` Jon Smirl
2007-12-10 6:19 ` Jon Smirl
2007-12-10 16:03 ` Nicolas Pitre
2007-12-10 16:14 ` Nicolas Pitre
2007-12-10 17:06 ` Jon Smirl
2007-12-10 18:21 ` Nicolas Pitre
2007-12-10 19:19 ` [PATCH] pack-objects: more threaded load balancing fix with often changed paths Nicolas Pitre
2007-12-11 17:02 ` [PATCH 2/2] pack-objects: fix threaded load balancing Johannes Sixt
2007-12-11 17:28 ` Nicolas Pitre
2007-12-13 7:15 ` Johannes Sixt
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=9e4733910712092010m31043915kb6fd0867beefa8f3@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nico@cam.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
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 NNTP newsgroup(s).