Closed igorwojda closed 1 year ago
In my setup the cache retrieval step is the longest step for each action:
It takes around 3-4 minutes to download and extract a 515MB cache file:
Host OS Ubuntu 22
Host Internet connection speed: This file wget http://speedtest.novoserve.com/files/10GB.bin download speed is 40-55MB/s
wget http://speedtest.novoserve.com/files/10GB.bin
Host CPU: Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz (12 cores)
Host I/O hdparm -Tt /dev/sda
hdparm -Tt /dev/sda
d if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
Config
- uses: actions/cache@v3 with: path: ~/.gradle key: gradle-${{ hashFiles('gradle-checksums.txt') }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} restore-keys: | gradle-${{ hashFiles('gradle-checksums.txt') }}-
Questions
FIY: It looks like all runners are reusing Gradle cache (/home/ubuntu/.gradle), so for my setup actions/cache is not required at all (still it would be nice to have the ability to utilize local cache).
/home/ubuntu/.gradle
actions/cache
In my setup the cache retrieval step is the longest step for each action:
It takes around 3-4 minutes to download and extract a 515MB cache file:
Host OS Ubuntu 22
Host Internet connection speed: This file
wget http://speedtest.novoserve.com/files/10GB.bin
download speed is 40-55MB/sHost CPU: Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz (12 cores)
Host I/O
hdparm -Tt /dev/sda
d if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
Config
Questions