[syslog-ng] 3.4 - degraded single threaded performance

Evan Rempel erempel at uvic.ca
Tue Jan 22 00:22:56 CET 2013


That was not more readable, but this is :-)

   8.79%  syslog-ng  [kernel.kallsyms]         [k] unmap_vmas                                                                                                                                                                                                                              â—†
   7.42%  syslog-ng  [kernel.kallsyms]         [k] native_set_pte_at                                                                                                                                                                                                                       â–’
   4.95%  syslog-ng  ld-2.12.so                [.] do_lookup_x                                                                                                                                                                                                                             â–’
   4.40%  syslog-ng  [kernel.kallsyms]         [k] scsi_request_fn                                                                                                                                                                                                                         â–’
   3.57%  syslog-ng  [kernel.kallsyms]         [k] clear_page                                                                                                                                                                                                                              â–’
   3.02%  syslog-ng  libcrypto.so.1.0.0        [.] 0xb9bae                                                                                                                                                                                                                                 â–’
   3.02%  syslog-ng  [kernel.kallsyms]         [k] finish_task_switch                                                                                                                                                                                                                      â–’
   2.75%  syslog-ng  [kernel.kallsyms]         [k] __do_page_fault                                                                                                                                                                                                                         â–’
   2.47%  syslog-ng  ld-2.12.so                [.] _dl_update_slotinfo                                                                                                                                                                                                                     â–’
   2.20%  syslog-ng  [kernel.kallsyms]         [k] _spin_unlock_irqrestore                                                                                                                                                                                                                 â–’
   1.92%  syslog-ng  libcrypto.so.1.0.0        [.] lh_insert                                                                                                                                                                                                                               â–’
   1.65%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_multiplexer_queue                                                                                                                                                                                                                   â–’
   1.65%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] nv_table_add_value                                                                                                                                                                                                                      â–’
   1.65%  syslog-ng  ld-2.12.so                [.] strcmp                                                                                                                                                                                                                                  â–’
   1.37%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] find_eom                                                                                                                                                                                                                                â–’
   1.37%  syslog-ng  libc-2.12.so              [.] _int_malloc                                                                                                                                                                                                                             â–’
   1.10%  syslog-ng  libglib-2.0.so.0.2200.5   [.] g_atomic_int_add                                                                                                                                                                                                                        â–’
   1.10%  syslog-ng  libc-2.12.so              [.] vfprintf                                                                                                                                                                                                                                â–’
   1.10%  syslog-ng  libc-2.12.so              [.] memcpy                                                                                                                                                                                                                                  â–’
   1.10%  syslog-ng  ld-2.12.so                [.] _dl_setup_hash                                                                                                                                                                                                                          â–’
   1.10%  syslog-ng  ld-2.12.so                [.] check_match.12442                                                                                                                                                                                                                       â–’
   1.10%  syslog-ng  ld-2.12.so                [.] _dl_lookup_symbol_x                                                                                                                                                                                                                     â–’
   1.10%  syslog-ng  ld-2.12.so                [.] _dl_name_match_p                                                                                                                                                                                                                        â–’
   1.10%  syslog-ng  [kernel.kallsyms]         [k] __make_request                                                                                                                                                                                                                          â–’
   0.82%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_msg_set_value                                                                                                                                                                                                                       â–’
   0.82%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_reader_work_perform                                                                                                                                                                                                                 â–’
   0.82%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_tags_inc_counter                                                                                                                                                                                                                    â–’
   0.82%  syslog-ng  ld-2.12.so                [.] _dl_relocate_object                                                                                                                                                                                                                     â–’
   0.82%  syslog-ng  ld-2.12.so                [.] __tls_get_addr                                                                                                                                                                                                                          â–’
   0.82%  syslog-ng  [kernel.kallsyms]         [k] native_flush_tlb                                                                                                                                                                                                                        â–’
   0.82%  syslog-ng  [kernel.kallsyms]         [k] error_exit                                                                                                                                                                                                                              â–’
   0.55%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_msg_ack                                                                                                                                                                                                                             â–’
   0.55%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] log_queue_fifo_push_tail                                                                                                                                                                                                                â–’
   0.55%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] nv_table_reserve_table_entry                                                                                                                                                                                                            â–’
   0.55%  syslog-ng  libsyslog-ng-3.4.0rc2.so  [.] iv_inited                                                                                                                                                                                                                               â–’
   0.55%  syslog-ng  libpthread-2.12.so        [.] pthread_mutex_unlock                                                                                                                                                                                                                    â–’
   0.55%  syslog-ng  libglib-2.0.so.0.2200.5   [.] g_static_private_get                                                                                                                                                                                                                    â–’
   0.55%  syslog-ng  libc-2.12.so              [.] _int_free                                                                                                                                                                                                                               â–’
   0.55%  syslog-ng  libc-2.12.so              [.] __strchrnul                                                                                                                                                                                                                             â–’
   0.55%  syslog-ng  libc-2.12.so              [.] __vsnprintf_chk                                                                                                                                                                                                                         â–’
   0.55%  syslog-ng  libaffile.so              [.] affile_dw_queue                                                                                                                                                                                                                         â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] native_set_pmd                                                                                                                                                                                                                          â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] __do_fault                                                                                                                                                                                                                              â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] mmap_region                                                                                                                                                                                                                             â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] kmem_cache_alloc                                                                                                                                                                                                                        â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] path_put                                                                                                                                                                                                                                â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] block_sync_page                                                                                                                                                                                                                         â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] get_request                                                                                                                                                                                                                             â–’
   0.55%  syslog-ng  [kernel.kallsyms]         [k] __wait_on_bit                                                                                                                                                                                                                           â–’


>
> On 01/21/2013 02:49 PM, Balazs Scheidler wrote:
>> ----- Original message -----
>>   > Evan Rempel <erempel at uvic.ca <mailto:erempel at uvic.ca>> writes:
>>   >
>>   > > I took one of my syslog-ng 3.3 configuraiton files, which happens to
>>   > > read from a named pipe (/var/local/somename) and ran version 3.4rc2
>>   > > against it.
>>   > >
>>   > > I was only able toread bout 2,000 messages/sec through the pipe.
>>   > > With threaded(yes) I could read 100,000+/sec.
>>   > > With syslog-ng 3.3 I could read 100,000+/sec
>>   > >
>>   > > Is this the expected behaviour of threaded(no) with syslog-ng 3.4
>>   >
>>   > Nope, it definitely is not.
>>   >
>>
>> sounds like a bug to me too. I wonder how a perf output would look like.
>>
>> Does it saturate the cpu at 100% while this happens?
>>
>>
>>
>> ______________________________________________________________________________
>> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
>> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>>
>
>


-- 
Evan Rempel                                      erempel at uvic.ca
Senior Systems Administrator                        250.721.7691
Data Centre Services, University Systems, University of Victoria




More information about the syslog-ng mailing list