To increase performance, run the mapping on a Secure Agent machine with a large amount of memory. Increase the index and data cache sizes as high as you can without straining the machine.
If the Secure Agent machine has enough memory, increase the cache so it can hold all data in memory without paging to disk.