memory usage, kernel_task and zstat

Moderators: jhartley, MSR734, nola

Wired memory measurements by zstat

Post by grahamperrin » Tue Apr 16, 2013 5:07 pm

zslg01 wrote:WIRED GOES NUTS AFTER 2 GB COPY TO ZFS POOL

Code: Select all
 v2012.09.23    148 threads        1 mount        17828 vnodes     20:39:41
____________________________________________________________________________
             KALLOC      KERNEL/MAPS        TOTAL         EQUITY
  WIRED    7494 KiB    1691 MiB/1699         1698 MiB      10.37%
  PEAK     9578 KiB    1691 MiB              1700 MiB
  VMPAGE        253 (IN)         83 (OUT)         83 (SYNC)         50 (MDS)



Is that nuts? Ten percent equity seems pleasantly low to me. I regularly see over thirty.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

An update to the question in Ask Different

Post by grahamperrin » Sat Apr 27, 2013 2:34 am

raattgift wrote:Why do you want to do that? …


Mac virtual memory: how to make OS X create swap (page) files as freely with a normal boot as it does with a safe boot (swapfile1 etc) is now edited and offering a bounty:

> Think beyond dynamic_pager alone. What causes the
> operating system to create a greater mass of external swap files when
> boot is safe? I want to experiment with this greater mass without safe boot.

The reasoning within the question there almost certainly lacks the level of detail that you'd like – sorry. Key points:

  • simply, I'd like to experiment
  • the greater mass of external swap files seems harmless (no harm to performance) when boot is safe.

Without safe boot: I don't know what causes a smaller mass, but I sense that the restraint of the operating system can be harmful to performance. (There's no shortage of space on the volume, the disk is fast enough, and so on … so why bother with restraint?)

The question in Ask Different is not directly related to ZEVO. But ZFS loves memory (usually much more wired with ZEVO Community Edition 1.1.1 than with HFS Plus) so I'm paying greater than usual attention to how a Mac uses memory …
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Previous

Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 0 guests

cron