Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Apr 2021 14:08:31 +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@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 254763
           Summary: grep very slow with 13.0-RC4
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: chris@cretaforce.gr

Created attachment 223801
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223801&action=
=3Dedit
access_log.txt and exclude_ips.txt files

With 13.0-RC4 I notice that I get very slow speed using grep with the follow
parameters. With 12.2-RELEASE-p4 it is fast. Files used for the test are
included in the attachment.

-------------

FreeBSD 13.0-RC4:

/usr/bin/time -l cat access_log.txt | grep -F -v -f exclude_ips.txt >
output.log
      358.92 real         0.00 user         0.00 sys
      2200  maximum resident set size
         8  average shared memory size
         4  average unshared data size
       128  average unshared stack size
       148  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
      1104  messages sent
         0  messages received
         0  signals received
       138  voluntary context switches
         0  involuntary context switches

-------------

FreeBSD 12.2-RELEASE-p4:

/usr/bin/time -l cat access_log.txt | grep -F -v -f exclude_ips.txt >
output.log
        0.18 real         0.00 user         0.00 sys
         0  maximum resident set size
         0  average shared memory size
         0  average unshared data size
         0  average unshared stack size
       137  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
         0  messages sent
         0  messages received
         0  signals received
        70  voluntary context switches
         0  involuntary context switches

--=20
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-254763-227>