>Hi All, > >I have built an application which does fopen, fclose and unlink. When the file >is created for the first time using fopen and when it is deleted using unlink it takes 10-15 ms to complete that opera tion. If I call fclose and then fopen once the file has been created then fopen takes 0 ms. > >PS this has been tested on other OSes also and I have seen this behavior only >on Solaris and I hav e tested this on multiple Solaris machines. > >I am using Forte 6u2 and my machine configuration is : >SunOS 5.8 sun4u sparc SUNW, Ultra-80
This is really not the proper place to ask questions about Solaris 8; Solaris 10 questions are generally acceptable because of the close relationship with OpenSolaris, but Solaris 8 is just "way too old". And you don't give us much to go on; what type of filesystem are you using? The create will be dominated by time needed for open(..., O_CREAT, ) Casper _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
