Skip to content

Commit

Permalink
ovs-bugtool: Change the default output type.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
shettyg committed Feb 14, 2013
1 parent 65e0f34 commit f07902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/bugtool/ovs-bugtool.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f07902c

Please sign in to comment.