Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Speeding up disk access (disable the date of last access)

Tips & Tweaks


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-10-2008
Member
 
Join Date: May 2008
Posts: 239
Speeding up disk access (disable the date of last access)
  

Most operating systems use existing file systems with advanced features: rights management, logging ...
Among other things, NTFS (Windows) and ext3 (Linux) are capable of recording the date of last access to a file.

If this is useful for controlling when a file has been accessed, it means that for every reading file there a. .. writing hard!

From performance point of view is absurd.

Unless we absolutely need this feature (secure servers, traceability ...), you can disable it.
Some experts believe that Linux kernel can earn up to 10% in disk performance.


Under Windows 2000/XP/2003/Vista (NTFS only)

Open the Registry Editor (regedit) and go to: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ FileSystem
and create the variable (right-click New, DWORD): NtfsDisableLastAccessUpdate
with the value 1

The change would take effect immediately.

Linux

Edit / etc / fstab and add options and relatime nodiratime to the partition concerned.

Example:

# / Etc / fstab: static file system information.
#
# <file System> <mount point> <type> <options> <dump> <pass>
proc / proc defaults 0 0
/ dev/sda1 / ext3 defaults, errors = remount-ro, relatime, nodiratime 0 1
/ dev/sda2 none swap sw 0 0

Then go your disk (or restart for the root).

Note: relatime does not disable write access during certain software files need to know the date of last access. There is the option to disable completely noatime records in file access. Nodiratime disables the records when accessing files. Watch the mount manual for more information.

Note 2: All the Linux kernel does not have the option relatime. In this case, use noatime.

Reply With Quote
Reply

  TechArena Community > Software > Tips & Tweaks
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Speeding up disk access (disable the date of last access)"
Thread Thread Starter Forum Replies Last Post
Grouping dates in Access by date components DeepikaP Windows Software 4 04-02-2011 06:12 PM
Access - Managing foreign date format Vodka Windows Software 5 14-01-2010 08:34 PM
Modifying date in access GlassFish Windows Software 5 04-01-2010 07:48 AM
Need help with date functions in Access. Sachit Software Development 1 04-02-2009 05:46 PM
Date() function problem in Access 2000. Jerzy Software Development 3 30-07-2008 03:44 PM


All times are GMT +5.5. The time now is 10:49 AM.