diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2017-06-29 11:08:37 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2017-08-17 04:06:06 +0200 |
commit | 7057abcfcde4a7059448719e9abe08d18c9ec149 (patch) | |
tree | aabb270557bfae7ea8c5b185b31259ecd3649d0a /testdata/traffic-sample-very-short.model | |
parent | 74ebcf6dfc84b6aab6838fa99e12808eb6b913d9 (diff) | |
download | samba-7057abcfcde4a7059448719e9abe08d18c9ec149.tar.gz |
scripts: Scripts to replay and generate samba traffic
Scripts to generate representative network traffic and replay this to a
samba instance. For load testing, performance profiling and capacity
planning.
traffic_learner process a file generated by traffic_summary and
generate a model that can be used by traffic_replay to
generate samba network traffic.
traffic_replay Replay a summary file generated by traffic_summary, or
use a model created by traffic_learner to generate
network traffic.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Pair-programmed-with: Garming Sam <garming@catalyst.net.nz>
Pair-programmed-with: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Tim Beale <timbeale@catalyst.net.nz>
Diffstat (limited to 'testdata/traffic-sample-very-short.model')
-rw-r--r-- | testdata/traffic-sample-very-short.model | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/testdata/traffic-sample-very-short.model b/testdata/traffic-sample-very-short.model new file mode 100644 index 00000000000..8e299eb19e1 --- /dev/null +++ b/testdata/traffic-sample-very-short.model @@ -0,0 +1,60 @@ +{ + "ngrams": { + "-\t-": { + "cldap:3": 1, + "ldap:3": 1 + }, + "-\tldap:3": { + "wait:0": 1 + }, + "wait:0\trpc_netlogon:29": { + "kerberos:": 1 + }, + "rpc_netlogon:29\tkerberos:": { + "ldap:3": 1 + }, + "cldap:3\twait:0": { + "rpc_netlogon:29": 1 + }, + "-\tcldap:3": { + "cldap:3": 1 + }, + "ldap:3\twait:0": { + "ldap:2": 1 + }, + "cldap:3\tcldap:3": { + "cldap:3": 1, + "wait:0": 1 + }, + "kerberos:\tldap:3": { + "-": 1 + } + }, + "conversation_rate": [ + 2, + 0.12712717056274414 + ], + "dns": { + "1": 9, + "0": 9 + }, + "query_details": { + "rpc_netlogon:29": { + "-": 1 + }, + "cldap:3": { + "\t\t\tNetlogon\t\t\t": 3 + }, + "ldap:3": { + "\t\t\tsubschemaSubentry,dsServiceName,namingContexts,defaultNamingContext,schemaNamingContext,configurationNamingContext,rootDomainNamingContext,supportedControl,supportedLDAPVersion,supportedLDAPPolicies,supportedSASLMechanisms,dnsHostName,ldapServiceName,serverName,supportedCapabilities\t\t\t": 1, + "2\tDC,DC\t\tcn\t\t\t": 1 + }, + "ldap:2": { + "\t\t\t\t\t\t": 1 + }, + "kerberos:": { + "": 1 + } + }, + "cumulative_duration": 0.39243292808532715 +}
\ No newline at end of file |