Date: Mon, 10 May 2021 11:29:26 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254763] grep very slow with 13.0-RC4 Message-ID: <bug-254763-227-4TPm4qGw3z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254763-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254763 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to parv from comment #1) Are you being careful to avoid the first grep from loading the file contents into OS buffers so the next grep does not have to read the media (as much)? For example, rebooting between tests? Or using files that are much larger than the RAM? One option is to reboot after the sequence and redo the sequence in a different order, such as after what you wrote doing the order: # \time egrep --color '^yubi.?oath' INDEX-13 # \time egrep -i --color '^yubi.?oath' INDEX-13 Variations in the result might give clues about the various contributions to the time taken. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254763-227-4TPm4qGw3z>
