Bug 636103

Summary: RFE: Logging overhead: Re-work internal logging API to reduce overhead when not logging
Product: [Community] Virtualization Tools Reporter: Daniel BerrangĂ© <berrange>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 12:16:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 636028    

Description Daniel Berrangé 2010-09-21 14:17:20 UTC
Description of problem:
Profiling the libvirtd daemon shows logging APIs high in the profile. This needs to be eliminated to ensure low CPU overheads for libvirtd.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Daniel Berrangé 2015-01-15 12:16:53 UTC
This was addressed in a series of commits

commit 975b2392c3fe1c5ef904c18f8a3bd7a7403798a5
Author: Daniel P. Berrange <berrange>
Date:   Fri Feb 28 13:55:11 2014 +0000

    Switch to filtering based on log source name instead of filename

commit 27f2edf96c1fca1aafaff416e9a44bd962c4cbc4
Author: Daniel P. Berrange <berrange>
Date:   Mon Feb 24 17:22:14 2014 +0000

    Reduce performance overhead of the global log buffer