For the eclipse on August 21, 2017, maximum totality is 2 minutes and 40.2 seconds.
If you want to experience the eclipse for this total length of time, you should go to south of Carbondale, Illinois, in Giant City State Park.