Millions of files per directory, may well be a mistake...

BUT there are some very smart use cases that might take advantage of GPFS having good performance with large directories --

because GPFS uses extensible hashing -- it is better to store millions of files in a single GPFS directory than artificially scatter them among directories based on the mistaken notion that large directories are bad.  (Yeah, they are in most implementations, but not in GPFS.)