Hashing is much better. The obtained buckets can be distributed on a very large number of machines (a machine can have more than one bucket but no bucket is split among machines).
Then each time a page is desired a quick hash function computation points straight to the right machine and the right smallish file on disk (or in memory) on that machine which is queried to find the page in question.
So hashing makes massive distribution very easy and very efficient.