Tom Eastep wrote:

> 
> With the current implementation:
> 
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.783s
> user    0m0.904s
> sys     0m0.132s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.776s
> user    0m1.000s
> sys     0m0.068s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.786s
> user    0m0.888s
> sys     0m0.112s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.770s
> user    0m0.888s
> sys     0m0.068s

With Andrew's proposed change (previous email had copy/paste error):

> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.182s
> user    0m0.104s
> sys     0m0.060s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.188s
> user    0m0.156s
> sys     0m0.052s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.187s
> user    0m0.132s
> sys     0m0.060s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.182s
> user    0m0.088s
> sys     0m0.076s
> gateway:~/test # time shorewall show log > /dev/null
> 
> real    0m0.195s
> user    0m0.136s
> sys     0m0.068s
> gateway:~/test #
> 
> Log file was ~2MB and contained nothing but Shorewall messages.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to