When calling the flip function, try passing the flag DDFLIP_NOVSYNC (or maybe DDFLIP_DONOTWAIT, I forget). The down side here is that going faster than the v-synch can cause artifacts on the screen ("tearing"), but if you're fine with that then go for it.