the SFO-PEK flight will definitely have lunch after takeoff and lunch before landing. There are usually snacks between meals. Assuming we are talking about coach I highly doubt they would serve the meal at a different time than it is scheduled. Personally, I don't see a reason to get up early. Just sleep when you are tired, and since the arrival in PEK is in the afternoon, one can just head to bed early that night.