If you suffer from slow `ls` in #linux when listing a lot of files, consider changing the colourisation used by the `ls` command.
A folder with 100,000 files takes 18seconds to list.
BUT after disabling colourisation for setuid/setgid, executable flags, you can reduce this to under 1second :
time ls --color=always
This server was setup for the Ubuntu community to use.