Process arrival pattern aware algorithms for acceleration of scatter and gather operations