Support epoch option and defalt to 10000 epoch.