[tor-bugs] #24127 [Core Tor/Tor]: Profile a 0.3.2.x fast relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Nov 2 16:44:05 UTC 2017


#24127: Profile a 0.3.2.x fast relay
----------------------------------+------------------------------------
 Reporter:  dgoulet               |          Owner:  dgoulet
     Type:  task                  |         Status:  assigned
 Priority:  Medium                |      Milestone:  Tor: 0.3.2.x-final
Component:  Core Tor/Tor          |        Version:
 Severity:  Normal                |     Resolution:
 Keywords:  tor-relay, profiling  |  Actual Points:
Parent ID:                        |         Points:
 Reviewer:                        |        Sponsor:
----------------------------------+------------------------------------

Comment (by dgoulet):

 After 3 hours of profiling a fast Exit relay on 032:

 {{{
    2.33%  tor      tor                    [.] connection_bucket_refill
    1.73%  tor      tor                    [.] curve25519_donna
    1.43%  tor      [kernel.kallsyms]      [k] irq_entries_start
    0.97%  tor      [kernel.kallsyms]      [k] copy_user_generic_string
    0.92%  tor      [kernel.kallsyms]      [k] __fget
    0.91%  tor      tor                    [.] circuit_receive_relay_cell
    0.87%  tor      libc-2.24.so           [.] malloc
    0.76%  tor      libevent-2.0.so.5.1.9  [.] _init
    0.75%  tor      tor                    [.] buf_datalen
    0.70%  tor      [kernel.kallsyms]      [k] sys_epoll_ctl
    0.65%  tor      libevent-2.0.so.5.1.9  [.] evmap_io_active
    0.60%  tor      libevent-2.0.so.5.1.9  [.] event_base_loop
    0.56%  tor      [kernel.kallsyms]      [k]
 __raw_callee_save___pv_queued_spin_unlock
    0.55%  tor      tor                    [.]
 channel_flush_from_first_active_circuit
    0.54%  tor      libc-2.24.so           [.] 0x0000000000078d6a
    0.52%  tor      [kernel.kallsyms]      [k] update_cfs_shares
    0.51%  tor      tor                    [.] rep_hist_note_or_conn_bytes
    0.51%  tor      [kernel.kallsyms]      [k] sock_poll
    0.47%  tor      tor                    [.]
 circuit_get_by_circid_channel
    0.46%  tor      tor                    [.] tor_memcmp
    0.45%  tor      tor                    [.] assert_circuit_ok
    0.43%  tor      tor                    [.] buf_assert_ok
    0.42%  tor      [kernel.kallsyms]      [k] ipt_do_table
    0.41%  tor      tor                    [.] smartlist_contains
    0.41%  tor      libcrypto.so.1.1       [.] CRYPTO_ctr128_encrypt_ctr32
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24127#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list