Ram and virtual memory size are probably not related to you latency issues.
By the way, the "normal" recommendation for virtual memory is to set it at 1.5 times the size of the physical memory. In your case that would be 12GB of virtual memory. That said, unless you are running a lot of stuff at once, you shouldn't need much virtual memory with 8GB of real memory. Disks are cheap - set the virtual memory to at least 12GB.
XP mode under Win 7 is some kind of virtual machine environment (I don't know much about it). It must add some execution overhead. That might be the real source of your latency. However, you haven't said what kind of latency you are experiencing and your hardware setup info is critical to know for any kind of problem solving.
--Larry