For my longhaul flights from YVR-HKG I usually take 2 melatonin's right after the dinner service and I usually end up waking up with about 2-3 hours left on the flight. Although I'm usually taking CX889 so I make sure I tire myself out the day before.