Excellent question! It is indeed filesystem-dependent. Such performance metrics are hard to come by, since there are so many variables, and to do a good apples-apples comparison, you need the same computer with the same disks and install multiple OS's. But it may not be necessary, really, to get such statistics. One can look at the filesystem architecture, directory handling semantics, and conclude one might be better than the other.
Unforatunally, I cannot provide specifics on JFS nor NTFS. However, ReiserFS and modern versions of ext2 (on filesystems created with -O DIR_INDEX), file creation and lookup are very fast; they both use a hash index to find files. So if you know the name of the file, it can be found almost instantly (as I understand it and have experienced). On older versions of ext2, things really started to slow down after the directory entry itself extended to one or more indirect blocks -- maybe 1000 or so.
You do know one way to store large amounts of files is to create a directory hierarchy that is keyed on the filenames themselves? So files named "ergo1802.txt" might be stored in:
I reinstalled my Linux box with RedHat 7.2 and used the ext3 journaling file system. This thing is a pig now. There isn't much running on the box, and performance is sad. (1 Reply)
Hi all, I have a php file that grabs xml, parses it and updates my db accordingly. I want to automate the execution of this process, rather than having to hit the url manually.
I have been looking into using cron to execute a script to do this, however i'm not exactly sure what command i would... (1 Reply)
hi,
in my application, i have set up to capture SIGINT and execute a handler.the problem is whenever i hit C-c, multiple SIGINT are sent to the application.I have blocked the SIGINT right after catching the first one but it is unsuccessful.Here is what i do :
jmp_buf main_loop;
int... (1 Reply)
I have a unix shell script (ex.sh) written.
How to find out how many users (incl. myself) have run this .sh ?
I can insert code snipet at top of script if need be.
- Ravi (2 Replies)
Hello,
I'm having trouble looking for info for SUSIE on this CVE-2012-4681.
This is basically the newest Java hit. It is mostly a web browser issue but I would like to see if the versions on our servers are vulnerable. I already found the pages/info for Solaris and RHEL.
Any help would be... (4 Replies)
Hello,
I'm having an issue with VNC. Security at work says that they scanned my servers (Solaris, RHEL, SLES) and found that you don't need a password to access a VNC session. I have tested this and you can't login to the VNC session without a password. Can someone tell what the Retina scanner... (1 Reply)
Hello,
I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code
<input name="tos_accepted" id="tos_accepted" class="button" type="submit" value="Yes, I Agree"/>
<input name="tos_discarded" id="tos_discarded"... (1 Reply)
Hi Gurus,
I need to merge two files.
file1 (small file, only one line)
this is first linefile2 (large file)
abc
def
ghi
... I use below command to merge the file, since the file2 is really large file, the command read whole file2, the performance is not good.
cat file1 > file3... (7 Replies)
Discussion started by: green_k
7 Replies
LEARN ABOUT REDHAT
fs
FILESYSTEMS(5) Linux Programmer's Manual FILESYSTEMS(5)NAME
filesystems - Linux filesystem types: minix, ext, ext2, ext3, xia, msdos, umsdos, vfat, proc, nfs, iso9660, hpfs, sysv, smb, ncpfs
DESCRIPTION
When, as is customary, the proc filesystem is mounted on /proc, you can find in the file /proc/filesystems which filesystems your kernel
currently supports. If you need a currently unsupported one, insert the corresponding module or recompile the kernel.
In order to use a filesystem, you have to mount it, see mount(8) for the mount command, and for the available mount options.
Below a short description of a few of the available filesystems.
minix is the filesystem used in the Minix operating system, the first to run under Linux. It has a number of shortcomings: a 64MB
partition size limit, short filenames, a single time stamp, etc. It remains useful for floppies and RAM disks.
ext is an elaborate extension of the minix filesystem. It has been completely superseded by the second version of the extended
filesystem (ext2) and has been removed from the kernel (in 2.1.21).
ext2 is the high performance disk filesystem used by Linux for fixed disks as well as removable media. The second extended filesystem
was designed as an extension of the extended file system (ext). ext2 offers the best performance (in terms of speed and CPU usage)
of the filesystems supported under Linux.
ext3 is a journaling version of the ext2 filesystem. It is easy to switch back and forth between ext2 and ext3.
ext3 is a journaling version of the ext2 filesystem. ext3 offers the most complete set of journaling options available among journaling
filesystems.
xiafs was designed and implemented to be a stable, safe filesystem by extending the Minix filesystem code. It provides the basic most
requested features without undue complexity. The xia filesystem is no longer actively developed or maintained. It was removed from
the kernel in 2.1.21.
msdos is the filesystem used by DOS, Windows, and some OS/2 computers. msdos filenames can be no longer than 8 characters, followed by an
optional period and 3 character extension.
umsdos is an extended DOS filesystem used by Linux. It adds capability for long filenames, UID/GID, POSIX permissions, and special files
(devices, named pipes, etc.) under the DOS filesystem, without sacrificing compatibility with DOS.
vfat is an extended DOS filesystem used by Microsoft Windows95 and Windows NT. VFAT adds the capability to use long filenames under the
MSDOS filesystem.
proc is a pseudo-filesystem which is used as an interface to kernel data structures rather than reading and interpreting /dev/kmem. In
particular, its files do not take disk space. See proc(5).
iso9660
is a CD-ROM filesystem type conforming to the ISO 9660 standard.
High Sierra
Linux supports High Sierra, the precursor to the ISO 9660 standard for CD-ROM filesystems. It is automatically recognized
within the iso9660 filesystem support under Linux.
Rock Ridge
Linux also supports the System Use Sharing Protocol records specified by the Rock Ridge Interchange Protocol. They are used
to further describe the files in the iso9660 filesystem to a UNIX host, and provide information such as long filenames,
UID/GID, POSIX permissions, and devices. It is automatically recognized within the iso9660 filesystem support under Linux.
hpfs is the High Performance Filesystem, used in OS/2. This filesystem is read-only under Linux due to the lack of available
documentation.
sysv is an implementation of the SystemV/Coherent filesystem for Linux. It implements all of Xenix FS, SystemV/386 FS, and Coherent FS.
nfs is the network filesystem used to access disks located on remote computers.
smb is a network filesystem that supports the SMB protocol, used by Windows for Workgroups, Windows NT, and Lan Manager.
To use smb fs, you need a special mount program, which can be found in the ksmbfs package, found at
ftp://sunsite.unc.edu/pub/Linux/system/Filesystems/smbfs.
ncpfs is a network filesystem that supports the NCP protocol, used by Novell NetWare.
To use ncpfs, you need special programs, which can be found at ftp://linux01.gwdg.de/pub/ncpfs.
SEE ALSO proc(5), fsck(8), mkfs(8), mount(8)
2001-12-07 FILESYSTEMS(5)