From: René Scharfe Date: Wed, 07 Dec 2011 16:54:19 GMT Subject: Re: [PATCH v2 3/3] grep: disable threading in all but worktree case Message-ID: <4EDF9A3B.607@lsrfire.ath.cx> In-Reply-To: <201112070911.08079.trast@student.ethz.ch> Am 07.12.2011 09:11, schrieb Thomas Rast: > René Scharfe wrote: >> Am 02.12.2011 17:15, schrieb René Scharfe: >>> How about adding a parameter to control the number of threads >>> (--threads?) instead that defaults to eight (or five) for the worktree >>> and one for the rest? That would also make benchmarking easier. >> >> Like this: >> >> -- >8 -- >> Subject: grep: add parameter --threads >> >> Allow the number of threads to be specified by the user. This makes >> benchmarking the performance impact of different numbers of threads >> much easier. > > Sounds good, though in the end we would also want to have a config > variable for the poor OS X users who have to tune their threads > *down*... :-) We could set different defaults for different platforms.. René