Differences for win32 versus Linux open() performance
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 5 21:03:30 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Szakmeister wrote:
> On Fri, Jun 5, 2009 at 3:45 PM, John Arbash
> Meinel<john at arbash-meinel.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I'm working on profiling initial commit performance. I ended up creating
>> a tree that has all the files of mysql, but without any content. It
>> still took ~9s to commit.
>>
>> So I started digging further, and I found that *just*:
>> open(fname, 'rb').close()
>>
>> For 7k files takes 3.6s on win32. On a much older linux sytem, it only
>> takes 0.6s. I assume this is the issues with opening a file locks its
>> path, etc.
>
> This could partially be because of antivirus tools. They have a
> tendency to hook a number of system calls, that dramatically slows
> down performance.
>
> -John
>
Which is why I don't run any, and instead take a lot more caution wrt
what I download.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkopehIACgkQJdeBCYSNAAP5fwCgosq4TMQlFkLz0DqiMqKjmKDC
BLYAn0aCn48aPNTXVuNca05pWx4VLWXy
=KKgI
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list