The book was, as the Wikipedia article says, a fictionalized setting of the An Shi rebellion in ancient China, an event which took more lives than any other war in recorded history, up until World War II (by which time there were a lot more people living).