Temporary /home into the RAM memory

1. Edit /etc/rc.local file.

#!/bin/sh -e
#
# rc.local
#
mount -t tmpfs -o size=1024M tmpfs /home
mkdir /home/username
rsync -av /etc/skel/ /home/username
chown username -R /home/username

exit 0

2. Copy your home folder contents excluding .bash_logout .bashrc and .profile to /etc/skel

3. Edit /etc/fstab file commenting out (adding # in the front of the line) /home line and adding a new line.

tmpfs /home tmpfs defaults,size=1024M 0 0

PS. Set the proper size for fitting your files into RAM.