[Bug 254763] grep very slow with 13.0-RC4
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 10 11:29:26 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254763
Mark Millard <marklmi26-fbsd at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marklmi26-fbsd at yahoo.com
--- Comment #2 from Mark Millard <marklmi26-fbsd at 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.
More information about the freebsd-bugs
mailing list