#6178: RAM 1GB of 4GB reported used after boot ------------------------------+--------------------------------------------- Reporter: michael.weirauch | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Keywords: | Blockedby: Patch: 0 | Platform: x86 Blocking: | ------------------------------+--------------------------------------------- r37154 trunk gcc4h (ThinkPad T500 NK13AGE; 4GB RAM) System reports more then 1GB RAM used in userland. ('''AboutSystem''', '''sysinfo''') '''sysinfo''': {{{ Kernel name: kernel_x86 built on: Jun 16 2010 17:10:09 version 0x1 2 Intel Core 2, revision 4676 running at 2792MHz (ID: 0x00000000 0x00000000) CPU #0: "Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz" Type 0, family 6, model 23, stepping 6, features 0xbfebfbff FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CFLUSH DS ACPI MMX FXSTR SSE SSE2 SS HTT TM PBE Extended Intel: 0x0008e3fd SSE3 DTES64 MONITOR DS-CPL VMX SMX EST TM2 SSSE3 CX16 xTPR PDCM SSE4.1 Extended AMD: type 0, family 0, model 0, stepping 0, features 0x20100000 NX 64 Power Management Features: L2 Data cache fully associative, 1 lines/tag, 64 bytes/line L2 cache: 6144 KB, 16-way set associative, 0 lines/tag, 64 bytes/line Inst TLB: 2M-bytes pages, 4-way set associative, 8 entries OR 4M, 4-way, 4 entries Inst TLB: 4K-bytes pages, 4-way set associative, 128 entries Data TLB: 4M-byte pages, 4-way set associative, 32 entries 64-byte Prefetching L1 Data TLB: 4K-bytes pages, 4-way set associative, 16 entries L1 Data TLB: 4M-bytes pages, 4-way set associative, 16 entries L2 cache: 6144 KB, 24-way set associative, 64 bytes/line L1 inst cache: 32 KB, 8-way set associative, 64 bytes/line Data TLB: 4K-bytes pages, 4-way set associative, 256 entries L1 data cache: 32 KB, 8-way set associative, 64 bytes/line CPU #1: "Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz" Type 0, family 6, model 23, stepping 6, features 0xbfebfbff FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CFLUSH DS ACPI MMX FXSTR SSE SSE2 SS HTT TM PBE Extended Intel: 0x0008e3fd SSE3 DTES64 MONITOR DS-CPL VMX SMX EST TM2 SSSE3 CX16 xTPR PDCM SSE4.1 Extended AMD: type 0, family 0, model 0, stepping 0, features 0x20100000 NX 64 Power Management Features: L2 Inst cache fully associative, 1 lines/tag, 64 bytes/line L2 cache: 6144 KB, 16-way set associative, 0 lines/tag, 64 bytes/line Inst TLB: 2M-bytes pages, 4-way set associative, 8 entries OR 4M, 4-way, 4 entries Inst TLB: 4K-bytes pages, 4-way set associative, 128 entries Data TLB: 4M-byte pages, 4-way set associative, 32 entries 64-byte Prefetching L1 Data TLB: 4K-bytes pages, 4-way set associative, 16 entries L1 Data TLB: 4M-bytes pages, 4-way set associative, 16 entries L2 cache: 6144 KB, 24-way set associative, 64 bytes/line L1 inst cache: 32 KB, 8-way set associative, 64 bytes/line Data TLB: 4K-bytes pages, 4-way set associative, 256 entries L1 data cache: 32 KB, 8-way set associative, 64 bytes/line 3028275200 bytes free (used/max 1193730048 / 4222005248) (cached 166764544) 61897 semaphores free (used/max 3639 / 65536) 3738 ports free (used/max 358 / 4096) 3814 threads free (used/max 282 / 4096) 2025 teams free (used/max 23 / 2048) }}} '''avail, page_stats, swap''': {{{ 2010-06-16 19:21:58 KERN: kdebug> availAvailable memory: 2937016320/3214311424 bytes 2010-06-16 19:21:58 KERN: kdebug> page?[1D[1D_statspage stats: 2010-06-16 19:21:58 KERN: total: 784838 2010-06-16 19:21:58 KERN: active: 13517 (busy: 0) 2010-06-16 19:21:58 KERN: inactive: 32189 (busy: 0) 2010-06-16 19:21:58 KERN: cached: 13463 (busy: 0) 2010-06-16 19:21:58 KERN: unused: 142 (busy: 0) 2010-06-16 19:21:58 KERN: wired: 24105 (busy: 0) 2010-06-16 19:21:58 KERN: modified: 0 (busy: 0) 2010-06-16 19:21:58 KERN: free: 578350 2010-06-16 19:21:58 KERN: clear: 123072 2010-06-16 19:21:58 KERN: unreserved free pages: 701422 2010-06-16 19:21:58 KERN: unsatisfied page reservations: 0 2010-06-16 19:21:58 KERN: mapped pages: 43925 2010-06-16 19:21:58 KERN: longest free pages run: 579668 pages (at 204877) 2010-06-16 19:21:58 KERN: longest free/cached pages run: 579668 pages (at 204877) 2010-06-16 19:21:58 KERN: waiting threads: 2010-06-16 19:21:58 KERN: 2010-06-16 19:21:58 KERN: free queue: 0x8015b4b0, count = 578350 2010-06-16 19:21:58 KERN: clear queue: 0x8015b4c4, count = 123072 2010-06-16 19:21:58 KERN: modified queue: 0x8015b488, count = 0 (0 temporary, 0 swappable, inactive: 0) 2010-06-16 19:21:58 KERN: active queue: 0x8015b460, count = 13517 2010-06-16 19:21:58 KERN: inactive queue: 0x8015b474, count = 32189 2010-06-16 19:21:58 KERN: cached queue: 0x8015b49c, count = 13463 2010-06-16 19:21:58 KERN: kdebug> swapswap files: 2010-06-16 19:21:58 KERN: 2010-06-16 19:21:58 KERN: swap space in pages: 2010-06-16 19:21:58 KERN: total: 0 2010-06-16 19:21:58 KERN: available: 0 2010-06-16 19:21:58 KERN: reserved: 0 2010-06-16 19:21:58 KERN: used: 0 2010-06-16 19:21:58 KERN: free: 0 }}} -- Ticket URL: <http://dev.haiku-os.org/ticket/6178> Haiku <http://dev.haiku-os.org> Haiku - the operating system.