.. _ramdisk_dataset: 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 -------- .. code:: shell mendevi download ramdisk.db.xz.torrent * `ramdisk.json.xz `_ (481 Ko). * `ramdisk.db.xz.torrent `_ (289 Mo). Plots ----- Effect on encoding ^^^^^^^^^^^^^^^^^^ .. code:: shell mendevi plot '' -x rate -y energy -c enc_ram -wx profile -e enc_scenario -s 'sharey="row"' 'sharey=False' .. image:: /_static/media/ramdisk_encode.svg :alt: Variation of encoding energy depending of device. Effect on decoding ^^^^^^^^^^^^^^^^^^ .. code:: shell mendevi plot '' -x rate -y energy -c dec_ram -wx profile -e dec_scenario -s 'sharey="row"' 'sharey=False' .. image:: /_static/media/ramdisk_decode.svg :alt: Variation of decoding energy depending of device. Reproduce --------- .. code:: shell mendevi prepare park_joy.mkv -p sd mendevi prepare park_joy.mkv -p fhd mendevi encode -r 5 -c libx264 -c libsvtav1 -e fast -e medium -t 8 -t 16 --ram yes -d ram_yes.db reference* mendevi encode -r 5 -c libx264 -c libsvtav1 -e fast -e medium -t 8 -t 16 --ram no -d ram_no.db reference* mendevi decode -r 5 --family cpu --ram yes -d ram_yes.db sample* mendevi decode -r 5 --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 -d ramdisk.db --no-psnr --no-ssim --no-vif --no-vmaf reference* sample*