Investigating open() and close() performance

On another day, the question came up, in how far the performance of open() affects a certain system. In my mind I was going through the need to go to disk and do sync() calls to open a file that didn't exist. Eventually I decided to write a simple tester…