From: Daniel Colascione <dancol@dancol.org>
To: 24628@debbugs.gnu.org
Subject: bug#24628: GNUtls initialization adds 500ms to startup --- do we really need it just for the RNG?
Date: Thu, 6 Oct 2016 12:45:23 -0700 [thread overview]
Message-ID: <50ee31c0-fdb6-00fc-f186-71133a1d711a@dancol.org> (raw)
On my system, I noticed that the call to emacs_gnutls_global_init is
adding 500ms to the time it takes to run emacs -Q -nw --batch --eval
'(kill-emacs)'. We're not actually using GNUtls for anything but an RNG
seed, and /dev/urandom is also up to the task.
I'm not sure what's making GNUtls so slow, except that it's talking to a
process called credkit-service, which is using a lot of CPU time. It
shouldn't matter though.
Can we go back to just using /dev/urandom directly?
next reply other threads:[~2016-10-06 19:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-06 19:45 Daniel Colascione [this message]
2016-10-06 20:22 ` bug#24628: GNUtls initialization adds 500ms to startup --- do we really need it just for the RNG? John Wiegley
2016-10-07 6:51 ` Eli Zaretskii
2016-10-07 7:49 ` John Wiegley
2016-10-07 16:01 ` Ted Zlatanov
2016-10-07 16:49 ` John Wiegley
2016-11-18 8:45 ` Eli Zaretskii
2016-10-07 20:32 ` Richard Stallman
2016-10-07 22:04 ` Lars Ingebrigtsen
2016-10-07 10:43 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50ee31c0-fdb6-00fc-f186-71133a1d711a@dancol.org \
--to=dancol@dancol.org \
--cc=24628@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).