aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/proc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r--Documentation/filesystems/proc.txt76
1 files changed, 35 insertions, 41 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt
index 394eb2cc1c39..b488edad743c 100644
--- a/Documentation/filesystems/proc.txt
+++ b/Documentation/filesystems/proc.txt
@@ -923,45 +923,44 @@ CPUs.
923The "procs_blocked" line gives the number of processes currently blocked, 923The "procs_blocked" line gives the number of processes currently blocked,
924waiting for I/O to complete. 924waiting for I/O to complete.
925 925
926
9261.9 Ext4 file system parameters 9271.9 Ext4 file system parameters
927------------------------------ 928------------------------------
928Ext4 file system have one directory per partition under /proc/fs/ext4/
929# ls /proc/fs/ext4/hdc/
930group_prealloc max_to_scan mb_groups mb_history min_to_scan order2_req
931stats stream_req
932
933mb_groups:
934This file gives the details of multiblock allocator buddy cache of free blocks
935
936mb_history:
937Multiblock allocation history.
938
939stats:
940This file indicate whether the multiblock allocator should start collecting
941statistics. The statistics are shown during unmount
942
943group_prealloc:
944The multiblock allocator normalize the block allocation request to
945group_prealloc filesystem blocks if we don't have strip value set.
946The stripe value can be specified at mount time or during mke2fs.
947
948max_to_scan:
949How long multiblock allocator can look for a best extent (in found extents)
950 929
951min_to_scan: 930Information about mounted ext4 file systems can be found in
952How long multiblock allocator must look for a best extent 931/proc/fs/ext4. Each mounted filesystem will have a directory in
932/proc/fs/ext4 based on its device name (i.e., /proc/fs/ext4/hdc or
933/proc/fs/ext4/dm-0). The files in each per-device directory are shown
934in Table 1-10, below.
953 935
954order2_req: 936Table 1-10: Files in /proc/fs/ext4/<devname>
955Multiblock allocator use 2^N search using buddies only for requests greater 937..............................................................................
956than or equal to order2_req. The request size is specfied in file system 938 File Content
957blocks. A value of 2 indicate only if the requests are greater than or equal 939 mb_groups details of multiblock allocator buddy cache of free blocks
958to 4 blocks. 940 mb_history multiblock allocation history
941 stats controls whether the multiblock allocator should start
942 collecting statistics, which are shown during the unmount
943 group_prealloc the multiblock allocator will round up allocation
944 requests to a multiple of this tuning parameter if the
945 stripe size is not set in the ext4 superblock
946 max_to_scan The maximum number of extents the multiblock allocator
947 will search to find the best extent
948 min_to_scan The minimum number of extents the multiblock allocator
949 will search to find the best extent
950 order2_req Tuning parameter which controls the minimum size for
951 requests (as a power of 2) where the buddy cache is
952 used
953 stream_req Files which have fewer blocks than this tunable
954 parameter will have their blocks allocated out of a
955 block group specific preallocation pool, so that small
956 files are packed closely together. Each large file
957 will have its blocks allocated out of its own unique
958 preallocation pool.
959inode_readahead Tuning parameter which controls the maximum number of
960 inode table blocks that ext4's inode table readahead
961 algorithm will pre-read into the buffer cache
962..............................................................................
959 963
960stream_req:
961Files smaller than stream_req are served by the stream allocator, whose
962purpose is to pack requests as close each to other as possible to
963produce smooth I/O traffic. Avalue of 16 indicate that file smaller than 16
964filesystem block size will use group based preallocation.
965 964
966------------------------------------------------------------------------------ 965------------------------------------------------------------------------------
967Summary 966Summary
@@ -1332,13 +1331,6 @@ determine whether or not they are still functioning properly.
1332Because the NMI watchdog shares registers with oprofile, by disabling the NMI 1331Because the NMI watchdog shares registers with oprofile, by disabling the NMI
1333watchdog, oprofile may have more registers to utilize. 1332watchdog, oprofile may have more registers to utilize.
1334 1333
1335maps_protect
1336------------
1337
1338Enables/Disables the protection of the per-process proc entries "maps" and
1339"smaps". When enabled, the contents of these files are visible only to
1340readers that are allowed to ptrace() the given process.
1341
1342msgmni 1334msgmni
1343------ 1335------
1344 1336
@@ -2413,6 +2405,8 @@ The following 4 memory types are supported:
2413 - (bit 1) anonymous shared memory 2405 - (bit 1) anonymous shared memory
2414 - (bit 2) file-backed private memory 2406 - (bit 2) file-backed private memory
2415 - (bit 3) file-backed shared memory 2407 - (bit 3) file-backed shared memory
2408 - (bit 4) ELF header pages in file-backed private memory areas (it is
2409 effective only if the bit 2 is cleared)
2416 2410
2417 Note that MMIO pages such as frame buffer are never dumped and vDSO pages 2411 Note that MMIO pages such as frame buffer are never dumped and vDSO pages
2418 are always dumped regardless of the bitmask status. 2412 are always dumped regardless of the bitmask status.