Home » LPI » 117-201 » An ext2 filesystem is used by an application that frequently reads a large number of small files. Performance can be improved by mounting the filesystem with the _________ option.
An ext2 filesystem is used by an application that frequently reads a large number of small files. Performance can be improved by mounting the filesystem with the _________ option.
A. atime
B. noatime
C. noexec
D. nosuid
E. sync
Correct Answer: B
Explanation/Reference:
Explanation: Linux records information about when files were created and last modified as well as when it was last accessed. There is a cost associated with recording the last access time. The ext2 file system of Linux has an attribute that allows the super-user to mark individual files such that their last access time is not recorded. This may lead to significant performance improvements on often accessed frequently changing files.
Reference: http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap6sec73.html
Incorrect Answers
A:The atime option will record the last access time for each file which may degrade system performance.
C:Noexec is a mount flag to not allow any executables to be run from the filesystem. This won’t work since the files are likely to be text files.
D:Nosuid is a mount flag to disallow any setuid binaries on the filesystem. This will not improve system performance.
E:The sync command is used to write the buffers to disk. This will not improve system performance.
Download Printable PDF. VALID exam to help you PASS.
|
|