aqa-tests icon indicating copy to clipboard operation
aqa-tests copied to clipboard

Post test job artifact gzip/pigz takes a very long time on some arch's

Open andrew-m-leonard opened this issue 3 months ago • 5 comments

aqa-tests end of job “gzip & pigz” compression, currently they are both done and both use -9, the highest and slowest compression, this quite frequently takes 30mins+ on some archictures (eg. windows, pLinux). I've seen pLinux take over 1 hour before!

Has it been considered going for a half-way-house, say “-5" ?

andrew-m-leonard avatar Sep 23 '25 10:09 andrew-m-leonard

Can you give some examples of jobs? My concern would be if it's compressing stuff for half an hour that's going to be quite a large artifact and so potentially indicative of other problems.

sxa avatar Sep 25 '25 11:09 sxa

The example I found the other day: https://adoptium.slack.com/archives/C5219G28G/p1758614595564969?thread_ts=1758614530.576229&cid=C5219G28G was an aarch64 windows, and it took 20mins for 1.4Gb

andrew-m-leonard avatar Sep 25 '25 11:09 andrew-m-leonard

This was it https://ci.adoptium.net/view/Test_openjdk/job/Test_openjdk25_hs_extended.openjdk_aarch64_windows/19/console

Probably the disks on these nodes are just rubbish!!

andrew-m-leonard avatar Sep 25 '25 11:09 andrew-m-leonard

Probably the disks on these nodes are just rubbish!!

That seems the most likely option for a desktop windows system IMHO. There are over 150k files in that archive. I seriously doubt the compression is the limiting factor here 🤷🏻

sxa avatar Sep 25 '25 12:09 sxa

Quick test on my (pre-COVID) aarch64 windows laptop (Snapdragon 850 CPU) using the tarball from that job with gzip (not pigz) under WSL rather than cygwin:

  • Compressing the tarball with the default options: 34s
  • Compressing the tarball with gzip -9: 83s
  • Creating and compressing the tar.gz from the extracted files with -9: 57m (the gzip process was barely using 2% of the CPU during that - less that some of the Windows Defender processes which were ~10%)
  • Creating and compressing the tar.gz from the extracted files on my 7-year old Linux laptop with gzip -9: 31s

sxa avatar Sep 25 '25 12:09 sxa