GNU bug report logs - #24689
Multithreaded grep Available

Previous Next

Package: grep;

Reported by: Aaron Zhou Qian <aaronzhouqian <at> ucla.edu>

Date: Fri, 14 Oct 2016 15:36:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aaron Zhou Qian <aaronzhouqian <at> ucla.edu>
To: bug-grep <at> gnu.org
Subject: Multithreaded grep Available
Date: Fri, 14 Oct 2016 08:14:42 -0700
[Message part 1 (text/plain, inline)]
Hi,

I've multithreaded the grep at the file granularity when used with -r or -R
on directories. The four files that I changed i.e. grep.c dosbuff.c
dfasearch.c search.h under src/ is in this repository:

https://github.com/AaronZhouQian/grep

Please take a look at the README there.


The default number of threads is the number of cores online in the system.

To specify a custom number of threads use -p or --parallel followed by the
number of threads.

Currently multithreading does not support context i.e. -A -B -C


I'd like to invite everyone to test this patch.


Thank you,

Aaron
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.