Process half of cheeses in a food processor until smooth, stopping to scrape down sides.
Transfer to a bowl.
Process remaining cheeses, sugar, salt, and pepper in food processor until smooth, stopping to scrape down sides. Stir into cheese mixture in bowl; stir in pimiento and mayonnaise.