Bug 636103 - RFE: Logging overhead: Re-work internal logging API to reduce overhead when not logging
Summary: RFE: Logging overhead: Re-work internal logging API to reduce overhead when n...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: libvirtTodoScale
TreeView+ depends on / blocked
 
Reported: 2010-09-21 14:17 UTC by Daniel Berrangé
Modified: 2015-01-15 12:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-15 12:16:53 UTC
Embargoed:


Attachments (Terms of Use)

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:
1.
2.
3.
  
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


Note You need to log in before you can comment on or make changes to this bug.