[Pvfs2-developers] Listing performance patch

2008-09-03 Thread Bart Taylor
Hey guys, Attached is a small patch that increases ls and pvfs2-ls performance. It increases some #defines from 32/64 to 512. I did not see any change for small directories, but listing speeds were increased up to 26% for large directories (100,000+ files). Long listing performance with ls and pv

Re: [Pvfs2-developers] Listing performance patch

2008-09-03 Thread Sam Lang
Hi Bart, Thanks for the patch. For users with that many files in a directory, using pvfs2-ls is probably a good alternative. The kernel does readdir requests 32 entries at a time, so increasing MAX_NUM_DIRENTS won't help for ls. Long listings requires getting the size of files, which i