Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 07:13:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 165471] bsdgrep(1) hang/very slow with mmap
Message-ID:  <bug-165471-8-8byInSbTPO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-165471-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-165471-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165471

--- Comment #2 from patrick_dkt@yahoo.com.hk ---
Ten months later, on FreeBSD 9.3 x64, the problem persists.

[root@server3 /usr/local/share]# time grep --mmap -r -e '^October' *
doc/db42/ref/refs/bdb_usenix.html:October 1980.

real    0m0.290s
user    0m0.177s
sys     0m0.113s

I have to press Ctrl-C, and it consumed lots of CPU and RAM.
[root@server3 /usr/local/share]# time bsdgrep --mmap -r -e '^October' *
^C

real    1m20.578s
user    0m9.588s
sys     0m27.200s

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-165471-8-8byInSbTPO>