Messages in this thread | | | Date | Thu, 21 Aug 2003 01:24:50 +0300 | Subject | buffer cache hash table size | From | Touko Korpela <> |
| |
I noticed following when telling kernel to use only 63.5 MB of total 64 MB memory. Buffer cache is four times smaller, while others remain the same. (In 2.6.0-test3-bk1 parsing of mem= has changed and different caches are used. There PID hash table shrinks to half while other caches remain same.) Motherboard is old K6/Pentium which only caches 63.5 of memory.
No memory size specified:
Memory: 62244k/65536k available (1365k kernel code, 2904k reserved, 333k data, 268k init, 0k highmem) Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
mem=65024k specified:
Memory: 61736k/65024k available (1365k kernel code, 2900k reserved, 333k data, 268k init, 0k highmem) Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |