RAM Disk Dataset

Compare the performance of ffmpeg when videos are read and written to RAM, and when they are read and written to the hard drive.

Download

mendevi download ramdisk.db.xz.torrent

Plots

Effect on encoding

mendevi plot ramdisk.db -x rate -y energy -c enc_ram -wx profile -e enc_scenario -s 'sharey="row"' 'sharey=False'
Variation of encoding energy depending of device.

Effect on decoding

mendevi plot ramdisk.db -x rate -y energy -c dec_ram -wx profile -e dec_scenario -s 'sharey="row"' 'sharey=False'
Variation of decoding energy depending of device.

Conclusion

The energy and time required to encode and decode a video does not depend on whether it is read and written from and to an SSD or in RAM.

Reproduce

mendevi prepare park_joy.mkv -p sd
mendevi prepare park_joy.mkv -p fhd

mendevi encode -r5 -c libx264 -c libsvtav1 -e fast -e medium -t8 -t16 --ram yes -d ram_yes.db reference*
mendevi encode -r5 -c libx264 -c libsvtav1 -e fast -e medium -t8 -t16 --ram no -d ram_no.db reference*
mendevi decode -r5 --family cpu --ram yes -d ram_yes.db sample*
mendevi decode -r5 --family cpu --ram no -d ram_no.db sample*
mendevi merge ram_yes.db ram_no.db && mv merge_ram_yes_ram_no.db ramdisk.db

mendevi probe --no-psnr --no-ssim --no-vif --no-vmaf -d ramdisk.db reference* sample*