<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Memory on sigtar.com</title>
		<link>https://sigtar.com/tags/memory/</link>
		<description>Recent content in Memory on sigtar.com</description>
		<generator>Hugo</generator>
		<language>en-nz</language>
		
		
		
		
			<lastBuildDate>Mon, 26 Jul 2010 00:00:00 +1200</lastBuildDate>
		
			<atom:link href="https://sigtar.com/tags/memory/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>opensolaris - increase swap</title>
				<link>https://sigtar.com/2010/07/26/opensolaris-increase-swap/</link>
				<pubDate>Mon, 26 Jul 2010 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2010/07/26/opensolaris-increase-swap/</guid>
				<description>&lt;p&gt;I found this on opensolaris forums&amp;hellip;. A nice way to increase your swap without the need for a reboot.&lt;/p&gt;&#xA;&lt;p&gt;First check your current swap size and details;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;swap -lh&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;or&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zfs list&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then create a temp swap zfs store and delete and increase swap&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zfs create -V &lt;old size&gt; rpool/swp&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;swap -a /dev/zvol/dsk/rpool/swp&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;swap -d /dev/zvol/dsk/rpool/swap&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zfs destroy rpool/swap&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zfs create -V &lt;new size&gt; rpool/swap&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;swap -a /dev/zvol/dsk/rpool/swap&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;swap -d /dev/zvol/dsk/rpool/swp&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zfs destroy rpool/swp&lt;/strong&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>zfs - now has dedup!</title>
				<link>https://sigtar.com/2010/04/05/zfs-now-has-dedup/</link>
				<pubDate>Mon, 05 Apr 2010 00:00:00 +1200</pubDate>
				<guid>https://sigtar.com/2010/04/05/zfs-now-has-dedup/</guid>
				<description>&lt;p&gt;Cool. zfs as of version 21 has deduplication built in. And thats the good dedup - synchronous dedup. i.e. deduped on the fly!&lt;/p&gt;&#xA;&lt;p&gt;How easy is it to turn on? - very!&lt;/p&gt;&#xA;&lt;p&gt;Once you have upgraded your zpool to 21 or above you can run the following command at the pool level and deduplication will be over all your data from that point onwards.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;zpool set dedup=on tank&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;Done&lt;/p&gt;&#xA;&lt;p&gt;Note : Watch your performance, it will drop like a rock if you do not have enough ram for your dedup tables. Do some tests after enabling this feature.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Opensolaris - where has my memory gone?</title>
				<link>https://sigtar.com/2009/03/28/opensolaris-where-has-my-memory-gone/</link>
				<pubDate>Sat, 28 Mar 2009 00:00:00 +1300</pubDate>
				<guid>https://sigtar.com/2009/03/28/opensolaris-where-has-my-memory-gone/</guid>
				<description>&lt;p&gt;Use this command in 2008.11 to get details on where your memory is currently being used&amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;echo ::memstat | pfexec mdb -k&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Page Summary                Pages                MB  %Tot &amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;     &amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;-  &amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;&amp;mdash;-  &amp;mdash;- Kernel                     263992              1031   34% ZFS File Data               91917               359   12% Anon                       376867              1472   48% Exec and libs               11484                44    1% Page cache                   3387                13    0% Free (cachelist)             9766                38    1% Free (freelist)             24807                96    3%&lt;/em&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;em&gt;Total                      782220              3055 Physical                   782219              3055&lt;/em&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
