←back to thread

Why is Windows so slow?

(games.greggman.com)
337 points kristianp | 1 comments | | HN request time: 0.206s | source
Show context
prewett ◴[] No.3369039[source]
I suspect it has something to do with NTFS updating access times by default. So every time you do anything with a file, it gets its access time updated (not modification time, access time). I don't have windows to test on, but you could try the suggestions [1][2] below.

[1] http://msdn.microsoft.com/en-us/library/ms940846(v=winembedd...

[2] http://oreilly.com/pub/a/windows/2005/02/08/NTFS_Hacks.html (#8)

replies(4): >>3369044 #>>3369088 #>>3369139 #>>3369288 #
1. lloeki ◴[] No.3369139[source]
Mac OS X does appear to mount with atime but I happened to use this:

    $ cat /Library/LaunchDaemons/com.nullvision.noatime.plist    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
            "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
        <dict>
            <key>Label</key>
            <string>com.nullvision.noatime</string>
            <key>ProgramArguments</key>
            <array>
                <string>mount</string>
                <string>-vuwo</string>
                <string>noatime</string>
                <string>/</string>
            </array>
            <key>RunAtLoad</key>
            <true/>
        </dict>
    </plist>
I don't know if there's anything like relatime.