Bacula-users

Re: [Bacula-users] Performance problem with baculas encryption system

2008-07-02 02:53:14
Subject: Re: [Bacula-users] Performance problem with baculas encryption system
From: "John Hemming" <johnhemming1 AT googlemail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 2 Jul 2008 08:53:05 +0200
Any chance you can run this under a profiler? I haven't had time to look at it since I wrote it, but my last tests demonstrated that RSA signing took up the vast majority of the runtime.

I hope this is what you wanted :)

Since there seems no difference in the profile, how could I check if signing is really deactivated (or activated) ?

-johnh

(oprofile)

The profile with signing activated:
CPU: Core 2, speed 2660.11 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
samples  %        image name               symbol name
19676395 97.9860  /usr/lib/i686/cmov/libcrypto.so.0.9.8 (no symbols)
344768    1.7169  /no-vmlinux              (no symbols)
34805     0.1733  /lib/tls/i686/cmov/libc-2.7.so (no symbols)
16363     0.0815  /sbin/bacula-fd          (no symbols)
1408      0.0070  /lib/libgcc_s.so.1       (no symbols)
1388      0.0069  [vdso] (tgid:2217 range:0xb7fa8000-0xb7fa9000) (no symbols)
1182      0.0059  /lib/tls/i686/cmov/libpthread-2.7.so pthread_mutex_lock
953       0.0047  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_disable_asynccancel
938       0.0047  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_mutex_unlock_usercnt
864       0.0043  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_enable_asynccancel
486       0.0024  /lib/tls/i686/cmov/libpthread-2.7.so __write_nocancel
280       0.0014  /lib/tls/i686/cmov/libpthread-2.7.so __errno_location
241       0.0012  /lib/tls/i686/cmov/libpthread-2.7.so __read_nocancel
185      9.2e-04  /lib/tls/i686/cmov/libpthread-2.7.so __i686.get_pc_thunk.cx
124      6.2e-04  /lib/tls/i686/cmov/libpthread-2.7.so pthread_mutex_unlock
106      5.3e-04  /lib/tls/i686/cmov/libpthread-2.7.so .text
104      5.2e-04  /lib/tls/i686/cmov/libpthread-2.7.so write
79       3.9e-04  /lib/tls/i686/cmov/libpthread-2.7.so open64
65       3.2e-04  /lib/tls/i686/cmov/libpthread-2.7.so read
26       1.3e-04  /lib/ld-2.7.so           (no symbols)
25       1.2e-04  /lib/tls/i686/cmov/libpthread-2.7.so pthread_self
20       1.0e-04  /lib/tls/i686/cmov/libpthread-2.7.so __close_nocancel
19       9.5e-05  /lib/tls/i686/cmov/libpthread-2.7.so close
2        1.0e-05  /lib/tls/i686/cmov/libpthread-2.7.so pthread_rwlock_rdlock
1        5.0e-06  /lib/tls/i686/cmov/libpthread-2.7.so __lll_unlock_wake


Profile without signing:
CPU: Core 2, speed 2660.11 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
samples  %        image name               symbol name
19920309 97.9961  /usr/lib/i686/cmov/libcrypto.so.0.9.8 (no symbols)
346332    1.7037  /no-vmlinux              (no symbols)
35488     0.1746  /lib/tls/i686/cmov/libc-2.7.so (no symbols)
16838     0.0828  /sbin/bacula-fd          (no symbols)
1374      0.0068  /lib/libgcc_s.so.1       (no symbols)
1366      0.0067  [vdso] (tgid:2758 range:0xb7f1f000-0xb7f20000) (no symbols)
1299      0.0064  /lib/tls/i686/cmov/libpthread-2.7.so pthread_mutex_lock
953       0.0047  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_mutex_unlock_usercnt
940       0.0046  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_disable_asynccancel
908       0.0045  /lib/tls/i686/cmov/libpthread-2.7.so __pthread_enable_asynccancel
524       0.0026  /lib/tls/i686/cmov/libpthread-2.7.so __write_nocancel
260       0.0013  /lib/tls/i686/cmov/libpthread-2.7.so __errno_location
242       0.0012  /lib/tls/i686/cmov/libpthread-2.7.so __read_nocancel
205       0.0010  /lib/tls/i686/cmov/libpthread-2.7.so __i686.get_pc_thunk.cx
121      6.0e-04  /lib/tls/i686/cmov/libpthread-2.7.so pthread_mutex_unlock
113      5.6e-04  /lib/tls/i686/cmov/libpthread-2.7.so .text
95       4.7e-04  /lib/tls/i686/cmov/libpthread-2.7.so write
93       4.6e-04  /lib/tls/i686/cmov/libpthread-2.7.so read
76       3.7e-04  /lib/tls/i686/cmov/libpthread-2.7.so open64
33       1.6e-04  /lib/tls/i686/cmov/libpthread-2.7.so close
31       1.5e-04  /lib/ld-2.7.so           (no symbols)
31       1.5e-04  /lib/tls/i686/cmov/libpthread-2.7.so pthread_self
14       6.9e-05  /lib/tls/i686/cmov/libpthread-2.7.so __close_nocancel
1        4.9e-06  /lib/tls/i686/cmov/libpthread-2.7.so pthread_rwlock_rdlock

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] Performance problem with baculas encryption system, John Hemming <=