Save space between Vivado versions

Updated: Mar 14, 2021

or Redundant Data Find...

It's often that developers need to use multiple versions of a tool. In this case: Vivado.

IDEs can become quite hefty and use up a lot of space. This guide only works for Linux.

My Xilinx tools are installed under /opt/Xilinx so I'd like to reduce this almost 200GB install.

First install rdfind:

sudo apt install rdfind

This command will replace all duplicate files with hard links. So to your system they will look normal, but in reality it only keeps one copy of the duplicate!

Now let's run it:

sudo rdfind -makehardlinks true /opt/Xilinx

We saved 77GB! And this is just between 2019.2 and 2020.2 Vitis/Vivado versions.

References/Previous Posts

I came across rdfind on r/fpga subreddit:

This also came up in the response thread

Thanks to /u/deNederlander for correcting me and pointing out that -dryrun false doesn't need to be there.

Xilinx logo from [link]

553 views0 comments