The wired memory consumption control is not working for 2.0?

Developer discussions.

The wired memory consumption control is not working for 2.0?

Postby stevegy » Sat Jul 03, 2021 7:05 pm

The information on this Wiki page https://openzfsonosx.org/wiki/Performance may need to improve. I have installed the 2.0 on MacOS 11.4. But seems the /etc/zfs/zsysctl.conf is not an OOB configuration file. It is missing after the installation. I tried to follow this wiki page to reduce the memory consumption but failed. I wonder what the correct kstat parameters for the 2.0 release.
You can see the memory usage is now about 5G. I guess for a PC level ZFS 1G memory for ARC and cache is more reasonable.
And you can see from the screen shot there is something wrong of the arc_stat tool OOB.
Attachments
Screen Shot 2021-07-04 at 10.55.46 AM.png
Screen Shot 2021-07-04 at 10.55.46 AM.png (169.34 KiB) Viewed 14226 times
stevegy
 
Posts: 8
Joined: Mon May 17, 2021 7:00 am

Re: The wired memory consumption control is not working for

Postby lundman » Sun Jul 04, 2021 3:36 am

You can run "sysctl ktat" to list all the kstats there are, or indeed, "sysctl kstat | grep tunable" to see those you can change. There has been some
name updates so the wiki should probably be updated.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: The wired memory consumption control is not working for

Postby stevegy » Mon Jul 05, 2021 4:50 am

Thank you. But there are too many "tunable" items... I really cannot guess which one is the correct item. Any hints? :lol:
Attachments
Screen Shot 2021-07-05 at 8.49.41 PM.png
Screen Shot 2021-07-05 at 8.49.41 PM.png (384.98 KiB) Viewed 14190 times
stevegy
 
Posts: 8
Joined: Mon May 17, 2021 7:00 am

Re: The wired memory consumption control is not working for

Postby lundman » Wed Jul 07, 2021 11:32 pm

OH and the memory ones are all under spl, so check those as well. :) We have very similar kstat/kmem to Solaris/illumos, so if you find guides on those, they might give insight
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 12 guests