From: Thomas Rast Date: Wed, 07 Dec 2011 08:11:07 GMT Subject: Re: [PATCH v2 3/3] grep: disable threading in all but worktree case Message-ID: <201112070911.08079.trast@student.ethz.ch> In-Reply-To: <4EDE9BBA.2010409@lsrfire.ath.cx> 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*... :-) -- Thomas Rast trast@{inf,student}.ethz.ch