PURPOSE: This randomized phase II trial is studying how well giving one of two chemotherapy regimens containing carboplatin, gemcitabine, and paclitaxel works in treating patients undergoing surgery for newly diagnosed primary stage IIIC or stage IV ovarian cancer, fallopian tube cancer, or primary peritoneal cancer.