Subject Re: Large delays ( > 10 seconds ) for queries on small databases
Author
Seems to be a sheduler issue it can be investigated by doing a diff of kernel configs 
according to this forum post (also on ubuntu there are similar kernels)

Desktop kernel is configured differently and less conservative than default in the following areas:

- Processor type and features:
- Timer frequency, (set to 300Hz on '-default' and 1000Hz on '-desktop').
- Preemption model, (set it to the highest option 'Low latency desktop'.)