Improving ext3 filesystem performance with directory indexing
Directory indexing feature improves file access time in large directories or directories containing many files by using hashed binary trees to store the directory information. It is a good way to enable it for example on a web server which has thousands of files in a single directory:
tune2fs -O dir_index /dev/sda3
Directory index will be created for new files but you can regenarate index with:
e2fsck -D -f /dev/sda3
- 0 Comment
- Murat Demirten
- 16 Apr 2008, 20:55
-
You must be login first or sign-up for an account to post comments.
Maybe you should look at these also:
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Redirecting tcp / udp ports with socat
- Syntax highlighting in less
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Disabling reverse dns lookups in ssh
- dropbear rsa key problem
- Routing packets back from incoming interface
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Deleting A File By It's Inode Value
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
