added --all_portion option
Merge branch 'master' of github.com:mingxiao/gp-test