MySQL tmp and tmpfs disk
In my opinion, the RAM given over to a RAM disk would be better utilized for other caching.  If InnoDB, give it to innodb_buffer_pool_size.  For MyISAM, give a little to key_buffer_size, leave most for data caching, which the OS does.