Feature/Performance Counter: Difference between revisions

From SambaWiki
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
|perfcount_test.so || A simple module which writes packet data out to the samba.log file every 50 operations. || [[tstecher]] || <font color="green">Completed</font>
|perfcount_test.so || A simple module which writes packet data out to the samba.log file every 50 operations. || [[tstecher]] || <font color="green">Completed</font>
|}
|}

<br>


=Future Development=
=Future Development=

Latest revision as of 05:44, 4 May 2009

Overview

Samba's new Performance Counter infrastructure provides PDU based statistics for the Samba file server. Each incoming SMB creates a call to the generalized perfcount framework, from which a backend module can track PDU type, size, latency, and user.

Two backend modules are currently implemented.

Components

Component Description Developer Status
SMBD Infrastructure Implement a dispatch table API which different backends can plug into. tstecher Completed
perfcount_onefs.so A module specific to the OneFS operating system which makes syscalls storing aggregate SMB performance measurements in kernel memory. These statistics are later retrieved via a command line tool. tstecher Completed
perfcount_test.so A simple module which writes packet data out to the samba.log file every 50 operations. tstecher Completed


Future Development

  • Implement a more generic Unix backend which logs to a database.
  • Integrate with Holger's SMB Traffic Analyzer backend and CLI tools.
  • Remove deprecated START_PROFILE()/END_PROFILE() subsystem