the simple rule is "juggad" as is always the case in India... everytime i travel in a rajdhani/duronto that provides food and is also for a longer duration, the first thing i do after getting on the train is to tip the attendant Rs 50.
from then on the journey becomes simple and i can have as much and also at any time the food i want.