Re: bin/165471: bsdgrep(1) hang/very slow with mmap

2013-09-15 Thread Patrick Dung
The following reply was made to PR bin/165471; it has been noted by GNATS. From: Patrick Dung To: "freebsd-bugs@FreeBSD.org" , "bug-follo...@freebsd.org" Cc: Subject: Re: bin/165471: bsdgrep(1) hang/very slow with mmap Date: Sun, 15 Sep 2013 15:58:48 +0800 (SGT) ---1

Re: bin/165471: bsdgrep(1) hang/very slow with mmap

2013-09-15 Thread Patrick Dung
After one and a half year, I have tried the same case on FreeBSD 9.2 RC4 x64. The result is as below. The mmap with bsdgrep option is eating memory/swap and it is killed due to out of swap. [root@server2 /usr/local/share]# time grep --mmap -r -e '^Feb' * real    0m14.200s user    0m0.007s sys