RE: [PATCH] Add git-grep threads-num param

2015-10-22 Thread Victor Leschuk
, October 22, 2015 7:23 AM To: Victor Leschuk Cc: git@vger.kernel.org; Victor Leschuk Subject: Re: [PATCH] Add git-grep threads-num param On Thu, Oct 22, 2015 at 04:23:56PM +0300, Victor Leschuk wrote: > Hello all, I suggest we make number of git-grep worker threads a configuration > parameter.

Re: [PATCH] Add git-grep threads-num param

2015-10-22 Thread Junio C Hamano
John Keeping writes: > On Thu, Oct 22, 2015 at 04:23:56PM +0300, Victor Leschuk wrote: >> Hello all, I suggest we make number of git-grep worker threads a >> configuration >> parameter. I have run several tests on systems with different number of CPU >> cores. >> It

Re: [PATCH] Add git-grep threads-num param

2015-10-22 Thread John Keeping
On Thu, Oct 22, 2015 at 04:23:56PM +0300, Victor Leschuk wrote: > Hello all, I suggest we make number of git-grep worker threads a configuration > parameter. I have run several tests on systems with different number of CPU > cores. > It appeared that the hard-coded number 8 lowers performance on

[PATCH] Add git-grep threads-num param

2015-10-22 Thread Victor Leschuk
Hello all, I suggest we make number of git-grep worker threads a configuration parameter. I have run several tests on systems with different number of CPU cores. It appeared that the hard-coded number 8 lowers performance on both of my systems: on my 4-core and 8-core systems the thread number