Any notes or papers worth a look about Illumos memory management (until you write something)? Having more experience with other systems than with Illumos, it caught me off guard the first time I encountered the swap = DRAM requirement (on a system with a low ratio of storage to RAM, oops).
On Wednesday, December 30, 2015, Nahum Shalman <[email protected]> wrote: > Yes. The swap zvol gets created at boot time to match the size of DRAM > because that's how SmartOS expects to run. > When you increase the DRAM you should increase the swap zvol accordingly. > > -Nahum > > On 12/30/2015 11:21 AM, Humberto Ramirez wrote: > > Nahum, is this something you would recommend every time the host memory > changes/increases? > > > > > On Wed, Dec 30, 2015 at 9:16 AM, Nahum Shalman <[email protected] > <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote: > >> On 12/30/2015 05:19 AM, Matthias Götzke wrote: >> >> We upgraded the RAM to 128GB now but this problem will obviously happen >> again when we cannot limit the ARC. I am considering starting a few dummy >> kvm’s with reserved RAM as buffers. >> >> Bingo! >> >> You probably neglected to increase the size of the swap volume. That >> explains your symptoms. >> QEMU will only be able to lock down memory pages if there's swap space to >> provide a backing. It's complicated and on the surface seems a bit silly, >> but the good news is that all you need to do is get the system to see 128GB >> of available swap space. >> You can do that with or without a reboot depending on your requirements. >> >> Since you were considering a reboot to adjust ARC max, let's do it the >> simple way with two reboots: >> >> 1. Reboot into noinstall mode. >> 2. "zpool import zones" >> 3. "zfs set volsized=128G zones/swap" >> 4. "zpool export zones" >> 5. "reboot" >> 6. Bask in your ability to boot more KVM VMs. >> >> -Nahum >> > > > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/27750020-92655a4d> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > -- *John Burwell* Systems Administrator 16945 Northchase Drive, Suite 1610, Houston, Texas 77060 *M* 281-874-2110 *D* 281-875-7997 *C* 713-269-8605 crystaphase.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
