4 ms·
Plus/minus what? Note that caching on the server can be relevant, and you can't control that from the client. That's one thing that requires care for performa
by gnufx 8y ago
Plus/minus what? Note that caching on the server can be relevant, and you can't control that from the client. That's one thing that requires care for performance measurements on networked filesystems.
- arendtio 8y agoSounds as if you don't trust my statement. Sure there is some variance, but when one is measured in seconds and the other in the tenth of a second it should be clear that it is not a coincidence... But for completeness, I wrote a few loops which should answer your question: =NFS= Normal: https://bin.disroot.org/?8967a0f34b26e512#aTYmbyESfeuqAXS802NHmg4vTvDnsmRixODRGDfoOvg= https://bin.disroot.org/?8967a0f34b26e512#aTYmbyESfeuqAXS802... With exported Variable: https://bin.disroot.org/?c405d7aa74b50ee0#KverJYJEzNhct7CmdWXAELJV/bVJmQP70M6b0bKRu9k= https://bin.disroot.org/?c405d7aa74b50ee0#KverJYJEzNhct7CmdW... ----- =Local= Normal: https://bin.disroot.org/?b94e1d1f58e3edb7#tKszD/tjvwBwepJLunZwpYEmN6xNRPsl94zTc3XC4NU= https://bin.disroot.org/?b94e1d1f58e3edb7#tKszD/tjvwBwepJLun... With exported Variable: https://bin.disroot.org/?d3ac83f1dff9e767#WVODjGnvL1QbOJdWPpTaNGX23TIyVCyktx9iK87X2Wg= https://bin.disroot.org/?d3ac83f1dff9e767#WVODjGnvL1QbOJdWPp... I also tried dropping the cache on the NFS server but that didn't seem to have a major effect on the performance (probably because reading a 15k file index from a local disk doesn't take that long after all).