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
- Syntax highlighting in less
- Disabling reverse dns lookups in ssh
- Calculating SHA Checksums
- Enabling remote desktop on a VirtualBox Machine
- Users with /bin/false shell to login on vsftpd
- Redirecting tcp / udp ports with socat
- Booting from an ISO image using qemu
- How to extract a deb package without installing
- How to record a linux session
- Recursively mput with smbclient
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
