by the way, if you change the pstats frequency to 10 seconds, the math becomes
easier to do :-)
you can also change pstats so that it zeros the counters after each report (
resetCounters = 'on' )
David Lang
On Wed, 9 Oct 2013, David Lang wrote:
Date: Wed, 9 Oct 2013 13:54:40 -0700 (PDT)
From: David Lang <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: Robert <[email protected]>
Cc: rsyslog-users <[email protected]>
Subject: Re: [rsyslog] perfomance tweaking
I don't understand your question, the data is already in the pstats output
Wed Oct 9 14:10:16 2013: imuxsock: submitted=3 ratelimit.discarded=0
ratelimit.numratelimiters=3
Wed Oct 9 14:10:16 2013: action 1: processed=24393988 failed=0
Wed Oct 9 14:10:16 2013: imudp(*:514): submitted=40566658
Wed Oct 9 14:10:16 2013: imudp(*:514): submitted=0
Wed Oct 9 14:10:16 2013: resource-usage: utime=123027297 stime=170668054
maxrss=16052540 minflt=4690530 majflt=0 inblock=24 oublock=236848
nvcsw=4243465 nivcsw=95855
Wed Oct 9 14:10:16 2013: main Q: size=16173779 enqueued=40565767 full=0
discarded.full=0 discarded.nf=0 maxqsize=16230763
Wed Oct 9 14:10:46 2013: imuxsock: submitted=3 ratelimit.discarded=0
ratelimit.numratelimiters=3
Wed Oct 9 14:10:46 2013: action 1: processed=27501988 failed=0
Wed Oct 9 14:10:46 2013: imudp(*:514): submitted=47124137
Wed Oct 9 14:10:46 2013: imudp(*:514): submitted=0
Wed Oct 9 14:10:46 2013: resource-usage: utime=139695763 stime=198527819
maxrss=19379688 minflt=5653736 majflt=0 inblock=24 oublock=266616
nvcsw=4811818 nivcsw=97742
Wed Oct 9 14:10:46 2013: main Q: size=19623475 enqueued=47123463 full=0
discarded.full=0 discarded.nf=0 maxqsize=19642827
these reports are 30 seconds apart,
so imudp started with submitted=40566658 and ended with submitted=47124137
for 6,557,479 new messages or 218,582 per second
action1 started with processed=24393988 and ended with processed=27501988 for
3,108,000 messages written or 103,600 per second
after the queue was full you had
Wed Oct 9 14:10:46 2013: imuxsock: submitted=3 ratelimit.discarded=0
ratelimit.numratelimiters=3
Wed Oct 9 14:10:46 2013: action 1: processed=27501988 failed=0
Wed Oct 9 14:10:46 2013: imudp(*:514): submitted=47124137
Wed Oct 9 14:10:46 2013: imudp(*:514): submitted=0
Wed Oct 9 14:10:46 2013: resource-usage: utime=139695763 stime=198527819
maxrss=19379688 minflt=5653736 majflt=0 inblock=24 oublock=266616
nvcsw=4811818 nivcsw=97742
Wed Oct 9 14:10:46 2013: main Q: size=19623475 enqueued=47123463 full=0
discarded.full=0 discarded.nf=0 maxqsize=19642827
Wed Oct 9 14:11:16 2013: imuxsock: submitted=3 ratelimit.discarded=0
ratelimit.numratelimiters=3
Wed Oct 9 14:11:16 2013: action 1: processed=33695988 failed=0
Wed Oct 9 14:11:16 2013: imudp(*:514): submitted=53654000
Wed Oct 9 14:11:16 2013: imudp(*:514): submitted=0
Wed Oct 9 14:11:16 2013: resource-usage: utime=169091294 stime=226619548
maxrss=19833880 minflt=6075432 majflt=0 inblock=24 oublock=325944
nvcsw=5969014 nivcsw=100429
Wed Oct 9 14:11:16 2013: main Q: size=19959523 enqueued=53653511 full=168
discarded.full=0 discarded.nf=0 maxqsize=20000000
imudp started with submitted=47124137 and eded with submitted=53654000 for
6,529,836 new messages or 217,662 per second
action 1 started with processed=27501988 and ended with processed=33695988
for 6,196,000 messages written or 206,446 per second
David Lang
On Wed, 9 Oct 2013, Robert wrote:
Date: Wed, 09 Oct 2013 16:34:42 -0400
From: Robert <[email protected]>
To: David Lang <[email protected]>
Cc: Rainer Gerhards <[email protected]>, rmkml <[email protected]>,
rsyslog-users <[email protected]>
Subject: Re: perfomance tweaking
Is there any documentation on how to cretae throughput report (stats) ?
Robert.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T
LIKE THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.