Changes between Version 3 and Version 4 of jazz/12-06-02


Ignore:
Timestamp:
Jun 3, 2012, 11:40:52 AM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/12-06-02

    v3 v4  
    4343AIX vio ioo is a read ahead cache system to improve speed of transfers when doing sequential reads.
    4444}}}
     45  * [http://stackoverflow.com/questions/4888067/how-to-get-linux-kernel-page-size-programatically How to get linux kernel page size programatically]
     46{{{
     47jazz@jazzbook:~$ cat /proc/meminfo | grep Mapped
     48Mapped:            74764 kB
     49jazz@jazzbook:~$ cat /proc/vmstat | grep "nr_mapped"
     50nr_mapped 18691
     51jazz@jazzbook:~$ A=$(cat /proc/meminfo | grep Mapped | awk '{ print $2 }')
     52jazz@jazzbook:~$ B=$(cat /proc/vmstat | grep "nr_mapped" | awk '{ print $2 }')
     53jazz@jazzbook:~$ echo $(($A/$B))
     544
     55}}}
    4556  * [參考五] [http://www.linuxpinguin.de/2011/01/performance-increase-through-bigger-readahead-buffers/ Performance increase through bigger readahead buffers] - 以下示範是把預設的 RA 由 256 提升到 1024(注意是設定'''整顆硬碟''',而非特定磁區)
    4657{{{
     
    5768~$ sudo blockdev --setra 1024 /dev/sda
    5869}}}
     70 * 結論(4):'''可以使用支援[http://en.wikipedia.org/wiki/Extent_%28file_systems%29 Extent]的檔案系統,來預留較大的寫入區塊。'''
     71{{{
     72#!text
     73The following systems support extents:
     74
     75    ASM - Automatic Storage Management - Oracle's database-oriented filesystem.
     76    BFS - BeOS, Zeta and Haiku operating systems.
     77    Btrfs - GPL'd extent based file storage for Linux.
     78    Ext4 - Linux filesystem (when the configuration enables extents — the default in Linux since version 2.6.23).
     79    Files-11 - Digital Equipment Corporation (subsequently Hewlett-Packard) OpenVMS filesystem.
     80    HFS and HFS Plus - Hierarchical File System - Apple Macintosh filesystems.
     81    HPFS - High Performance File Syzstem - OS/2 and eComStation.
     82    JFS - Journaled File System - Used by AIX, OS/2/eComStation and Linux operating systems.
     83    Microsoft SQL Server - Versions 2000-2008 supports extents of up to 64KB [1].
     84    Multi-Programming Executive - Filesystem by Hewlett-Packard.
     85    NTFS - Microsoft's latest-generation file system [1]
     86    OCFS2 - Oracle Cluster File System - a shared disk file system for Linux.
     87    Reiser4 - Linux filesystem (in "extents" mode).
     88    SINTRAN III - File system used by early computer company Norsk Data.
     89    UDF - Universal Disk Format - Standard for optical media.
     90    VERITAS File System - Enabled via the pre-allocation API and CLI.
     91    XFS - SGI's second generation file system.[2]
     92}}}