Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 12:46:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240769] linux(4): 'openssl speed rsa' calls time(2)
Message-ID:  <bug-240769-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 240769
           Summary: linux(4): 'openssl speed rsa' calls time(2)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

For some reason Linux 'openssl speed rsa' ends up calling time(2) over and =
over
again:

write(2, "Doing 512 bit private rsa's for "..., 37Doing 512 bit private rsa=
's
for 10s: ) =3D 37
alarm(10)                               =3D 0
times({tms_utime=3D0, tms_stime=3D1, tms_cutime=3D0, tms_cstime=3D0}) =3D 2=
574131
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996
time([1568856996])                      =3D 1568856996

[..]

This obviously doesn't happen under real Linux.

--=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-240769-227>