[report] Add --pack-dir to pack verbose dirs into tarballs#4347
[report] Add --pack-dir to pack verbose dirs into tarballs#4347gaurang1988 wants to merge 2 commits into
Conversation
…nto tarballs Signed-off-by: Gaurang Tapase <tapasegaurang@gmail.com>
|
Congratulations! One of the builds has completed. 🍾 You can install the built RPMs by following these steps:
Please note that the RPMs should be used only in a testing environment. |
|
How much it prolongs execution during How much time it will save on extraction? And how much time is needed to additionally untar the tar-ed paths? (that will usually not be needed, I understand, but would like the all pros and cons)? Have you considered |
|
I'll continue my comments here instead of the related issue #4346 In echo'ing @pmoravec's comments, I still do not follow the use case. Do you have a practical example of a large |
|
On a 2-socket 128-core system, , an idle system has over 1300 processes running, which result in: files in each report. Many of the running processes are from the kernel and per CPU core, so will continue to grow. This is by no means the largest system today, compared to 256-core DGX servers with 8 GPUs, 8 NVMe, 8 NICs. Having multiple sosreports extracted creates a huge number of files, and extracting and deleting them all is time consuming. |
|
I agree with Andreas. In my experience, the initial extraction phase can take 30 minutes or longer due to the enormous number of files in /proc and /sys. This is generally not an issue on typical single-user systems, where these directories are of reasonable size. However, on busy large-scale systems the file count becomes extremely high, and the problem is significantly worse when collecting sosreports from dozens (or more) of such large or high-core nodes. While the data in /proc and /sys can occasionally be useful for diagnosis, it is typically only needed after the initial extraction has completed. |
|
I understand and acknowledge the use case, thanks for the numbers. So "just" the second point remains: to fix that, one needs to extend
@TurboTurtle , do you see the second option as sufficient, relying on user's safe usage of this feature..? (or would be a warning in manpages sufficient "coverage"?) |
|
Hi, I can go ahead and make changes according to
@TurboTurtle please let me know if any objections. |
place (e.g. proc/fs/ -> proc/fs.tar) and drop the original tree
files: the top-level archive yields one member instead of millions
when packaged, so compressing again only duplicates that work
--compress-diroption to compress verbose collected directories into tarballs #4346Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines