Do not pour too much water. Just an inch over the pasta.
If the whistle goes on, then switch off, keep for a couple of minutes, and release the pressure.
The cooking time depends on the pasta. Most of the pastas get cooked with just the steam.
If you feel your pasta is dry, add some coconut milk and give it a simmer till hot.