From f07902cdc092123d25f35321c8c74e446863d52e Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Thu, 14 Feb 2013 10:55:36 -0800 Subject: [PATCH] ovs-bugtool: Change the default output type. In my tests, I see that creating a tar.gz takes a lot less time than creating a tar.bz2. The difference in compressed size of the debug bundle is not much different when either of the above is used. So, use tar.gz as the default debug bundle type. Test results in my setup: For an uncompressed debug bundle size of 250MB(95% of it is log files), bz2 takes 50 seconds whereas gz takes 8 seconds. xz took 90 seconds. gz, bz2 and xz compressed the debug bundle into 144M, 139M and 131M respectively. Signed-off-by: Gurucharan Shetty --- utilities/bugtool/ovs-bugtool.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in index ce6e43759..94a325b4b 100755 --- a/utilities/bugtool/ovs-bugtool.in +++ b/utilities/bugtool/ovs-bugtool.in @@ -416,7 +416,7 @@ def main(argv=None): return 1 output_file = None - output_type = 'tar.bz2' + output_type = 'tar.gz' output_fd = -1 # Default value for the number of rotated logs. -- 2.43.0