[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use lutimens
From: |
Eric Blake |
Subject: |
Re: use lutimens |
Date: |
Sat, 10 Oct 2009 15:07:29 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jim Meyering on 10/10/2009 1:35 PM:
> Those look fine. Thanks!
> I compared the performance of your modified touch
> on a tmpfs file system on a system running rawhide,
> creating 100,000 empty files (names 1..100,000), and found
> no significant difference when running touch with no options.
Try it again with 'touch -a' or 'touch -m'. The savings come when
changing only one of the two timestamps: previously, touch had to stat()
to learn the time to preserve, as well as gettime() to learn what time to
change; but the new code can rely on the kernel to do both of those actions.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkrQ95EACgkQ84KuGfSFAYBGKwCggD2ovcUqp3uJSjumLGV2Is6X
xwcAnRcOYUqYEBSLQvr9qFRHtZ+pyhcW
=KOwf
-----END PGP SIGNATURE-----